]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update install.texi latest GCC version known to work.
[thirdparty/glibc.git] / ChangeLog
1 2017-01-18 Joseph Myers <joseph@codesourcery.com>
2
3 * manual/install.texi (Tools for Compilation): Update GCC version
4 known to work to build glibc.
5 * INSTALL: Regenerated.
6
7 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8
9 [BZ #21006]
10 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
11
12 2017-01-16 Joseph Myers <joseph@codesourcery.com>
13
14 [BZ #21045]
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
17 to __sigprocmask.
18
19 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
20
21 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
22 wrap-around.
23 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
24
25 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
26
27 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28
29 * NEWS: Fix typo.
30
31 2016-01-13 Torvald Riegel <triegel@redhat.com>
32
33 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
34 barriers and comments.
35 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
36 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38
39 2016-01-13 Torvald Riegel <triegel@redhat.com>
40
41 [BZ #19402]
42 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
43 mutexes.
44
45 2016-01-13 Torvald Riegel <triegel@redhat.com>
46
47 [BZ #20985]
48 * nptl/Makefile: Adapt.
49 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
50 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
51 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
52 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
53 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
54 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
55 lll_robust* functions and adapt.
56 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
57 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
58 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
59 __lll_robust_timedlock, __lll_robust_unlock): Remove.
60 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
61 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
62 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
63 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
64 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
65 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
66 __lll_robust_timedlock, __lll_robust_unlock): Remove.
67 * nptl/lowlevelrobustlock.c: Remove file.
68 * nptl/lowlevelrobustlock.sym: Likewise.
69 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
70 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
71
72 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
75
76 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
77
78 * po/cs.po: Merge translations from the Translation Project.
79 * po/de.po: Likewise.
80 * po/pl.po: Likewise.
81 * po/ru.po: Likewise.
82 * po/tr.po: Likewise.
83 * po/uk.po: Likewise.
84 * po/vi.po: Likewise.
85 * po/zh_CN.po: Likewise.
86
87 2017-01-12 Joseph Myers <joseph@codesourcery.com>
88
89 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
90
91 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
92 object.
93
94 2017-01-11 Joseph Myers <joseph@codesourcery.com>
95
96 [BZ #16458]
97 * bits/uintn-identity.h: New file.
98 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
99 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
100 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
101 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
102 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
103 * string/endian.h: Include <bits/uintn-identity.h>.
104 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
105 __uint16_identity.
106 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
107 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
108 __uint32_identity.
109 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
110 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
111 __uint64_identity.
112 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
113 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
114 __uint16_identity.
115 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
116 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
117 __uint32_identity.
118 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
119 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
120 __uint64_identity.
121 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
122 * string/Makefile (headers): Add bits/uintn-identity.h.
123 (tests): Add test-endian-types.
124 * string/test-endian-types.c: New file.
125 * inet/Makefile (tests): Add test-hnto-types.
126 * inet/test-hnto-types.c: New file.
127
128 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
129
130 * po/be.po: Update from Translation Project.
131 * po/bg.po: Likewise.
132 * po/ca.po: Likewise.
133 * po/cs.po: Likewise.
134 * po/da.po: Likewise.
135 * po/de.po: Likewise.
136 * po/el.po: Likewise.
137 * po/eo.po: Likewise.
138 * po/es.po: Likewise.
139 * po/fi.po: Likewise.
140 * po/fr.po: Likewise.
141 * po/gl.po: Likewise.
142 * po/hr.po: Likewise.
143 * po/hu.po: Likewise.
144 * po/ia.po: Likewise.
145 * po/id.po: Likewise.
146 * po/it.po: Likewise.
147 * po/ja.po: Likewise.
148 * po/ko.po: Likewise.
149 * po/lt.po: Likewise.
150 * po/nb.po: Likewise.
151 * po/nl.po: Likewise.
152 * po/pl.po: Likewise.
153 * po/pt_BR.po: Likewise.
154 * po/ru.po: Likewise.
155 * po/rw.po: Likewise.
156 * po/sk.po: Likewise.
157 * po/sl.po: Likewise.
158 * po/sv.po: Likewise.
159 * po/tr.po: Likewise.
160 * po/uk.po: Likewise.
161 * po/vi.po: Likewise.
162 * po/zh_CN.po: Likewise.
163 * po/zh_TW.po: Likewise.
164
165 2017-01-11 Joseph Myers <joseph@codesourcery.com>
166
167 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
168 -Wformat-truncation instead of -Wformat-length.
169 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
170 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
171 GCC 7.
172 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
173 (do_test): Ignore -Wformat-truncation for GCC 7.
174
175 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
176 buffer used to print long int value.
177
178 * elf/sotruss-lib.c (init): Increase space allocated for pid by
179 one byte. Print it with %ld, cast to long int.
180
181 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
182
183 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
184 (re.fullmatch, subprocess.run): Likewise.
185
186 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
187
188 * po/libc.pot: Regenerate.
189
190 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
191
192 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
193 (min_strlen): Likewise.
194 (disable_tunable): Likewise.
195 (maybe_disable_malloc_check): Rename to
196 maybe_enable_malloc_check.
197 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
198 if /etc/suid-debug file exists.
199 (__tunables_init): Update caller.
200 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
201 secure.
202
203 2016-01-10 Torvald Riegel <triegel@redhat.com>
204
205 * nptl/DESIGN-rwlock.txt: Remove.
206 * nptl/lowlevelrwlock.sym: Remove.
207 * nptl/Makefile: Add new tests.
208 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
209 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
210 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
211 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
212 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
213 PTHREAD_RWLOCK_FUTEX_USED): New.
214 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
215 implementation.
216 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
217 (__pthread_rwlock_rdlock): Adapt.
218 * nptl/pthread_rwlock_timedrdlock.c
219 (pthread_rwlock_timedrdlock): Adapt.
220 * nptl/pthread_rwlock_timedwrlock.c
221 (pthread_rwlock_timedwrlock): Adapt.
222 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
223 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
224 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
225 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
226 (__pthread_rwlock_wrlock): Adapt.
227 * nptl/tst-rwlock10.c: Adapt.
228 * nptl/tst-rwlock11.c: Adapt.
229 * nptl/tst-rwlock17.c: New file.
230 * nptl/tst-rwlock18.c: New file.
231 * nptl/tst-rwlock19.c: New file.
232 * nptl/tst-rwlock2b.c: New file.
233 * nptl/tst-rwlock8.c: Adapt.
234 * nptl/tst-rwlock9.c: Adapt.
235 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
236 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
237 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
238 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
239 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
240 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
241 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
242 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
243 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
244 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
245 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
246 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
247 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
248 (pthread_rwlock_t): Adapt.
249 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
250 (pthread_rwlock_t): Adapt.
251 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
252 * nptl/nptl-printers.py (): Adapt.
253 * nptl/nptl_lock_constants.pysym: Adapt.
254 * nptl/test-rwlock-printers.py: Adapt.
255 * nptl/test-rwlockattr-printers.c: Adapt.
256 * nptl/test-rwlockattr-printers.py: Adapt.
257
258 2017-01-10 Joseph Myers <joseph@codesourcery.com>
259
260 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
261 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
262 (fma_test_data): Likewise.
263 (hypot_test_data): Likewise.
264 (log1p_test_data): Likewise.
265 (modf_test_data): Likewise.
266 (pow_test_data): Likewise.
267 (remainder_test_data): Likewise.
268 (remquo_test_data): Likewise.
269 (scalb_test_data): Likewise.
270 (scalbn_test_data): Likewise.
271 (scalbln_test_data): Likewise.
272 * math/gen-libm-test.pl (parse_args): Transform
273 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
274 on the rounding mode.
275
276 2017-01-09 Joseph Myers <joseph@codesourcery.com>
277
278 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
279 xfail-rounding:ibm128-libgcc automatically to tests overflowing
280 and those that can underflow to zero.
281 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
282 add others.
283 * math/auto-libm-test-out: Regenerated.
284
285 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
286 supported.
287 (feholdexcept_tests): Skip tests requiring exceptions or rounding
288 modes support if not supported.
289
290 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
291 Add libc.so PLT entry.
292 (__tls_get_addr): Make ld.so PLT entry optional.
293
294 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
295
296 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
297 * string/bits/string3.h: ... here.
298
299 2017-01-05 Joseph Myers <joseph@codesourcery.com>
300
301 [BZ #21028]
302 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
303 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
304 if EXCEPTION_TESTS returns false.
305
306 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
307
308 [BZ #20558]
309 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
310 strings_fortified.h.
311 [__USE_MISC] (bzero): Likewise.
312 [__USE_MISC] (explicit_bzero): Likewise.
313 * string/strings.h: Include strings_fortified.h.
314 * string/Makefile (headers): Add strings_fortified.h.
315 * string/bits/strings_fortified.h: New file.
316 * include/bits/strings_fortified.h: Likewise.
317
318 2017-01-05 Joseph Myers <joseph@codesourcery.com>
319
320 * elf/tst-tls13.c (TIMEOUT): Remove.
321 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
322 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
323 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
324 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
325 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
326
327 [BZ #21026]
328 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
329 (readahead): New syscall entry.
330
331 2017-01-04 Joseph Myers <joseph@codesourcery.com>
332
333 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
334 around tests of strncat with large sizes.
335
336 * malloc/tst-malloc.c: Include <libc-internal.h>.
337 (do_test): Disable -Walloc-size-larger-than= around tests of
338 malloc with negative sizes.
339 * malloc/tst-mcheck.c: Include <libc-internal.h>.
340 (do_test): Disable -Walloc-size-larger-than= around tests of
341 malloc and realloc with negative sizes.
342 * malloc/tst-realloc.c: Include <libc-internal.h>.
343 (do_test): Disable -Walloc-size-larger-than= around tests of
344 realloc with negative sizes.
345
346 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
347 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
348 allowed to 16 ulps.
349 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
350 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
351 * math/auto-libm-test-out: Regenerated.
352
353 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
354
355 * math/Makefile (libm-calls): Move wrappers...
356 (libm-compat-call-auto): Here.
357 (libm-routines): Add items in libm-compat-calls-auto.
358 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
359 the filenames of the wrappers that have been renamed.
360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
362
363 * math/w_acos.c: Add _compat suffix to filename.
364 * math/w_acosf.c: Likewise.
365 * math/w_acosh.c: Likewise.
366 * math/w_acoshf.c: Likewise.
367 * math/w_acoshl.c: Likewise.
368 * math/w_acosl.c: Likewise.
369 * math/w_asin.c: Likewise.
370 * math/w_asinf.c: Likewise.
371 * math/w_asinl.c: Likewise.
372 * math/w_atan2.c: Likewise.
373 * math/w_atan2f.c: Likewise.
374 * math/w_atan2l.c: Likewise.
375 * math/w_atanh.c: Likewise.
376 * math/w_atanhf.c: Likewise.
377 * math/w_atanhl.c: Likewise.
378 * math/w_cosh.c: Likewise.
379 * math/w_coshf.c: Likewise.
380 * math/w_coshl.c: Likewise.
381 * math/w_exp10.c: Likewise.
382 * math/w_exp10f.c: Likewise.
383 * math/w_exp10l.c: Likewise.
384 * math/w_exp2.c: Likewise.
385 * math/w_exp2f.c: Likewise.
386 * math/w_exp2l.c: Likewise.
387 * math/w_fmod.c: Likewise.
388 * math/w_fmodf.c: Likewise.
389 * math/w_fmodl.c: Likewise.
390 * math/w_hypot.c: Likewise.
391 * math/w_hypotf.c: Likewise.
392 * math/w_hypotl.c: Likewise.
393 * math/w_j0.c: Likewise.
394 * math/w_j0f.c: Likewise.
395 * math/w_j0l.c: Likewise.
396 * math/w_j1.c: Likewise.
397 * math/w_j1f.c: Likewise.
398 * math/w_j1l.c: Likewise.
399 * math/w_jn.c: Likewise.
400 * math/w_jnf.c: Likewise.
401 * math/w_jnl.c: Likewise.
402 * math/w_log10.c: Likewise.
403 * math/w_log10f.c: Likewise.
404 * math/w_log10l.c: Likewise.
405 * math/w_log2.c: Likewise.
406 * math/w_log2f.c: Likewise.
407 * math/w_log2l.c: Likewise.
408 * math/w_log.c: Likewise.
409 * math/w_logf.c: Likewise.
410 * math/w_logl.c: Likewise.
411 * math/w_pow.c: Likewise.
412 * math/w_powf.c: Likewise.
413 * math/w_powl.c: Likewise.
414 * math/w_remainder.c: Likewise.
415 * math/w_remainderf.c: Likewise.
416 * math/w_remainderl.c: Likewise.
417 * math/w_scalb.c: Likewise.
418 * math/w_scalbf.c: Likewise.
419 * math/w_scalbl.c: Likewise.
420 * math/w_sinh.c: Likewise.
421 * math/w_sinhf.c: Likewise.
422 * math/w_sinhl.c: Likewise.
423 * math/w_sqrt.c: Likewise.
424 * math/w_sqrtf.c: Likewise.
425 * math/w_sqrtl.c: Likewise.
426 * math/w_tgamma.c: Likewise.
427 * math/w_tgammaf.c: Likewise.
428 * math/w_tgammal.c: Likewise.
429
430 * math/w_acos_compat.c: New file copied from above and
431 adjusted for new #includes path
432 * math/w_acosf_compat.c: Likewise.
433 * math/w_acosh_compat.c: Likewise.
434 * math/w_acoshf_compat.c: Likewise.
435 * math/w_acoshl_compat.c: Likewise.
436 * math/w_acosl_compat.c: Likewise.
437 * math/w_asin_compat.c: Likewise.
438 * math/w_asinf_compat.c: Likewise.
439 * math/w_asinl_compat.c: Likewise.
440 * math/w_atan2_compat.c: Likewise.
441 * math/w_atan2f_compat.c: Likewise.
442 * math/w_atan2l_compat.c: Likewise.
443 * math/w_atanh_compat.c: Likewise.
444 * math/w_atanhf_compat.c: Likewise.
445 * math/w_atanhl_compat.c: Likewise.
446 * math/w_cosh_compat.c: Likewise.
447 * math/w_coshf_compat.c: Likewise.
448 * math/w_coshl_compat.c: Likewise.
449 * math/w_exp10_compat.c: Likewise.
450 * math/w_exp10f_compat.c: Likewise.
451 * math/w_exp10l_compat.c: Likewise.
452 * math/w_exp2_compat.c: Likewise.
453 * math/w_exp2f_compat.c: Likewise.
454 * math/w_exp2l_compat.c: Likewise.
455 * math/w_fmod_compat.c: Likewise.
456 * math/w_fmodf_compat.c: Likewise.
457 * math/w_fmodl_compat.c: Likewise.
458 * math/w_hypot_compat.c: Likewise.
459 * math/w_hypotf_compat.c: Likewise.
460 * math/w_hypotl_compat.c: Likewise.
461 * math/w_j0_compat.c: Likewise.
462 * math/w_j0f_compat.c: Likewise.
463 * math/w_j0l_compat.c: Likewise.
464 * math/w_j1_compat.c: Likewise.
465 * math/w_j1f_compat.c: Likewise.
466 * math/w_j1l_compat.c: Likewise.
467 * math/w_jn_compat.c: Likewise.
468 * math/w_jnf_compat.c: Likewise.
469 * math/w_jnl_compat.c: Likewise.
470 * math/w_log10_compat.c: Likewise.
471 * math/w_log10f_compat.c: Likewise.
472 * math/w_log10l_compat.c: Likewise.
473 * math/w_log2_compat.c: Likewise.
474 * math/w_log2f_compat.c: Likewise.
475 * math/w_log2l_compat.c: Likewise.
476 * math/w_log_compat.c: Likewise.
477 * math/w_logf_compat.c: Likewise.
478 * math/w_logl_compat.c: Likewise.
479 * math/w_pow_compat.c: Likewise.
480 * math/w_powf_compat.c: Likewise.
481 * math/w_powl_compat.c: Likewise.
482 * math/w_remainder_compat.c: Likewise.
483 * math/w_remainderf_compat.c: Likewise.
484 * math/w_remainderl_compat.c: Likewise.
485 * math/w_scalb_compat.c: Likewise.
486 * math/w_scalbf_compat.c: Likewise.
487 * math/w_scalbl_compat.c: Likewise.
488 * math/w_sinh_compat.c: Likewise.
489 * math/w_sinhf_compat.c: Likewise.
490 * math/w_sinhl_compat.c: Likewise.
491 * math/w_sqrt_compat.c: Likewise.
492 * math/w_sqrtf_compat.c: Likewise.
493 * math/w_sqrtl_compat.c: Likewise.
494 * math/w_tgamma_compat.c: Likewise.
495 * math/w_tgammaf_compat.c: Likewise.
496 * math/w_tgammal_compat.c: Likewise.
497
498 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
499 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
500 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
501 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
502 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
503 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
504 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
505 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
506 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
507 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
508 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
509 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
510 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
511 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
512 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
513 * sysdeps/ia64/fpu/w_powl.c: Likewise.
514 * sysdeps/ia64/fpu/w_powf.c: Likewise.
515 * sysdeps/ia64/fpu/w_pow.c: Likewise.
516 * sysdeps/ia64/fpu/w_logl.c: Likewise.
517 * sysdeps/ia64/fpu/w_logf.c: Likewise.
518 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
519 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
520 * sysdeps/ia64/fpu/w_log2.c: Likewise.
521 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
522 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
523 * sysdeps/ia64/fpu/w_log10.c: Likewise.
524 * sysdeps/ia64/fpu/w_log.c: Likewise.
525 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
526 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
527 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
528 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
529 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
530 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
531 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
532 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
533 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
534 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
535 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
536 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
537 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
538 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
539 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
540 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
541 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
542 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
543 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
544 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
545 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
546 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
547 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
548 * sysdeps/ia64/fpu/w_asin.c: Likewise.
549 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
550 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
551 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
552 * sysdeps/ia64/fpu/w_acos.c: Likewise.
553 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
554 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
555 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
556 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
557 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
558 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
559 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
560 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
561 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
562 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
563 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
564 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
565 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
566 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
567 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
568 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
569 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
570 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
571 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
572 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
573 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
574 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
575 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
576 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
577 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
578 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
579 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
580 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
581 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
582 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
583 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
584 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
585 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
586 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
587 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
588 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
589 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
590 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
591 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
592 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
593 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
594 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
595 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
596 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
597 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
599 Likewise.
600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
601 Likewise.
602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
604 Likewise.
605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
606 Likewise.
607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
610 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
612 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
613 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
618 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
620 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
621 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
622
623 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
624 and adjusted for new #includes path
625 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
626 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
627 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
628 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
629 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
630 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
631 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
632 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
633 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
634 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
635 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
636 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
637 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
638 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
639 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
640 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
641 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
642 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
643 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
644 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
645 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
646 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
647 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
648 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
649 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
650 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
651 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
652 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
653 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
654 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
655 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
656 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
657 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
658 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
659 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
660 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
661 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
662 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
663 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
664 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
665 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
666 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
667 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
668 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
669 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
670 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
671 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
672 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
673 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
674 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
675 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
676 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
677 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
678 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
679 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
680 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
681 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
682 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
683 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
684 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
685 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
686 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
687 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
688 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
689 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
690 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
691 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
692 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
693 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
694 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
695 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
696 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
697 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
698 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
699 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
700 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
701 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
702 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
703 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
704 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
705 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
706 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
707 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
708 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
709 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
710 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
711 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
712 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
713 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
714 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
715 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
716 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
717 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
718 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
719 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
720 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
721 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
722 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
723 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
725 Likewise.
726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
727 Likewise.
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
729 Likewise.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
731 Likewise.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
733 Likewise.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
735 Likewise.
736 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
738 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
740 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
741 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
743 Likewise.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
745 Likewise.
746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
747 Likewise.
748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
749 Likewise.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
752 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
753 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
754
755 2017-01-04 Joseph Myers <joseph@codesourcery.com>
756
757 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
758 __jmp_buf_internal_tag.
759
760 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
761 preserve NaN payload if [__mips_nan2008].
762 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
763
764 [BZ #21022]
765 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
766
767 2017-01-03 Joseph Myers <joseph@codesourcery.com>
768
769 * sysdeps/i386/fpu/libm-test-ulps: Update.
770
771 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
772
773 * sysdeps/ia64/strcat.c: Remove file.
774 * sysdeps/powerpc/strcat.c: Likewise.
775 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
776 C implementation.
777 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
778 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
779
780 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
781 Steven Munroe <sjmunroe@us.ibm.com>
782 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
783
784 [BZ #20822]
785 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
786 (__lll_lock_elision): Access adapt_count via C11 atomics.
787 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
788 (__lll_trylock_elision): Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
790 (__lll_unlock_elision): Update adapt_count variable inside the
791 critical section using C11 atomics.
792
793 2017-01-03 Joseph Myers <joseph@codesourcery.com>
794
795 * math/test-fenvinline.c (do_test): Disable tests of raised
796 exceptions if !EXCEPTION_TESTS (FLOAT).
797
798 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
799
800 [BZ #19390]
801 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
802 maximum string size.
803 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
804 in pointer addition.
805 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
806 Likewise.
807
808 2017-01-03 Joseph Myers <joseph@codesourcery.com>
809
810 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
811 passed to tst-ldconfig-X.sh.
812
813 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
814
815 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
816
817 2017-01-02 Joseph Myers <joseph@codesourcery.com>
818
819 [BZ #21019]
820 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
821 New syscall entry.
822 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
823 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
824 lseek.
825
826 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
827 power4 glibc for powerpc-linux-gnu.
828
829 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
830
831 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
832 semctl.
833
834 2017-01-02 Joseph Myers <joseph@codesourcery.com>
835
836 * math/test-nearbyint-except.c: Include <stdbool.h>.
837 (any_supported): New variable.
838 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
839 set any_supported.
840 (do_test): Return 77 if no floating-point type supported
841 exceptions.
842
843 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
844 condition on [__mips_hard_float].
845
846 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
847
848 [BZ #21014]
849 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
850 in pointer addition.
851 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
852
853 2017-01-02 Torvald Riegel <triegel@redhat.com>
854
855 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
856 new condvar.
857
858 2017-01-02 Joseph Myers <joseph@codesourcery.com>
859
860 * scripts/build-many-glibcs.py (Context.checkout): Default
861 binutils version to 2.28 branch.
862
863 2017-01-01 Florian Weimer <fweimer@redhat.com>
864
865 * support/support_format_netent.c (support_format_netent): Work
866 around alpha struct netent definition difference.
867
868 2017-01-01 Florian Weimer <fweimer@redhat.com>
869
870 * support/xwrite.c (xwrite): Use %td for pointer difference.
871
872 2017-01-01 Florian Weimer <fweimer@redhat.com>
873
874 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
875 have-tunables only.
876 (tests-static): Add tst-malloc-usable-static-tunables for
877 have-tunables only.
878
879 2017-01-01 Joseph Myers <joseph@codesourcery.com>
880
881 * scripts/config.guess: Update to version 2017-01-01.
882 * scripts/config.sub: Update to version 2017-01-01.
883
884 * NEWS: Update copyright dates.
885 * catgets/gencat.c (print_version): Likewise.
886 * csu/version.c (banner): Likewise.
887 * debug/catchsegv.sh: Likewise.
888 * debug/pcprofiledump.c (print_version): Likewise.
889 * debug/xtrace.sh (do_version): Likewise.
890 * elf/ldconfig.c (print_version): Likewise.
891 * elf/ldd.bash.in: Likewise.
892 * elf/pldd.c (print_version): Likewise.
893 * elf/sotruss.sh: Likewise.
894 * elf/sprof.c (print_version): Likewise.
895 * iconv/iconv_prog.c (print_version): Likewise.
896 * iconv/iconvconfig.c (print_version): Likewise.
897 * locale/programs/locale.c (print_version): Likewise.
898 * locale/programs/localedef.c (print_version): Likewise.
899 * login/programs/pt_chown.c (print_version): Likewise.
900 * malloc/memusage.sh (do_version): Likewise.
901 * malloc/memusagestat.c (print_version): Likewise.
902 * malloc/mtrace.pl: Likewise.
903 * manual/libc.texinfo: Likewise.
904 * nptl/version.c (banner): Likewise.
905 * nscd/nscd.c (print_version): Likewise.
906 * nss/getent.c (print_version): Likewise.
907 * nss/makedb.c (print_version): Likewise.
908 * posix/getconf.c (main): Likewise.
909 * scripts/test-installation.pl: Likewise.
910 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
911
912 * All files with FSF copyright notices: Update copyright dates
913 using scripts/update-copyrights.
914 * intl/plural.c: Regenerated.
915 * locale/programs/charmap-kw.h: Likewise.
916 * locale/programs/locfile-kw.h: Likewise.
917
918 2016-12-31 Florian Weimer <fweimer@redhat.com>
919
920 [BZ #20593]
921 Update DNS RR type definitions.
922 * scripts/gen-rrtypes.py: New file.
923 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
924 BIND-internal RR type not used on the Internet. Add ns_t_ds,
925 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
926 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
927 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
928 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
929 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
930 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
931 ns_t_ta, ns_t_dlv.
932 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
933 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
934 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
935 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
936 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
937 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
938 Define.
939 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
940 entry for ns_t_zxfr.
941
942 2016-12-31 Florian Weimer <fweimer@redhat.com>
943
944 [BZ #18784]
945 CVE-2015-5180
946 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
947 T_UNSPEC. Adjust value.
948 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
949 * resolv/res_query.c (__libc_res_nquery): Likewise.
950 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
951 QTYPEs.
952 * resolv/tst-resolv-qtypes.c: New file.
953 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
954 (tst-resolv-qtypes): Link against libresolv and libpthread.
955
956 2016-12-31 Florian Weimer <fweimer@redhat.com>
957
958 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
959
960 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
961
962 * manual/tunables.texi: New chapter.
963 * manual/Makefile (chapters): Add it.
964 * manual/probes.texi (@node): Point to the Tunables chapter.
965
966 * Makeconfig (have-tunables): Check for non-negative instead
967 of positive.
968 * configure.ac: Add 'valstring' as a valid value for
969 --enable-tunables.
970 * configure: Regenerate.
971 * elf/Makefile (have-tunables): Check for non-negative instead
972 of positive.
973 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
974 dl-tunables.c.
975 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
976 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
977 (tunables_strdup): Likewise.
978 (disable_tunables): Likewise.
979 (parse_tunables): Likewise.
980 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
981 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
982 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
983 (TUNABLES_FRONTEND_yes): New macro, define as
984 TUNABLES_FRONTEND_valstring by default.
985 * manual/install.texi: Document new acceptable values for
986 --enable-tunables.
987 * INSTALL: Regenerate.
988
989 * config.make.in (have-loop-to-function): Define.
990 * elf/Makefile (CFLAGS-dl-tunables.c): Add
991 -fno-tree-loop-distribute-patterns.
992 * elf/dl-tunables.c: Include libc-internals.h.
993 (GLIBC_TUNABLES): New macro.
994 (tunables_strdup): New function.
995 (parse_tunables): New function.
996 (min_strlen): New function.
997 (__tunables_init): Use the new functions and macro.
998 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
999 * malloc/tst-malloc-usable-tunables.c: New test case.
1000 * malloc/tst-malloc-usable-static-tunables.c: New test case.
1001 * malloc/Makefile (tests, tests-static): Add tests.
1002
1003 * manual/install.texi: Add --enable-tunables option.
1004 * INSTALL: Regenerate.
1005 * README.tunables: New file.
1006 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1007 (before-compile): Generate dl-tunable-list.h early.
1008 * config.h.in: Add HAVE_TUNABLES.
1009 * config.make.in: Add have-tunables.
1010 * configure.ac: Add --enable-tunables option.
1011 * configure: Regenerate.
1012 * csu/init-first.c (__libc_init_first): Move
1013 __libc_init_secure earlier...
1014 * csu/init-first.c (LIBC_START_MAIN):... to here.
1015 Include dl-tunables.h, libc-internal.h.
1016 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1017 binaries.
1018 * elf/Makefile (dl-routines): Add dl-tunables.
1019 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1020 namespace.
1021 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1022 only when !HAVE_TUNABLES.
1023 * elf/rtld.c (process_envvars): Likewise.
1024 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1025 (_dl_sysdep_start): Call __tunables_init.
1026 * elf/dl-tunable-types.h: New file.
1027 * elf/dl-tunables.c: New file.
1028 * elf/dl-tunables.h: New file.
1029 * elf/dl-tunables.list: New file.
1030 * malloc/tst-malloc-usable-static.c: New test case.
1031 * malloc/Makefile (tests-static): Add it.
1032 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1033 Define TUNABLE_NAMESPACE.
1034 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1035 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
1036 callback functions.
1037 (ptmalloc_init): Set tunable values.
1038 * scripts/gen-tunables.awk: New file.
1039 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1040 (_dl_sysdep_start): Call __tunables_init.
1041
1042 2016-12-31 Florian Weimer <fweimer@redhat.com>
1043
1044 * resolv/resolv.h (RES_BLAST): Deprecate.
1045 * resolv/res_debug.c (p_option): Remove RES_BLAST.
1046 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1047 to RES_BLAST.
1048
1049 2016-12-27 Florian Weimer <fweimer@redhat.com>
1050
1051 [BZ #19582]
1052 Deprecate RES_USE_INET6.
1053 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1054 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1055 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1056 RES_USE_INET6.
1057 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1058 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1059 (_nss_nisplus_gethostbyaddr_r): Likewise.
1060 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1061 of res_use_inet6.
1062 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1063 instead of RES_USE_INET6.
1064 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1065 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1066 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1067 Likewise.
1068 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1069 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1070 Likewise.
1071 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1072 (_nss_dns_gethostbyname_r): Likewise.
1073 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1074 alternate RES_USE_INET6 handling.
1075 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1076 instead of RES_USE_INET6.
1077 * resolv/res_init.c (res_setoptions): Likewise.
1078 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1079 * resolv/resolv-internal.h: New file.
1080 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1081 make the deprecation warning non-fatal.
1082 * resolv/README (Using the resolver in multi-threaded code): Drop
1083 reference to RES_USE_INET6.
1084 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1085 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1086
1087 2016-12-31 Florian Weimer <fweimer@redhat.com>
1088
1089 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1090 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1091 tst-resolv-search.
1092 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1093 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1094 with libresolv and libpthread.
1095 * resolv/tst-bug18665.c: New file.
1096 * resolv/tst-bug18665-tcp: Likewise.
1097 * resolv/tst-res_use_inet6: Likewise.
1098 * resolv/tst-resolv-basic: Likewise.
1099 * resolv/tst-resolv-network: Likewise.
1100 * resolv/tst-resolv-search: Likewise.
1101 * support/Makefile (libsupport-routines): Add check_addrinfo,
1102 check_dns_packet, check_hostent, check_netent, resolv_test,
1103 support_format_address_family, support_format_addrinfo,
1104 support_format_dns_packet, support_format_herrno,
1105 support_format_hostent, support_format_netent, support_run_diff,
1106 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1107 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1108 xstrdup, xwrite.
1109 * support/check_addrinfo.c: New file.
1110 * support/check_dns_packet.c: Likewise.
1111 * support/check_hostent.c: Likewise.
1112 * support/check_netent.c: Likewise.
1113 * support/check_nss.h: Likewise.
1114 * support/format_nss.h: Likewise.
1115 * support/resolv_test.c: Likewise.
1116 * support/resolv_test.h: Likewise.
1117 * support/run_diff.h: Likewise.
1118 * support/support_format_address_family.c: Likewise.
1119 * support/support_format_addrinfo.c: Likewise.
1120 * support/support_format_dns_packet.c: Likewise.
1121 * support/support_format_herrno.c: Likewise.
1122 * support/support_format_hostent.c: Likewise.
1123 * support/support_format_netent.c: Likewise.
1124 * support/support_run_diff.c: Likewise.
1125 * support/xaccept.c: Likewise.
1126 * support/xbind.c: Likewise.
1127 * support/xconnect.c: Likewise.
1128 * support/xfclose.c: Likewise.
1129 * support/xfopen.c: Likewise.
1130 * support/xgetsockname.c: Likewise.
1131 * support/xlisten.c: Likewise.
1132 * support/xmemstream.c: Likewise.
1133 * support/xmemstream.h: Likewise.
1134 * support/xpoll.c: Likewise.
1135 * support/xpthread_once.c: Likewise.
1136 * support/xrecvfrom.c: Likewise.
1137 * support/xsendto.c: Likewise.
1138 * support/xsetsockopt.c: Likewise.
1139 * support/xstdio.h: Likewise.
1140 * support/xstrdup.c: Likewise.
1141 * support/support.h (xstrdup): Declare.
1142 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1143 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1144 * support/xthread.h (xpthread_once): Likwise.
1145 * support/xunistd.h (xwrite): Declare.
1146
1147 2016-12-31 Florian Weimer <fweimer@redhat.com>
1148
1149 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1150 (test_verbose): Declare.
1151 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1152 * support/support_test_main.c (default_options): Likewise.
1153 (usage, support_test_main): Handle 'v'.
1154 (test_verbose): Define.
1155 * support/tst-support_record_failure.c (do_test): Use
1156 test_verbose.
1157 * support/tst-support_record_failure-2.sh (different_status): Add
1158 --verbose test.
1159
1160 2016-12-31 Florian Weimer <fweimer@redhat.com>
1161
1162 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1163 test failures are recorded.
1164 * support/check.c (support_print_failure_impl): Call
1165 support_record_failure.
1166 (support_exit_failure_impl): Call support_record_failure if status
1167 indicates failure.
1168 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1169 * support/xasprintf.c (xasprintf): Likewise.
1170 * support/xfork.c (xfork): Likewise.
1171 * support/xpthread_check_return.c (xpthread_check_return):
1172 Likewise.
1173 * support/xsocket.c (xsocket): Likeweise.
1174 * support/xwaitpid.c (xwaitpid): Likewise.
1175 * support/support_record_failure.c (struct test_failures): Adjust
1176 to coding style.
1177 * support/support_test_verify_impl.c (support_test_verify_impl):
1178 Adjust error messages.
1179 * support/tst-support_record_failure-2.sh (different_status):
1180 Adjust error messages.
1181
1182 2016-12-31 Florian Weimer <fweimer@redhat.com>
1183
1184 * support/namespace.h: New file.
1185 * support/support_become_root.c: Likewise.
1186 * support/support_enter_network_namespace.c: Likewise.
1187 * support/tst-support-namespace.c: Likewise.
1188 * support/xsocket.c: Likewise.
1189 * support/xsocket.h: Likewise.
1190 * support/Makefile (libsupport-routines): Add support_become_root,
1191 support_enter_network_namespace, xsocket.
1192 (tests): Add tst-support-namespace.
1193
1194 2016-12-31 Florian Weimer <fweimer@redhat.com>
1195
1196 [BZ #17252]
1197 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1198 __USE_GNU.
1199
1200 2016-12-31 Torvald Riegel <triegel@redhat.com>
1201
1202 [BZ #13165]
1203 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1204 use new algorithm.
1205 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1206 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1207 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1208 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1209 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1210 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1211 __condvar_cleanup_waiting, __condvar_dec_grefs,
1212 __pthread_cond_wait_common): New.
1213 (__condvar_cleanup): Remove.
1214 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1215 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1216 Likewise.
1217 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1218 Likewise.
1219 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1220 * nptl/tst-cond1.c: Add comment.
1221 * nptl/tst-cond20.c (do_test): Adapt.
1222 * nptl/tst-cond22.c (do_test): Likewise.
1223 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1224 structure.
1225 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1226 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1227 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1228 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1229 Likewise.
1230 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1231 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1232 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1233 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1234 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1235 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1236 Likewise.
1237 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1238 Likewise.
1239 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1240 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1241 (COND_CLOCK_BITS): Adapt.
1242 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1243 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1244 __PTHREAD_COND_SHARED_MASK): New.
1245 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1246 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1247 * nptl/nptl_lock_constants.pysym: Adapt.
1248 * nptl/test-cond-printers.py: Adapt.
1249 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1250 cond_compat_check_and_clear): Adapt.
1251 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1252 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1253 (__pthread_cond_timedwait): ... and move here.
1254 * nptl/DESIGN-condvar.txt: Remove file.
1255 * nptl/lowlevelcond.sym: Likewise.
1256 * nptl/pthread_cond_timedwait.c: Likewise.
1257 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1258 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1259 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1260 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1261 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1262 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1263 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1264 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1265 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1266 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1267 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1269 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1270 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1271 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1272 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1273
1274 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1275
1276 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1277 (fromfp): New declaration.
1278 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1279 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1280 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1281 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1282 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1283 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1284 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1285 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1286 * math/math.h: Include <bits/types.h>.
1287 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1288 constant and macro.
1289 (FP_INT_DOWNWARD): Likewise.
1290 (FP_INT_TOWARDZERO): Likewise.
1291 (FP_INT_TONEARESTFROMZERO): Likewise.
1292 (FP_INT_TONEAREST): Likewise.
1293 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1294 (fromfpf): Likewise.
1295 (fromfpl): Likewise.
1296 (ufromfp): Likewise.
1297 (ufromfpf): Likewise.
1298 (ufromfpl): Likewise.
1299 (fromfpx): Likewise.
1300 (fromfpxf): Likewise.
1301 (fromfpxl): Likewise.
1302 (ufromfpx): Likewise.
1303 (ufromfpxf): Likewise.
1304 (ufromfpxl): Likewise.
1305 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1306 s_fromfpxF and s_ufromfpxF.
1307 * math/gen-fromfp-tests.py: New file.
1308 * math/gen-fromfp-tests-inputs: Likewise.
1309 * math/libm-test.inc: Include <stdint.h>
1310 (check_intmax_t): New function.
1311 (check_uintmax_t): Likewise.
1312 (struct test_fiu_M_data): New type.
1313 (struct test_fiu_U_data): Likewise.
1314 (RUN_TEST_fiu_M): New macro.
1315 (RUN_TEST_LOOP_fiu_M): Likewise.
1316 (RUN_TEST_fiu_U): Likewise.
1317 (RUN_TEST_LOOP_fiu_U): Likewise.
1318 (fromfp_test_data): New array.
1319 (fromfp_test): New function.
1320 (fromfpx_test_data): New array.
1321 (fromfpx_test): New function.
1322 (ufromfp_test_data): New array.
1323 (ufromfp_test): New function.
1324 (ufromfpx_test_data): New array.
1325 (ufromfpx_test): New function.
1326 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1327 ufromfpx_test.
1328 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1329 characters.
1330 * math/test-tgmath-ret.c: Include <stdint.h>.
1331 (rm): New variable.
1332 (width): Likewise.
1333 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1334 called function.
1335 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1336 CHECK_RET_CONST_TYPE.
1337 (CHECK_RET_CONST_DOUBLE): Likewise.
1338 (CHECK_RET_CONST_LDOUBLE): Likewise.
1339 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1340 macros.
1341 (fromfp): New CHECK_RET_CONST call.
1342 (ufromfp): Likewise.
1343 (fromfpx): Likewise.
1344 (ufromfpx): Likewise.
1345 (do_test): Call check_return_fromfp, check_return_ufromfp,
1346 check_return_fromfpx and check_return_ufromfpx.
1347 * math/test-tgmath.c: Include <stdint.h>
1348 (NCALLS): Increase to 138.
1349 (F(compile_test)): Initialize i. Call fromfp functions.
1350 (F(fromfp)): New function.
1351 (F(fromfpx)): Likewise.
1352 (F(ufromfp)): Likewise.
1353 (F(ufromfpx)): Likewise.
1354 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1355 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1356 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1357 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1358 ufromfpxl.
1359 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1360 ufromfp and ufromfpx.
1361 * math/fromfp.h: New file.
1362 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1365 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1367 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1368 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1369 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1370 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1371 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1379 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1388 ufromfp, fromfpx and ufromfpx.
1389 (CFLAGS-nldbl-fromfp.c): New variable.
1390 (CFLAGS-nldbl-fromfpx.c): Likewise.
1391 (CFLAGS-nldbl-ufromfp.c): Likewise.
1392 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1394 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1395 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1396 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1397 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1398 * sysdeps/nacl/libm.abilist: Update.
1399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1412 Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1416 Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1421 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1422 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1431
1432 2016-12-30 Florian Weimer <fweimer@redhat.com>
1433
1434 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1435 compat-gethnamaddr.
1436 (CPPFLAGS): Remove.
1437 * resolv/gethnamaddr.c: Rename ...
1438 * resolv/compat-gethnamaddr.c: ... to this file.
1439 (_endhtent): Make static.
1440 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1441 symbol.
1442 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1443 compat symbol.
1444 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1445 symbol.
1446 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1447 Turn into compat symbol.
1448 * include/resolv.h (_endhtent): Remove declaration.
1449
1450 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1451
1452 * bits/types.h (__intmax_t): New typedef.
1453 (__uintmax_t): Likewise.
1454 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1455 (intmax_t): Define using __intmax_t.
1456 (uintmax_t): Define using __uintmax_t.
1457
1458 * support/Makefile (tests-special): Make definition conditional on
1459 [$(run-built-tests) = yes].
1460 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1461 on [$(run-built-tests) = yes].
1462
1463 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1464
1465 * Rules (tests): Add tests-printers-programs to tests to be
1466 built.
1467
1468 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1469
1470 * sysvipc/Makefile (tests): Add test-sysvshm.
1471 * sysvipc/test-sysvshm.c: New file.
1472
1473 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1474 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1475 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1476 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1477 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1478 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1479 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1480 Likewise.
1481 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1482 Likewise.
1483 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1484 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1485 is defined.
1486
1487 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1488 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1489 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1490 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1491 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1492 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1493 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1494 Likewise.
1495 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1496 Likewise.
1497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1498 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1499 defined.
1500
1501 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1502 oldshmctl.
1503 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1504 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1505 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1506 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1507 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1508 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1509 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1510 Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1512 Likewise.
1513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1514 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1515 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1516 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1517 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1518 implementation.
1519 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1520 if it is defined.
1521
1522 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1523 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1524 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1525 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1526 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1527 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1528 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1534 Define to __NR_osf_shmat.
1535 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1536 defined.
1537
1538 * sysvipc/Makefile (tests): Add test-sysvsem.
1539 * sysvipc/test-sysvsem.c: New file.
1540
1541 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1542 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1543 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1544 Likewise.
1545 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1546 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1547 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1548 Likewise.
1549 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1550 Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1552 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1553 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1554 add a comment about s390 syscall difference from default one.
1555 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1556 syscall if it is defined.
1557
1558 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1559 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1560 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1561 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1562 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1563 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1564 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1565 Likewise.
1566 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1567 Likewise.
1568 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1569 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1570 defined.
1571
1572 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1573 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1574 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1575 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1576 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1577 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1578 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1579 Likewise.
1580 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1581 Likewise.
1582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1583 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1584 if it is defined.
1585
1586 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1587 oldsemctl.
1588 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1589 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1590 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1592 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1593 implementation.
1594 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1595 syscall if it is defined.
1596 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1597 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1598 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1599 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1600 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1601 Likewise.
1602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1603
1604 * sysvipc/Makefile (tests): Add test-sysvmsg.
1605 * sysvipc/test-sysvmsg.c: New file.
1606 * support/check.h (FAIL_UNSUPPORTED): New define.
1607
1608 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1609 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1610 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1611 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1612 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1613 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1614 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1615 Likewise.
1616 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1617 Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1619 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1620 define.
1621
1622 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1623 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1624 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1625 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1626 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1627 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1628 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1631 Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1633 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1634 if defined.
1635
1636 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1637 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1638 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1639 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1640 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1641 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1643 Likewise.
1644 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1645 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1646 Likewise.
1647 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1648 if defined.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1650
1651 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1652 oldmsgctl.
1653 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1654 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1655 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1656 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1657 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1658 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1659 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1661 Likewise.
1662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1663 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1664 implementation.
1665 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1666 if defined.
1667
1668 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1669 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1670 definition and define its own.
1671 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1672 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1673 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1674 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1675 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1676 definitions to common header.
1677 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1678 operation from ipc_ops.h.
1679
1680 * sysdeps/unix/sysv/linux/kernel-features.h
1681 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1682 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1683 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1684 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1685 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1686 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1687 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1688 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1689 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1691 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1692 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1693 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1694 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1695 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1696
1697 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1698
1699 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1700 overflow in pointer addition.
1701
1702 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1705 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1707 (strchr): Add __strchr_power8 to list of strchr functions.
1708 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1709 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1711 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1712 (strchr): Add __strchr_power8 to ifunc list.
1713 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1714 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1715 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1716 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1717
1718 2016-12-28 Florian Weimer <fweimer@redhat.com>
1719
1720 * support/Makefile (libsupport-routines): Add
1721 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1722 (tests): Add tst-support_record_failure.
1723 (tests-special): tst-support_record_failure-2.
1724 (tst-support_record_failure-2.out): Depend on
1725 tst-support_record_failure-2.sh and tst-support_record_failure.
1726 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1727 (support_test_verify_impl, support_record_failure)
1728 (support_report_failure, support_report_failure_reset): Declare.
1729 * support/support_test_main.c (adjust_exit_status): New function.
1730 (support_test_main): Call it to incorporate record test failures.
1731 * support/support_test_verify_impl.c: New file.
1732 * support/support_record_failure.c: Likewise.
1733 * support/tst-support_record_failure.c: Likewise.
1734 * support/tst-support_record_failure-2.sh: Likewise.
1735 * support/xunistd.h: Likewise.
1736 * support/xfork.c: Likewise.
1737 * support/xwaitpid.c: Likewise.
1738
1739 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1740
1741 * scripts/check-c++-types.sh: Add comments.
1742
1743 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1744
1745 [BZ #19514]
1746 * resolv/res_send.c: Fix typo in comment.
1747 * sysdeps/i386/i386-mcount.S: Likewise.
1748 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1749 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1750 * sysdeps/sparc/sparc-mcount.S: Likewise.
1751
1752 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1753
1754 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1755 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1756 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1757 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1758 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1759 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1760 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1761 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1762
1763 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1764
1765 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1766
1767 2016-12-27 Florian Weimer <fweimer@redhat.com>
1768
1769 [BZ #17252]
1770 * posix/unistd.h (getentropy): Declare.
1771
1772 2016-12-27 Florian Weimer <fweimer@redhat.com>
1773
1774 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1775 Remove.
1776 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1777 (cmd): Remove spoof, nospoof, spoofalert.
1778 (parse_line): Ignore spoof-related lines.
1779 (do_init): Do not process RESOLV_SPOOF_CHECK.
1780
1781 2016-12-27 Florian Weimer <fweimer@redhat.com>
1782
1783 [BZ #20964]
1784 sunrpc: Always obtain AF_INET addresses from NSS.
1785 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1786 * sunrpc/rpc_gethostbyname.c: New file.
1787 * sunrpc/Makefile (routines): Add it.
1788 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1789 * sunrpc/clnt_simp.c (callrpc): Likewise.
1790 * sunrpc/getrpcport.c (getrpcport): Likewise.
1791
1792 2016-12-27 Florian Weimer <fweimer@redhat.com>
1793
1794 * sunrpc/rpcinfo.c: Remove.
1795 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1796
1797 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1798
1799 [BZ# 19387]
1800 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1801 addition.
1802 * string/test-memchr.c (do_test): Remove alignment limitation.
1803 (test_main): Add test that trigger BZ# 19387.
1804
1805 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1806
1807 [BZ #7065]
1808 Enable stack protectore if requested by ./configure.
1809 * Makeconfig (+stack-protector): New variable.
1810 (+cflags): Use it.
1811
1812 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1813
1814 [BZ #7065]
1815 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1817 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1819 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1820
1821 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1822
1823 [BZ #7065]
1824 * login/Makefile (pt_chown-cflags): Remove.
1825 * nscd/Makefile (CFLAGS-nscd): Likewise.
1826 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1827
1828 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1829
1830 [BZ #7065]
1831 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1832 non-libc-linking testcase.
1833
1834 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1835 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1836 Florian Weimer <fweimer@redhat.com>
1837
1838 [BZ #7065]
1839 PLT avoidance for __stack_chk_fail*.
1840 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1841 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1842 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1843 __stack_chk_fail_local alias.
1844 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1845 (__stack_chk_fail): Turn into hidden reference to
1846 __stack_chk_fail_local.
1847
1848 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1849
1850 [BZ #7065]
1851 * configure.ac: Add check for unsupported stack-protection level.
1852 (libc_cv_predef_stack_protector): Remove.
1853 (no_ssp): New variable.
1854 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1855 (stack_protector): Set to -fno-stack-protector similarly.
1856 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1857 (libc_cv_asm_set_directive): Likewise.
1858 (libc_cv_protected_data): Likewise.
1859 (libc_cv_z_combreloc): Likewise.
1860 (libc_cv_hashstyle): Likewise.
1861 (libc_cv_has_glob_dat): Likewise.
1862 (libc_cv_output_format): Likewise.
1863 (libc_cv_output_format): Likewise.
1864 (libc_cv_ehdr_start): Likewise.
1865 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1866 (LIBC_LINKER_FEATURE): Likewise.
1867 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1868
1869 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1870
1871 [BZ #7065]
1872 * elf/Makefile (dummy-stack-chk-fail): New.
1873 (librtld.map): Use it.
1874
1875 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1876
1877 [BZ #7065]
1878 Compile the dynamic linker without stack protection.
1879 * elf/Makefile (elide-stack-protector): New.
1880 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1881 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1882 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1883 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1884
1885 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1886
1887 [BZ #7065]
1888 * config.make.in (have-ssp, no-stack-protector): New.
1889 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1890 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1891 (CFLAGS-sbrk.op): Likewise.
1892 (CFLAGS-brk.o): Likewise.
1893 (CFLAGS-brk.op): Likewise.
1894 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1895 (CFLAGS-wordcopy.c): Likewise.
1896
1897 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1898
1899 [BZ #7065]
1900 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1901 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1902 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1903 (__ifunc_resolver): Use it.
1904 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1905 inhibit_stack_protector.
1906 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1907 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1908 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1909 (foo_protected_ifunc): Likewise.
1910 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1911 (foo_protected_ifunc): Likewise.
1912 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1913 * sysdeps/nacl/nacl_interface_query.c
1914 (nacl_interface_query_ifunc): Likewise.
1915 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1917 Likewise.
1918 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1919 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1920 the generated vDSO syscall resolver.
1921
1922 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1923 Florian Weimer <fweimer@redhat.com>
1924
1925 [BZ #7065]
1926 Initialize the stack guard earlier when linking statically.
1927 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1928 (__pthread_initialize_minimal): Declare.
1929 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1930 declaration.
1931 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1932 stack canary and apply_irel initialization up. Call
1933 __pthread_initialize_minimal only if linked in.
1934 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1935 constant values.
1936 (__pthread_initialize_minimal): Remove.
1937 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1938 (__pthread_initialize_minimal_internal): Do not call
1939 __libc_setup_tls.
1940
1941 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1942
1943 [BZ #7065]
1944 * configure.ac (libc_cv_ssp): Move up.
1945 (libc_cv_ssp_strong): Likewise.
1946 (libc_cv_ssp_all): New.
1947 (stack_protector): Augment, adding -fstack-protector-all.
1948 (no_stack_protector): New.
1949 (STACK_PROTECTOR_LEVEL): New.
1950 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1951 * manual/install.texi (--enable-stack-protector): Document it.
1952 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1953
1954 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1955
1956 * README.pretty-printers: Must specify CPPFLAGS-* also.
1957 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1958 (CPPFLAGS-test-mutex-printers.c): Define.
1959 (CPPFLAGS-test-condattr-printers.c): Define.
1960 (CPPFLAGS-test-cond-printers.c): Define.
1961 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1962 (CPPFLAGS-test-rwlock-printers.c): Define.
1963
1964 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1965 (tests): Add tst-cancel-getpwuid_r.
1966 * nss/tst-cancel-getpwuid_r.c: New file.
1967
1968 [BZ #11941]
1969 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1970 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1971 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1972 tst-nodelete-dlclose.
1973 (modules-names): Add tst-nodelete-dlclose-dso and
1974 tst-nodelete-dlclose-plugin.
1975 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1976 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1977 ($(objpfx)tst-nodelete-dlclose): Define.
1978 ($(objpfx)tst-nodelete-dlclose.out): Define.
1979
1980 2016-12-23 Florian Weimer <fweimer@redhat.com>
1981
1982 * scripts/test_printers_common.py: Log GDB output in case of
1983 Python detection failure.
1984
1985 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1986
1987 * configure.ac: Check for python3 or python.
1988 * configure: Regenerated.
1989 * config.make.in (PYTHON): New variable.
1990 * benchtests/Makefile: Don't define PYTHON.
1991 (bench): Define target only if PYTHON was defined.
1992 * Rules: Don't define PYTHON.
1993 Define pretty printer targets only if PYTHON was defined.
1994 (tests-printers): Add to tests-unsupported if PYTHON is not
1995 found.
1996 (python-flags, python-invoke): Remove.
1997 (tests-printers-out): Use PYTHON instead of python-invoke.
1998
1999 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2000
2001 [BZ #20978]
2002 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2003 Compare name == NULL, not name != NULL.
2004
2005 * manual/texinfo.tex: Update to version 2016-09-18.18 with
2006 trailing whitespace removed.
2007 * scripts/config.guess: Update to version 2016-10-02.
2008 * scripts/config.sub: Update to version 2016-11-19.
2009 * scripts/install-sh: Update to version 2016-01-11.22.
2010 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2011 * scripts/move-if-change: Update to version 2016-01-11 22:04.
2012
2013 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2014
2015 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2016 (do_one_test) Restore original string so iteration works.
2017 * string/string-inlines.c (do_test): Create better input strings.
2018 (test_main) Reduce number of testruns.
2019 * string/string-inlines.c (__old_strsep_1c): New function.
2020 (__old_strsep_2c): Likewise.
2021 (__old_strsep_3c): Likewise.
2022 * string/strsep.c (__strsep): Remove case of small delim string.
2023 Call strcspn directly rather than strpbrk.
2024 * string/bits/string2.h (__strsep): Remove define.
2025 (__strsep_1c): Remove.
2026 (__strsep_2c): Remove.
2027 (__strsep_3c): Remove.
2028 (strsep): Remove.
2029 * sysdeps/unix/sysv/linux/internal_statvfs.c
2030 (__statvfs_getflags): Rename to __strsep.
2031
2032 2016-12-21 Florian Weimer <fweimer@redhat.com>
2033
2034 * csu/libc-tls.c (_dl_tls_setup): Remove.
2035 * elf/dl-tls.c (_dl_tls_setup): Likewise.
2036 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2037 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2038
2039 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2040
2041 [BZ #7065]
2042 * sysdeps/x86_64/Makefile [$(subdir) = elf]
2043 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2044
2045 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2046 Florian Weimer <fweimer@redhat.com>
2047
2048 [BZ #7065]
2049 * csu/Makefile (tests): Empty assignment and document it.
2050 (tests-static): Remove.
2051 * csu/tst-empty.c: Move to...
2052 * misc/tst-empty.c: ... here. Switch to new test driver.
2053 * csu/tst-atomic.c: Move to...
2054 * misc/tst-atomic.c: ... here. Switch to new test driver.
2055 * csu/tst-atomic-long.c: Move to...
2056 * misc/tst-atomic-long.c: ... here.
2057 * misc/Makefile (tests): Add tst-empty, tst-atomic,
2058 tst-atomic-long.
2059 (tests-static): Add tst-empty.
2060
2061 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
2062
2063 * manual/nss.texi: Change incorrect @vtable to @table.
2064 * manual/arith.texi: Convert @tables of variables to @vtables
2065 and remove unnecessary indexing.
2066 * manual/filesys.texi: Likewise.
2067 * manual/llio.texi: Likewise.
2068 * manual/memory.texi: Likewise.
2069 * manual/process.texi: Likewise.
2070 * manual/resource.texi: Likewise.
2071 * manual/search.texi: Likewise.
2072 * manual/signal.texi: Likewise.
2073 * manual/socket.texi: Likewise.
2074 * manual/stdio.texi: Likewise.
2075 * manual/sysinfo.texi: Likewise.
2076 * manual/syslog.texi: Likewise.
2077 * manual/terminal.texi: Likewise.
2078 * manual/time.texi: Likewise.
2079 * manual/users.texi: Likewise.
2080
2081 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2082
2083 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2084 (roundeven): New declaration.
2085 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2086 macro.
2087 * math/Versions (roundeven): New libm symbol at version
2088 GLIBC_2.25.
2089 (roundevenf): Likewise.
2090 (roundevenl): Likewise.
2091 * math/Makefile (libm-calls): Add s_roundevenF.
2092 * math/libm-test.inc (roundeven_test_data): New array.
2093 (roundeven_test): New function.
2094 (main): Call roundeven_test.
2095 * math/test-tgmath.c (NCALLS): Increase to 134.
2096 (F(compile_test)): Call roundeven.
2097 (F(roundeven)): New function.
2098 * manual/arith.texi (Rounding Functions): Document roundeven,
2099 roundevenf and roundevenl.
2100 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2101 * include/math.h (roundeven): Use libm_hidden_proto.
2102 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2103 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2104 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2109 roundeven.
2110 (CFLAGS-nldbl-roundeven.c): New variable.
2111 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2112 * sysdeps/nacl/libm.abilist: Update.
2113 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2115 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2116 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2117 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2119 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2120 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2122 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2128 Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2132 Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2135 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2139 Likewise.
2140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2141 Likewise.
2142 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2145
2146 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2147
2148 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2149 preprocessor indentation inside #if.
2150
2151 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2152
2153 * math/libm-test.inc (fmt_ftostr): New function.
2154 (print_float, check_float_internal): Replace some uses of
2155 FTOSTR with uses of fmt_ftostr.
2156 (print_max_error, print_complex_max_error, print_function_ulps)
2157 (print_complex_function_ulps): Remove uses of the macros
2158 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2159 * math/test-double.h (FTOSTR): Define to strfromd.
2160 (PRINTF_EXPR): Delete.
2161 (PRINTF_XEXPR): Likewise.
2162 (PRINTF_NEXPR): Likewise.
2163 * math/test-float.h (FTOSTR): Define to strfromf.
2164 (PRINTF_EXPR): Delete.
2165 (PRINTF_XEXPR): Likewise.
2166 (PRINTF_NEXPR): Likewise.
2167 * math/test-ldouble.h (FTOSTR): Define to strfroml.
2168 (PRINTF_EXPR): Delete.
2169 (PRINTF_XEXPR): Likewise.
2170 (PRINTF_NEXPR): Likewise.
2171
2172 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2173
2174 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2175 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2176 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2177 (__lll_lock_elision): Decrement adapt_count while unlocking
2178 instead of before locking.
2179 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2180 (__lll_trylock_elision): Likewise.
2181 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2182 (__lll_unlock_elision): Likewise.
2183
2184 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2185
2186 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2187 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2188 Use __libc_tbegin_retry macro.
2189
2190 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2191
2192 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2193 Add -msoft-float.
2194 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2195 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2196 Use __libc_t* transaction macros instead of __builtin_t*.
2197 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2198 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2199
2200 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2201
2202 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2203 (__lll_lock_elision): Use atomics to load / store adapt_count.
2204 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2205 (__lll_trylock_elision): Likewise.
2206
2207 2016-12-20 Florian Weimer <fweimer@redhat.com>
2208
2209 Do not require memset elimination in explicit_bzero test.
2210 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2211 (enum test_expectation): Add NO_EXPECTATIONS.
2212 (subtests): NO_EXPECTATIONS for ordinary clear.
2213 (check_test_buffer): Handle NO_EXPECTATIONS.
2214 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2215
2216 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2217
2218 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2219 (fmaxmag): New declaration.
2220 (fminmag): Likewise.
2221 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2222 macro.
2223 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2224 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2225 (fmaxmagf): Likewise.
2226 (fmaxmagl): Likewise.
2227 (fminmag): Likewise.
2228 (fminmagf): Likewise.
2229 (fminmagl): Likewise.
2230 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2231 * math/s_fmaxmag_template.c: New file.
2232 * math/s_fminmag_template.c: Likewise.
2233 * math/libm-test.inc (fmaxmag_test_data): New array.
2234 (fmaxmag_test): New function.
2235 (fminmag_test_data): New array.
2236 (fminmag_test): New function.
2237 (main): Call fmaxmag_test and fminmag_test.
2238 * math/test-tgmath.c (NCALLS): Increase to 132.
2239 (F(compile_test)): Call fmaxmag and fminmag.
2240 (F(fminmag)): New function.
2241 (F(fmaxmag)): Likewise.
2242 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2243 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2244 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2245 fminmag.
2246 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2247 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2248 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2251 and fminmag.
2252 (CFLAGS-nldbl-fmaxmag.c): New variable.
2253 (CFLAGS-nldbl-fminmag.c): Likewise.
2254 * sysdeps/nacl/libm.abilist: Update.
2255 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2256 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2257 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2258 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2259 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2260 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2261 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2263 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2264 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2266 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2268 Likewise.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2270 Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2272 Likewise.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2274 Likewise.
2275 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2276 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2277 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2287
2288 2016-12-19 Torvald Riegel <triegel@redhat.com>
2289
2290 [BZ #20973]
2291 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2292 wake-up in robust mutexes.
2293 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2294
2295 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2296
2297 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2298 (CFLAGS-bench-fmaxf.c): New rule.
2299 (CFLAGS-bench-fminf.c): Likewise.
2300 * benchtests/fmaxf-inputs: New file.
2301 * benchtests/fminf-inputs: Likewise.
2302
2303 * benchtests/Makefile (bench-math): Add fmin and fmax.
2304 (CFLAGS-bench-fmax.c): New rule.
2305 (CFLAGS-bench-fmin.c): Likewise.
2306 * benchtests/fmax-inputs: New file.
2307 * benchtests/fmin-inputs: Likewise.
2308
2309 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2310 parenthesis.
2311 (CMDLINE_PROCESS): Define using function instead of macro.
2312 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2313 of test-skeleton.
2314 * benchtests/bench-memchr.c: Likewise.
2315 * benchtests/bench-memcmp.c: Likewise.
2316 * benchtests/bench-memcpy-large.c: Likewise.
2317 * benchtests/bench-memcpy.c: Likewise.
2318 * benchtests/bench-memmem.c: Likewise.
2319 * benchtests/bench-memmove-large.c: Likewise.
2320 * benchtests/bench-memmove.c: Likewise.
2321 * benchtests/bench-memset-large.c: Likewise.
2322 * benchtests/bench-memset.c: Likewise.
2323 * benchtests/bench-rawmemchr.c: Likewise.
2324 * benchtests/bench-strcasecmp.c: Likewise.
2325 * benchtests/bench-strcasestr.c: Likewise.
2326 * benchtests/bench-strcat.c: Likewise.
2327 * benchtests/bench-strchr.c: Likewise.
2328 * benchtests/bench-strcmp.c: Likewise.
2329 * benchtests/bench-strcpy.c: Likewise.
2330 * benchtests/bench-strcpy_chk.c: Likewise.
2331 * benchtests/bench-strlen.c: Likewise.
2332 * benchtests/bench-strncasecmp.c: Likewise.
2333 * benchtests/bench-strncmp.c: Likewise.
2334 * benchtests/bench-strncpy.c: Likewise.
2335 * benchtests/bench-strnlen.c: Likewise.
2336 * benchtests/bench-strpbrk.c: Likewise.
2337 * benchtests/bench-strrchr.c: Likewise.
2338 * benchtests/bench-strsep.c: Likewise.
2339 * benchtests/bench-strspn.c: Likewise.
2340 * benchtests/bench-strstr.c: Likewise.
2341 * benchtests/bench-strtok.c: Likewise.
2342
2343 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2344
2345 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2346 stepping identification.
2347 (init_cpu_features): Add handle of Haswell.
2348
2349 2016-11-25 Jim Meyering <meyering@fb.com>
2350
2351 [BZ #20386]
2352 Let gcc detect assert(a = 1) errors.
2353 * assert/assert.h (assert): Rewrite, retaining the old definintion
2354 when required, but otherwise putting the expression as-is in an "if"
2355 expression (hence, with no added parentheses) within a statement
2356 expression.
2357
2358 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2359
2360 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2361 DSO.
2362
2363 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2364
2365 * Rules (python-flags, python-invoke): New.
2366 ($(test-printers-out)): Use $(python-flags).
2367
2368 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2369
2370 * manual/arith.texi (Math Error Reporting): Document that sNaN
2371 arguments are not considered domain errors.
2372
2373 2016-12-16 Zack Weinberg <zackw@panix.com>
2374 Florian Weimer <fweimer@redhat.com>
2375 Nick Mathewson <nickm@torproject.org>
2376
2377 * string/explicit_bzero.c: New routine.
2378 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2379 * string/Makefile (routines, strop-tests, tests): Add them.
2380 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2381 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2382
2383 * debug/explicit_bzero_chk.c: New routine.
2384 * debug/Makefile (routines): Add it.
2385 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2386 * string/bits/string3.h: Fortify explicit_bzero.
2387
2388 * manual/string.texi: Document explicit_bzero.
2389 * NEWS: Mention addition of explicit_bzero.
2390
2391 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2392 data before returning, using explicit_bzero.
2393 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2394 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2395 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2396
2397 * include/string.h: Redirect internal uses of explicit_bzero
2398 to __explicit_bzero_chk[_internal].
2399 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2400 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2401 * sysdeps/arm/nacl/libc.abilist
2402 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2403 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2404 * sysdeps/unix/sysv/linux/arm/libc.abilist
2405 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2406 * sysdeps/unix/sysv/linux/i386/libc.abilist
2407 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2408 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2409 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2410 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2412 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2414 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2415 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2420 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2421 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2422 * sysdeps/unix/sysv/linux/sh/libc.abilist
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2427 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2428 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2430 Add entries for explicit_bzero and __explicit_bzero_chk.
2431
2432 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2433
2434 * math/fenv.h
2435 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2436 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2437 * math/test-fe-snans-always-signal.c: New file.
2438 * math/Makefile (tests): Add test-fe-snans-always-signal.
2439 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2440 * manual/arith.texi (Infinity and NaN): Document
2441 FE_SNANS_ALWAYS_SIGNAL.
2442
2443 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2444
2445 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2446 bracket.
2447
2448 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2449
2450 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2451 before calling execv.
2452
2453 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2454
2455 [BZ# 20971]
2456 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2457 overflow in pointer addition.
2458 * string/test-memchr.c (do_test): Add an argument to pass as
2459 the size on memchr.
2460 (test_main): Add check for SIZE_MAX.
2461
2462 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2463
2464 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2465 (libm-calls): Add w_scalblnF.
2466 * math/w_scalbln.c: Remove.
2467 * math/w_scalblnf.c: Likewise.
2468 * math/w_scalblnl.c: Likewise.
2469 * math/w_scalbln_template.c: New file with type-generic
2470 implementation based on math/w_scalbln.c.
2471 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2472 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2473
2474 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2475
2476 [BZ #20947]
2477 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2478 either is a signaling NaN.
2479 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2480 follow fmaxl more closely.
2481 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2482 when either is a signaling NaN.
2483 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2484 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2485 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2486 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2487 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2488 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2489 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2490 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2491 (fmin_test_data): Likewise.
2492
2493 2016-12-15 Andreas Schwab <schwab@suse.de>
2494
2495 * support/support_test_main.c (support_test_main): Don't shadow
2496 file-local variable test_pid.
2497
2498 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2499
2500 [BZ #20947]
2501 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2502 either is a signaling NaN.
2503 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2504
2505 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2506
2507 [BZ #20947]
2508 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2509 when either is a signaling NaN.
2510 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2511
2512 * bits/long-double.h: New file.
2513 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2514 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2515 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2516 * sysdeps/mips/bits/long-double.h: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2518 * math/Makefile (headers): Add bits/long-double.h.
2519 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2520 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2521 <bits/wordsize.h>.
2522 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2523 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2524 * math/math.h: Do not include <bits/mathdef.h>.
2525 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2526 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2527 inclusion.
2528 * sysdeps/ia64/bits/mathdef.h: Remove file.
2529 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2530 * sysdeps/mips/bits/mathdef.h: Likewise.
2531 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2532 * sysdeps/s390/bits/mathdef.h: Likewise.
2533 * sysdeps/sparc/bits/mathdef.h: Likewise.
2534 * sysdeps/x86/bits/mathdef.h: Likewise.
2535 * sysdeps/s390/s390-32/bits/wordsize.h
2536 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2537 conditional code.
2538 * sysdeps/s390/s390-64/bits/wordsize.h
2539 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2542 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2543 Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2545 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2546 Likewise.
2547 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2548 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2549 Likewise.
2550
2551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2552 <linux/falloc.h>.
2553 (FALLOC_FL_KEEP_SIZE): Remove.
2554 (FALLOC_FL_PUNCH_HOLE): Likewise.
2555 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2556 (FALLOC_FL_ZERO_RANGE): Likewise.
2557
2558 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2559
2560 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2561
2562 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2563
2564 * sysdeps/unix/sysv/linux/renameat.c: New file.
2565 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2566
2567 * sysdeps/unix/sysv/linux/rename.c: New file.
2568 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2569
2570 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2571
2572 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2573 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2574 * string/strtok_r.c (__strtok_r): Optimize for performance.
2575 * string/string-inlines.c (__old_strtok_r_1c): New function.
2576 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2577
2578 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2579
2580 * math/Makefile (gen-libm-calls): Add w_log1pF.
2581 (libm-calls): Remove w_log1pF.
2582 * math/w_log1p.c: Remove.
2583 * math/w_log1pf.c: Likewise.
2584 * math/w_log1pl.c: Likewise.
2585 * math/w_log1p_template.c: New file with type-generic
2586 implementation based on math/w_log1p.c.
2587 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2588 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2589
2590 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2591
2592 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2593
2594 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2595
2596 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2597 kernel version to 4.9.
2598
2599 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2600
2601 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2602 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2603
2604 2016-12-13 Andreas Schwab <schwab@suse.de>
2605
2606 * sysdeps/powerpc/dl-procinfo.c: Don't define
2607 _dl_powerpc_platforms.
2608 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2609 constants instead of referencing _dl_powerpc_platforms.
2610 (_dl_platform_string): Remove.
2611
2612 2016-12-13 Florian Weimer <fweimer@redhat.com>
2613
2614 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2615
2616 2016-12-13 Florian Weimer <fweimer@redhat.com>
2617
2618 * Rules (binaries-shared-tests, binaries-pie-tests)
2619 (binaries-static-tests): Link with $(link-extra-libs-tests).
2620 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2621 Remove $(link-extra-libs-tests).
2622
2623 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2624
2625 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2626 (sysdep_routines): Add strncmp_power9.
2627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2628 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2629 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2630 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2631 (strncmp): Add __strncmp_power9 to ifunc list.
2632 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2633
2634 2016-12-12 Florian Weimer <fweimer@redhat.com>
2635
2636 [BZ #17252]
2637 Add getentropy, getrandom.
2638 * stdlib/sys/random.h: New file.
2639 (headers): Add it.
2640 * stdlib/Makefile (routines): Add getentropy, getrandom.
2641 (tests): Add tst-getrandom.
2642 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2643 * stdlib/getentropy.c: New file.
2644 * stdlib/getrandom.c: Likewise.
2645 * stdlib/tst-getrandom.c: Likewise.
2646 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2647 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2648 * manual/crypt.texi (Unpredictable Bytes): New section.
2649 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2650 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2651 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2653 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2654 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2666 Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2668 Likewise.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2671 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2672 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2673 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2681
2682 2016-12-10 Florian Weimer <fweimer@redhat.com>
2683
2684 [BZ #20956]
2685 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2686 as additional compiler barriers.
2687 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2688 (fn2, do_test): Declare with external linkage.
2689 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2690 (do_test): Declare with external linkage.
2691 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2692 (do_test): Declare with external linkage.
2693 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2694 (do_test): Declare with external linkage.
2695
2696 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2697
2698 * support/support_test_main.c (support_test_main): Use correct
2699 timeout.
2700
2701 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2702 Florian Weimer <fweimer@redhat.com>
2703
2704 [BZ #16421]
2705 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2706 and __u6_addr32 members.
2707 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2708 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2709 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2710 Use __u6_addr32.
2711 * inet/tst-checks.c: Use <support/test-driver.c>
2712 * inet/tst-checks-posix.c: New file.
2713 * inet/Makefile (tests): Add it.
2714 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2715
2716 2016-12-09 Florian Weimer <fweimer@redhat.com>
2717
2718 New subdirectory support for build and test infrastructure.
2719 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2720 setting install-lib.
2721 * Makeconfig (link-extra-libs-tests): Define.
2722 (+link-pie-tests, +link-static-tests, +link-tests): Use
2723 link-extra-libs-tests.
2724 (rpath-dirs, all-subdirs): Add support.
2725 (built-modules): Add libsupport.
2726 (libsupport): Define.
2727 * support: New directory.
2728 * support/Makefile: New file.
2729 * support/check.c: Likewise.
2730 * support/check.h: Likewise.
2731 * support/delayed_exit.c: Likewise.
2732 * support/ignore_stderr.c: Likewise.
2733 * support/oom_error.c: Likewise.
2734 * support/set_fortify_handler.c: Likewise.
2735 * support/support.h: Likewise.
2736 * support/temp_file-internal.h: Likewise.
2737 * support/temp_file.c: Likewise.
2738 * support/test-driver.c: Likewise.
2739 * support/test-driver.h: Likewise.
2740 * support/test_main.c: Likewise.
2741 * support/write_message.c: Likewise.
2742 * support/xasprintf.c: Likewise.
2743 * support/xcalloc.c: Likewise.
2744 * support/xmalloc.c: Likewise.
2745 * support/xpthread_barrier_destroy.c: Likewise.
2746 * support/xpthread_barrier_init.c: Likewise.
2747 * support/xpthread_barrier_wait.c: Likewise.
2748 * support/xpthread_cancel.c: Likewise.
2749 * support/xpthread_check_return.c: Likewise.
2750 * support/xpthread_cond_wait.c: Likewise.
2751 * support/xpthread_create.c: Likewise.
2752 * support/xpthread_detach.c: Likewise.
2753 * support/xpthread_join.c: Likewise.
2754 * support/xpthread_mutex_lock.c: Likewise.
2755 * support/xpthread_mutex_unlock.c: Likewise.
2756 * support/xpthread_sigmask.c: Likewise.
2757 * support/xpthread_spin_lock.c: Likewise.
2758 * support/xpthread_spin_unlock.c: Likewise.
2759 * support/xrealloc.c: Likewise.
2760 * support/xsignal.h: Likewise.
2761 * support/xthread.h: Likewise.
2762 * support_tempfile.h: Likewise.
2763 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2764 (TEST_DATA_LIMIT): Remove unused macro.
2765 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2766 <support/check.h>.
2767 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2768 (ignore_stderr, set_fortify_handler): Remove. Now in
2769 <support/support.h>.
2770 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2771 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2772 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2773 (xpthread_join): Remove. Now in <support/xthread.h>.
2774 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2775 Introduce legacy wrappers.
2776 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2777 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2778 (write_message): Remove.
2779 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2780 test-skeleton.c.
2781 * io/test-open-tmpfile: Likewise.
2782 * io/tst-posix_fallocate-common.c: Likewise.
2783 * libio/tst-fseek.c: Likewise.
2784 * malloc/tst-malloc-backtrace.c: Likewise.
2785 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2786 * malloc/tst-malloc-thread-exit.c: Likewise.
2787 * nptl/tst-cancel7.c: Likewise.
2788 * nptl/tst-cleanup0.c: Likewise.
2789 * posix/tst-posix_fadvise-common.c: Likewise.
2790 * rt/tst-shm.c: Likewise.
2791 * time/bug-getdate1.c: Likewise.
2792 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2793 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2794 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2795
2796 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2797
2798 * Rules [$(run-built-tests) != no] (tests-expected): Add
2799 $(tests-printers).
2800 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2801
2802 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2803
2804 [BZ #20539]
2805 * math/Makefile (install-lib-ldscripts): Add libm.a.
2806 (install_subdir): Remove.
2807 (install-others): Add.
2808 ($(inst_libdir)/libm.a): Add rule for installation as
2809 linker script.
2810 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2811
2812 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2813
2814 * INSTALL: Regenerated.
2815 * Makeconfig: Add comments and whitespace to make the control flow
2816 clearer.
2817 (+link-printers-tests, +link-pie-printers-tests,
2818 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2819 built-rtld-LDFLAGS, link-libc-rpath,
2820 link-libc-tests-after-rpath-link,
2821 link-libc-printers-tests): New.
2822 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2823 link-libc-tests): Use the new variables as required.
2824 * Makerules ($(py-const)): New rule.
2825 generated: Add $(py-const).
2826 * README.pretty-printers: New file.
2827 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2828 (others): Depend on $(py-const).
2829 (tests): Depend on $(tests-printers-programs) or
2830 $(tests-printers-out),
2831 as required. Pass $(tests-printers) to merge-test-results.sh.
2832 * manual/install.texi: Add requirements for testing the pretty
2833 printers.
2834 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2835 tests-printers, CFLAGS-test-mutexattr-printers.c
2836 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2837 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2838 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2839 * nptl/nptl-printers.py: New file.
2840 * nptl/nptl_lock_constants.pysym: Likewise.
2841 * nptl/test-cond-printers.c: Likewise.
2842 * nptl/test-cond-printers.py: Likewise.
2843 * nptl/test-condattr-printers.c: Likewise.
2844 * nptl/test-condattr-printers.py: Likewise.
2845 * nptl/test-mutex-printers.c: Likewise.
2846 * nptl/test-mutex-printers.py: Likewise.
2847 * nptl/test-mutexattr-printers.c: Likewise.
2848 * nptl/test-mutexattr-printers.py: Likewise.
2849 * nptl/test-rwlock-printers.c: Likewise.
2850 * nptl/test-rwlock-printers.py: Likewise.
2851 * nptl/test-rwlockattr-printers.c: Likewise.
2852 * nptl/test-rwlockattr-printers.py: Likewise.
2853 * scripts/gen-py-const.awk: Likewise.
2854 * scripts/test_printers_common.py: Likewise.
2855 * scripts/test_printers_exceptions.py: Likewise.
2856
2857 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2858
2859 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2860 argument.
2861 (Glibc.build_glibc): Strip installed shared libraries if
2862 requested.
2863 (get_parser): Add --strip option.
2864 (main): Update Context call.
2865
2866 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2867 Dominik Vogt <vogt@linux.vnet.ibm.com>
2868
2869 [BZ #20847]
2870 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2871 array bounds for else branch.
2872 (__execvpe): Style fixes.
2873 * posix/tst-vfork3.c (run_script): New function.
2874 (create_script): Likewise.
2875 (do_test): Use run_script internal function.
2876 (do_prepare): Use create_script internal function.
2877
2878 2016-12-07 Andreas Schwab <schwab@suse.de>
2879
2880 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2881 (__elision_available): Don't declare.
2882 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2883 (__elision_available): Don't define.
2884 (elision_init): Don't set __elision_available.
2885
2886 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2887
2888 [BZ #20940]
2889 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2890 return Inf for arguments Inf and sNaN.
2891 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2892 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2893 Likewise.
2894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2895 Likewise.
2896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2897 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2898 for arguments Inf and sNaN. When returning a NaN, compute it by
2899 arithmetic on the arguments.
2900 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2901 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2902 arguments.
2903
2904 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2905
2906 [BZ #20916]
2907 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2908 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2909 to compute result.
2910 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2911 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2912
2913 2016-12-05 Torvald Riegel <triegel@redhat.com>
2914
2915 * include/atomic.h (__atomic_check_size_ls): New.
2916 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2917 atomic_store_release): Use it.
2918 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2919 (elision_adapt, ELIDE_LOCK): Use atomics.
2920 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2921 atomics and improve code comments.
2922 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2923 (__lll_trylock_elision): Likewise.
2924
2925 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2926
2927 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2928 programs.
2929
2930 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2931
2932 [BZ #20916]
2933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2934 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2935 arguments to compute result.
2936 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2937 1 for arguments (sNaN, 0) or (1, sNaN).
2938 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2940
2941 [BZ #20919]
2942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2943 NaN first argument when raised to power 0.
2944 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2945 raising to power zero.
2946 * math/w_powf.c (__powf): Likewise.
2947 * math/w_powl.c (__powl): Likewise.
2948 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2949 pow (0, 0) or pow (NaN, 0).
2950
2951 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2952
2953 [BZ #20918]
2954 * configure.ac: Test for static NSS cryptographic libraries and set
2955 libc_cv_static_nss_crypt.
2956 * configure: Regenerate.
2957 * config.make.in (static-nss-crypt): Define.
2958 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2959 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2960 (CFLAGS-tst-linkall-static.c): Define.
2961 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2962 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2963 ($(objpfx)tst-linkall-static): Define.
2964 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2965 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2966
2967 2016-12-02 Florian Weimer <fweimer@redhat.com>
2968
2969 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2970 (one-hundred, tst-tls-many-dynamic-modules): Define.
2971 (modules-names): Add $(tst-tls-many-dynamic-modules).
2972 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2973 macros.
2974 (tst-tls-manydynamic): Link against libdl, libpthread.
2975 (tst-tls-manydynamic.out): The test needs the test modules at run
2976 time.
2977 * elf/tst-tls-manydynamic.c: New file.
2978 * elf/tst-tls-manydynamic.h: Likewise.
2979 * elf/tst-tls-manydynamicmod.c: Likewise.
2980
2981 2016-12-02 Florian Weimer <fweimer@redhat.com>
2982
2983 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2984 (TLS_DTV_UNALLOCATED): Add.
2985 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2986 offsets.
2987
2988 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2989
2990 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2991
2992 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2993
2994 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2995 Add -fno-optimize-sibling-calls.
2996
2997 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2998
2999 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3000 New declaration.
3001 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3002 macro.
3003 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3004 New macro.
3005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3007 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3008 (llogbf): Likewise.
3009 (llogbl): Likewise.
3010 * math/Makefile (gen-libm-calls): Add w_llogbF.
3011 (tests): Add test-fp-llogb-constants.
3012 * math/w_llogb_template.c: New file. Based on
3013 math/w_ilogb_template.c.
3014 * math/libm-test.inc (llogb_test_data): New array.
3015 (llogb_test): New function.
3016 (main): Call llogb_test.
3017 * math/test-fp-llogb-constants.c: New file. Based on
3018 math/test-fp-ilogb-constants.c.
3019 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3020 (do_test): Call check_return_llogb.
3021 * math/test-tgmath.c (NCALLS): Increase to 126.
3022 (F(compile_test)): Call llogb.
3023 (F(llogb)): New function.
3024 * manual/math.texi (Exponents and Logarithms): Document llogb,
3025 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3026 * manual/libm-err-tab.pl (@all_functions): Add llogb.
3027 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3028 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3029 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3030 (CFLAGS-nldbl-llogb.c): New variable.
3031 * sysdeps/nacl/libm.abilist: Update.
3032 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3035 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3036 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3045 Likewise.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3047 Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3049 Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3051 Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3060 Likewise.
3061 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3064
3065 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3066
3067 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3068 _Float128 instead of long double.
3069 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3070
3071 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3072 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3073 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3074 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3075 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3076 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3077 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3078 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3080 Likewise.
3081
3082 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3083
3084 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3085 Remove redirection to __strrchr_ppc.
3086
3087 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3088
3089 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3090 (sysdep_routines): Add strcmp_power9.
3091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3092 (strcmp): Add __strcmp_power9 to list of strcmp functions.
3093 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3094 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3095 (strcmp): Add __strcmp_power9 to ifunc list.
3096 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3097
3098 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3099
3100 * bits/fp-logb.h: New file.
3101 * sysdeps/ia64/bits/fp-logb.h: Likewise.
3102 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3103 * sysdeps/x86/bits/fp-logb.h: Likewise.
3104 * math/Makefile (headers): Add bits/fp-logb.h.
3105 * math/math.h: Include <bits/fp-logb.h>.
3106 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3107 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3108 * bits/mathdef.h (FP_ILOGB0): Remove.
3109 (FP_ILOGBNAN): Likewise.
3110 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3111 (FP_ILOGBNAN): Likewise.
3112 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3113 (FP_ILOGBNAN): Likewise.
3114 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3115 (FP_ILOGBNAN): Likewise.
3116 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3117 (FP_ILOGBNAN): Likewise.
3118 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3119 (FP_ILOGBNAN): Likewise.
3120 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3121 (FP_ILOGBNAN): Likewise.
3122 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3123 (FP_ILOGBNAN): Likewise.
3124 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3125 (FP_ILOGBNAN): Likewise.
3126 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3127 (FP_ILOGBNAN): Likewise.
3128
3129 * scripts/build-many-glibcs.py: Add bot to usage message. Import
3130 time module.
3131 (Context.__init__): Initialize self.logsdir_old.
3132 (Context.run_builds): Handle bot action.
3133 (Context.bot_cycle): Copy logs directory before running builds.
3134 (Context.bot_run_self): Take argument for whether to check
3135 subprocess result. Flush stdout before running subprocess.
3136 (Context.bot): New function.
3137 (get_parser): Allow bot action.
3138
3139 2016-11-30 Joseph Myers <joseph@codesourcery.com>
3140
3141 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3142 Import email.mime.text, email.utils and smtplib modules.
3143 (Context.__init__): Initialize self.bot_config_json.
3144 (Context.run_builds): Handle bot-cycle action.
3145 (Context.load_bot_config_json): New function.
3146 (Context.part_build_old): Likewise.
3147 (Context.bot_cycle): Likewise.
3148 (Context.bot_build_mail): Likewise.
3149 (Context.bot_run_self): Likewise.
3150 (get_parser): Allow bot-cycle action.
3151
3152 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3153
3154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3155 Remove redirection to __stpcpy_ppc.
3156
3157 2016-11-30 Florian Weimer <fweimer@redhat.com>
3158
3159 Remove __libc_memalign from ld.so because it is unused.
3160 * elf/dl-minimal.c: Update comment on the malloc implementation.
3161 (malloc): Renamed from __libc_memalign, replacing the original
3162 malloc implementation. Replace the align parameter with
3163 MALLOC_ALIGNMENT.
3164 * elf/Versions (ld): Update comment and remove __libc_memalign.
3165 * sysdeps/nacl/ld.abilist: Likewise.
3166 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3167 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3168 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3169 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3170 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3171 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3172 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3173 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3174 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3175 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3176 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3177 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3178 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3182 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3183 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3184 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3186 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3189 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3190 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3191 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3192 * sysdeps/generic/localplt.data (ld.so): Likewise.
3193 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3194 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3195 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3196 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3197 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3198 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3199 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3200 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3201 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3203 (ld.so): Likewise.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3205 (ld.so): Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3207 Likewise.
3208 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3209 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3211 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3212 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3213
3214 2016-11-30 Florian Weimer <fweimer@redhat.com>
3215
3216 [BZ #16628]
3217 Implement _dl_catch_error, _dl_signal_error in libc.so.
3218 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3219 (catch_hook): Define as thread-local or regular variable,
3220 depending on DL_ERROR_BOOTSTRAP.
3221 (CATCH_HOOK): Remove.
3222 (dl_signal_error, _dl_catch_error): Use
3223 catch_hook. Add hidden definition for libc.
3224 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3225 for DL_ERROR_BOOTSTRAP only.
3226 * elf/dl-error.c: New file.
3227 * elf/dl-error-minimal.c: Likewise.
3228 * elf/tst-latepthread.c: Likewise.
3229 * elf/tst-latepthreadmod.c: Likewise.
3230 * elf/Makefile (routines): Add dl-error.
3231 (dl-routines): Remove dl-error.
3232 (rtld-routines): Add dl-error-minimal.
3233 [build-shared] (tests): Add tst-latepthread.
3234 (module-names): Add tst-latepthreadmod.
3235 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3236 symbol.
3237 (tst-latepthreadmod.so): Link against libpthread.
3238 (tst-latepthread): Link against libdbl.
3239 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3240 _dl_catch_error.
3241 [ld] (GLIBC_PRIVATE): Likewise.
3242 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3243 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3244 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3245 directly.
3246 * elf/dl-tsd.c: Remove file.
3247 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3248 _dl_catch_error, _dl_signal_error.
3249 (_dl_initial_error_catch_tsd): Remove definition.
3250 (do_preload): Remove initialization of dl_error_catch_tsd.
3251 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3252 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3253 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3254 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3255 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3256 set dl_error_catch_tsd.
3257 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3258 _dl_error_catch_tsd member.
3259 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3260 members.
3261 (_dl_initial_error_catch_tsd): Remove declaration.
3262 (_dl_dprintf): Provide definition for use outside of ld.so.
3263 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3264 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3265 prototype for libc.
3266 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3267 _dl_catch_error.
3268 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3269 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3270 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3271 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3272 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3273 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3274 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3275 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3279 (ld.so): Likewise.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3281 (ld.so): Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3283 Likewise.
3284 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3285 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3287 Likewise.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3289 Likewise.
3290 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3291
3292 2016-11-30 Florian Weimer <fweimer@redhat.com>
3293
3294 [BZ #4099]
3295 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3296 _IO_BUFSIZ (8192).
3297
3298 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3299
3300 * PROJECTS: Remove file.
3301
3302 2016-11-29 Florian Weimer <fweimer@redhat.com>
3303
3304 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3305
3306 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3307 Steve Ellcey <sellcey@caviumnetworks.com>
3308
3309 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3310 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3311 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3312 fxstatat.
3313 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3314 lxstat.
3315 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3316 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3317 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3318 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3319 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3320 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3321 __xstat.
3322
3323 2016-11-29 Florian Weimer <fweimer@redhat.com>
3324
3325 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3326 Define.
3327 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3328 definition.
3329
3330 2016-11-29 Florian Weimer <fweimer@redhat.com>
3331
3332 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3333 version and turn into strong alias. Remove compat symbol.
3334
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3336 (__longjmp): Remove.
3337
3338 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3339
3340 * bits/fp-fast.h: New file.
3341 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3342 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3343 * math/Makefile (headers): Add bits/fp-fast.h.
3344 * math/math.h: Include <bits/fp-fast.h>.
3345 * bits/mathdef.h (FP_FAST_FMA): Remove.
3346 (FP_FAST_FMAF): Likewise.
3347 (FP_FAST_FMAL): Likewise.
3348 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3349 (FP_FAST_FMAF): Likewise.
3350 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3351 (FP_FAST_FMAF): Likewise.
3352 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3353 (FP_FAST_FMAF): Likewise.
3354 (FP_FAST_FMAL): Likewise.
3355 * sysdeps/arm/bits/mathdef.h: Remove file.
3356 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3358 * sysdeps/tile/bits/mathdef.h: Likewise.
3359
3360 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3361
3362 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3363 * math/w_ilogb.c: Remove.
3364 * math/w_ilogbf.c: Likewise.
3365 * math/w_ilogbl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3367 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3368 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3369 (libm-calls): Remove w_ilogbF.
3370 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3371 (LDOUBLE_ilogbl_libm_version): New macro.
3372
3373 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3374
3375 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3376 [!__STRICT_ANSI__ && !__cplusplus].
3377
3378 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3379
3380 [BZ #20750]
3381 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3382 of PIC.
3383
3384 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3385 Yury Norov <ynorov@caviumnetworks.com>
3386 Steve Ellcey <sellcey@caviumnetworks.com>
3387
3388 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3389 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3390 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3391 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3392 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3393 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3394 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3395 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3396 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3397 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3398 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3399 to get correct reg name for ILP32.
3400 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3401 (RELA_SIZE): New Macro.
3402 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3403 to support ILP32.
3404 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3405 cast for ILP32 mode.
3406 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3407 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3408 * sysdeps/aarch64/memset.S (__memset): Ditto.
3409 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3410 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3411 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3412 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3413 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3414 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3415 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3416 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3417 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3418 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3419 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3420 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3421 change PTR_MANGLE call to use register numbers instead of names.
3422 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3423 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3424 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3425 * sysdeps/aarch64/start.S (_start): Ditto.
3426 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3427 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3428 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3429 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3430 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3431 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3432 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3433 Make defined values dependent on __ILP32__.
3434 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3435 (sem_t): Change __align type.
3436 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3437 PTR_SIZE): New Macros.
3438 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3439 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3440 Set when in ILP32 mode.
3441 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3442 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3443 Set elf flags for ILP32.
3444 (add_system_dir): Set ILP32 library directories.
3445 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3446 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3447 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3448 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3449 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3450 New Macros.
3451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3452
3453 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3454
3455 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3456 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3457 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3458
3459 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3460
3461 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3462 <asm/cachectl.h>.
3463
3464 2016-11-27 Zack Weinberg <zackw@panix.com>
3465
3466 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3467 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3468
3469 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3470
3471 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3472 error_t to fix usage in C++ programs.
3473
3474 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3475
3476 * scripts/build-many-glibcs.py: Import datetime module.
3477 (Context.__init__): Load JSON build state. Initialize list of
3478 status logs.
3479 (Context.run_builds): Update saved build state.
3480 (Context.add_makefile_cmdlist): Update list of status logs.
3481 (Context.load_build_state_json): New function.
3482 (Context.store_build_state_json): Likewise.
3483 (Context.clear_last_build_state): Likewise.
3484 (Context.update_build_state): Likewise.
3485 (CommandList.status_logs): Likewise.
3486
3487 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3488
3489 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3490 script being executed.
3491 (Context.get_script_text): New function.
3492 (Context.exec_self): Likewise.
3493 (Context.checkout): Re-exec script if changed by checkout process.
3494
3495 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3496
3497 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3498 (setpayloadsig): New declaration.
3499 * math/Versions (setpayloadsig): New libm symbol at version
3500 GLIBC_2.25.
3501 (setpayloadsigf): Likewise.
3502 (setpayloadsigl): Likewise.
3503 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3504 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3505 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3506 (setpayloadsig_test_data): New array.
3507 (setpayloadsig_test): New function.
3508 (main): Call setpayloadsig_test.
3509 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3510 setpayloadsigf and setpayloadsigl.
3511 * manual/libm-err-tab.pl: Update comment on interfaces without
3512 ulps tabulated.
3513 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3514 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3519 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3520 setpayloadsig.
3521 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3522 * sysdeps/nacl/libm.abilist: Update.
3523 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3524 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3525 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3526 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3527 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3528 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3529 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3530 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3531 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3532 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3533 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3534 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3536 Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3538 Likewise.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3540 Likewise.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3542 Likewise.
3543 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3544 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3545 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3546 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3549 Likewise.
3550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3551 Likewise.
3552 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3553 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3554 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3555
3556 * scripts/build-many-glibcs.py: Import json module.
3557 (Context.__init__): Take replace_sources argument. Load
3558 versions.json.
3559 (Context.load_versions_json): New function.
3560 (Context.store_json): Likewise.
3561 (Context.store_versions_json): Likewise.
3562 (Context.set_component_version): Likewise.
3563 (Context.checkout): Update versions.json. Check for and handle
3564 changes of version. Prefer previously explicitly specified
3565 version to default version.
3566 (Context.checkout_vcs): Return a revision identifier.
3567 (Context.git_checkout): Likewise.
3568 (Context.gcc_checkout): Likewise.
3569 (get_parser): Add --replace-sources option.
3570 (main): Pass replace_sources argument to Context call.
3571
3572 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3573
3574 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3575 * nptl/allocatestack.c (allocate_stack): Likewise.
3576 (__reclaim_stacks): Likewise.
3577 (setxid_signal_thread): Obtain pid through syscall.
3578 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3579 (sighandle_setxid): Likewise.
3580 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3581 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3582 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3585 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3586 comment.
3587 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3588 * nptl/descr.h (struct pthread): Change comment about pid value.
3589 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3590 pid assert.
3591 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3592 Do not set pid value.
3593 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3594 pid cache check.
3595 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3596 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3597 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3598 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3599 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3600 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3601 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3602 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3603 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3604 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3605 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3606 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3607 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3608 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3609 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3610 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3611 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3612 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3613 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3614 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3615 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3616 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3617 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3618 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3619 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3622 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3623 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3624 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3626 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3627 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3629 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3630 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3631 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3632 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3633 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3634 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3635 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3636 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3637 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3640 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3642 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3643 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3645 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3646 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3647 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3648 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3649 struct access.
3650 (clone_test): Remove function.
3651 (do_test): Rewrite to take in consideration pid is not cached anymore.
3652
3653 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3654
3655 * bits/flt-eval-method.h: New file.
3656 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3657 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3658 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3659 * math/Makefile (headers): Add bits/flt-eval-method.h.
3660 * math/math.h: Include <bits/flt-eval-method.h>.
3661 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3662 [__USE_ISOC99] (double_t): Likewise.
3663 * bits/mathdef.h (float_t): Remove.
3664 (double_t): Likewise.
3665 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3666 (double_t): Likewise.
3667 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3668 (double_t): Likewise.
3669 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3670 (double_t): Likewise.
3671 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3672 (double_t): Likewise.
3673 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3674 (double_t): Likewise.
3675 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3676 (double_t): Likewise.
3677 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3678 (double_t): Likewise.
3679 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3680 (double_t): Likewise.
3681 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3682 (double_t): Likewise.
3683 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3684 (double_t): Likewise.
3685 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3686 (double_t): Likewise.
3687 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3688 (double_t): Likewise.
3689 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3690 (double_t): Likewise.
3691
3692 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3693
3694 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3695 instead of PIC.
3696
3697 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3698
3699 [BZ #20859]
3700 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3701 (-0x7fffffff) instead of 0x80000001.
3702 * math/test-fp-ilogb-constants.c: New file.
3703 * math/Makefile (tests): Add test-fp-ilogb-constants.
3704
3705 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3706
3707 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3708 (_init): Use it in place of hardcoded R_MIPS_JALR.
3709 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3710 (_init): Use it in place of hardcoded R_MIPS_JALR.
3711 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3712 (_init): Use it in place of hardcoded R_MIPS_JALR.
3713
3714 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3715
3716 [BZ #20787]
3717 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3718 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3719 (double_t): Do not define to double if [__x86_64__] when
3720 __FLT_EVAL_METHOD__ is nonzero.
3721 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3722 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3723 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3724 test-flt-eval-method-387 and test-flt-eval-method-sse.
3725 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3726 variable.
3727 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3728
3729 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3730
3731 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3732 use of -fno-isolate-erroneous-paths options for tilepro.
3733
3734 2016-11-23 Florian Weimer <fweimer@redhat.com>
3735
3736 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3737 structure initialization is no longer needed.
3738
3739 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3740
3741 [BZ #20855]
3742 * bits/mathdef.h (float_t): Define to float.
3743 * math/test-flt-eval-method.c: New file.
3744 * math/Makefile (tests): Add test-flt-eval-method.
3745 (CFLAGS-test-flt-eval-method.c): New variable.
3746
3747 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3748
3749 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3750 and __fstatfs. Make them aliases of __fstatfs64 if
3751 STATFS_IS_STATFS64 is set to non-zero.
3752 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3753 and __statfs64.
3754 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3755 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3756 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3757 for __statfs and statfs.
3758 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3759 to 0.
3760 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3761 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3762 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3763 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3764 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3765 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3769 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3770 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3771 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3772
3773 2016-11-22 Andreas Schwab <schwab@suse.de>
3774
3775 * misc/mkstemp.c: Include <fcntl.h>.
3776 * misc/mkstemps.c: Likewise.
3777 * misc/mkostemp.c: Likewise.
3778 * misc/mkostemps.c: Likewise.
3779
3780 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3781
3782 [BZ #20847]
3783 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3784 array bounds.
3785 (__execvpe): Likewise.
3786
3787 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3788
3789 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3790 -fno-isolate-erroneous-paths options for tilepro.
3791
3792 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3793
3794 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3795 to 0 when in 32 bit mode.
3796 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3797 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3798 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3799 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3801 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3802 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3803 XSTAT_IS_XSTAT64 test.
3804 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3805 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3806 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3807 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3808 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3809 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3810 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3811 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3812 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3813 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3814 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3815
3816 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3817
3818 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3819 (setpayload): New declaration.
3820 * math/Versions (setpayload): New libm symbol at version
3821 GLIBC_2.25.
3822 (setpayloadf): Likewise.
3823 (setpayloadl): Likewise.
3824 * math/Makefile (libm-calls): Add s_setpayloadF.
3825 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3826 test_Ff_b1_data.
3827 (RUN_TEST_Ff_b1): New macro.
3828 (RUN_TEST_LOOP_Ff_b1): Likewise.
3829 (canonicalize_test_data): Update type.
3830 (setpayload_test_data): New array.
3831 (setpayload_test): New function.
3832 (main): Call setpayload_test.
3833 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3834 setpayloadf and setpayloadl.
3835 * manual/libm-err-tab.pl: Update comment on interfaces without
3836 ulps tabulated.
3837 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3838 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3840 Likewise.
3841 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3849 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3850 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3851 setpayload.
3852 (CFLAGS-nldbl-setpayload.c): New variable.
3853 * sysdeps/nacl/libm.abilist: Update.
3854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3867 Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3869 Likewise.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3871 Likewise.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3873 Likewise.
3874 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3876 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3880 Likewise.
3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3886
3887 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3888
3889 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3890 * include/unistd.h: Extend comment about __access_noerrno return
3891 semantics.
3892 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3893 (access_common): Correct typo for EACCES.
3894
3895 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3896
3897 * sysdeps/tile/math-tests.h: New file.
3898
3899 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3900 (__old_set_dataplane): Rename from set_dataplane and make a
3901 compatibility symbol.
3902 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3903 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3904 sys/dataplane.h.
3905
3906 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3907
3908 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3909 script quote words in command output to log suitably for input to
3910 the shell.
3911
3912 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3913 Maciej W. Rozycki <macro@imgtec.com>
3914
3915 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3916 `.Lno_weak_fn' label.
3917 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3918 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3919
3920 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3921 Yury Norov <ynorov@caviumnetworks.com>
3922
3923 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3924 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3925 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3926 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3927 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3929 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3931 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3933 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3934 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3935 (sysdep_routines): Remove oldgetrlimit64.
3936 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3937 (sysdep_routines): Likewise.
3938 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3939 (sysdep_routines): Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3941 [$(subdir) = resource] (sysdep_routines): Likewise.
3942 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3943 [$(subdir) = resource] (sysdep_routines): Likewise.
3944 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3945 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3946 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3947 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3948 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3949 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3950 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3951 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3952 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3955 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3957 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3958 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3959 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3960 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3961 setrlimit and getrlimit.
3962 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3964 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3971 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3972 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3973 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3974 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3975 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3976 (__old_getrlimit64): Add compatibility symbol.
3977 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3978
3979 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3980
3981 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3982 newly built gmp, mpfr and mpc.
3983
3984 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3985
3986 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3987
3988 * conform/Makefile (linknamespace-libs): Rename to
3989 linknamespace-libs-thr.
3990 (linknamespace-libs-posix): New variable.
3991 (linknamespace-libs-xsi): Likewise.
3992 (linknamespace-libs-XPG3): Include libcrypt.a.
3993 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3994 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3995 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3996 (linknamespace-libs-XOPEN2K): Likewise.
3997 (linknamespace-libs-XOPEN2K8): Likewise.
3998 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3999
4000 [BZ #20829]
4001 * stdio-common/Versions (__snprintf): Add to version
4002 GLIBC_PRIVATE.
4003 * include/stdio.h (__snprintf): Use libc_hidden_proto.
4004 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4005 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4006 of snprintf.
4007 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4008
4009 2016-11-16 Zack Weinberg <zackw@panix.com>
4010
4011 * string/string.h: Remove obsolete comment stating that
4012 strcoll_l and strxfrm_l have not yet been standardized.
4013
4014 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4015
4016 * hurd/hurd.h (__hurd_fail_noerrno): New function.
4017 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4018 __access_noerrno.
4019 * io/access.c (__access_noerrno): New function.
4020 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4021 (hurd_fail_seterrno): Likewise.
4022 (access_common): Likewise.
4023 (__access_noerrno): Likewise.
4024 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4025 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4026 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4027 macro.
4028
4029 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4030
4031 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4032 Only declare fpregs if [__SH_FPU_ANY__].
4033
4034 2016-11-15 Joseph Myers <joseph@codesourcery.com>
4035
4036 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4037 Make code unconditional.
4038 [!(__SH4__ || __SH4A__)]: Remove conditional code.
4039
4040 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
4041
4042 * manual/sysinfo.texi (S_APPEND): Delete.
4043 (S_IMMUTABLE): Likewise.
4044
4045 2016-11-15 Denis Kaganovich <mahatma@eu.by>
4046 Magnus Granberg <zorry@gentoo.org>
4047 Mike Frysinger <vapier@gentoo.org>
4048
4049 [BZ #20662]
4050 * configure.ac (libc_cv_predef_stack_protector): Also check for
4051 __stack_chk_fail_local symbols.
4052 * configure: Regenerated.
4053
4054 2016-11-15 Florian Weimer <fweimer@redhat.com>
4055
4056 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4057 (libc_hidden_def): Remove redefinition.
4058 (__sigsetjmp): Add hidden definition.
4059 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4060 (libc_hidden_def): Remove redefinition.
4061 (__sigsetjmp): Add hidden definition.
4062
4063 2016-11-14 Joseph Myers <joseph@codesourcery.com>
4064
4065 * scripts/build-many-glibcs.py (os.path): Do not import.
4066 (Context): Inherit explicitly from object. Remove blank line
4067 between class and docstring.
4068 (Config): Likewise.
4069 (Glibc): Likewise.
4070 (Command): Likewise.
4071 (CommandList): Likewise.
4072 (Context.write_files): Store chmod mode in a variable.
4073
4074 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4075 LIBC_SLIBDIR_RTLDDIR for tilegx32.
4076 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4077
4078 2016-11-14 Zack Weinberg <zackw@panix.com>
4079
4080 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4081 creating or re-creating it.
4082
4083 * string/bits/string2.h: Fix typo in comment.
4084
4085 2016-11-14 Zack Weinberg <zackw@panix.com>
4086
4087 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4088 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4089 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4090 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4091 of redirected function names.
4092
4093 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4094 as well. Document that MESSAGE must be a single string literal.
4095
4096 2016-11-11 Joseph Myers <joseph@codesourcery.com>
4097
4098 * scripts/build-many-glibcs.py: New file.
4099
4100 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4101 (do_test): Disable -Wmaybe-uninitialized around uses of
4102 except_mask.
4103
4104 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4105
4106 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
4107
4108 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4109 (atomic_store_release): Provide tilepro-specific implementations.
4110
4111 2016-11-10 Joseph Myers <joseph@codesourcery.com>
4112
4113 * math/math.h (__MATH_TG): New macro.
4114 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4115 [__USE_ISOC99] (signbit): Likewise.
4116 [__USE_ISOC99] (isfinite): Likewise.
4117 [__USE_ISOC99] (isnan): Likewise.
4118 [__USE_ISOC99] (isinf): Likewise.
4119 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4120 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4121 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4122 __MATH_TG and __MATH_EVAL_FMT2.
4123 * sysdeps/generic/math_private.h (fabs_tg): Define using
4124 __MATH_TG.
4125 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4126 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4127 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4128 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4129 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4130 macro.
4131 (__iscanonical): Likewise.
4132 (iscanonical): Define using __MATH_TG.
4133
4134 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4135
4136 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4137 guards.
4138
4139 * sysdeps/unix/sysv/linux/access.c: New file.
4140 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4141
4142 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
4143
4144 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4145 and __WORDSIZE32_PTRDIFF_LONG.
4146
4147 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4148
4149 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4150
4151 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4152
4153 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4154 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4155 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4156 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4157 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4159 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4160 * sysdeps/unix/sysv/linux/truncate.c: New file.
4161 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4162 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4163 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4164 Remove.
4165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4166 Likewise.
4167
4168 * posix/tst-truncate-common.c: New file.
4169 * posix/tst-truncate.c: Use tst-truncate-common.c.
4170 * posix/tst-truncate64.c: Likewise and add LFS tests.
4171 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4172 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4173 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4174 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4175 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4177 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4178 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4179 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4180 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4181 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4182 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4183 Remove.
4184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4185 Likewise.
4186
4187 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4188
4189 [BZ #20790]
4190 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4191 to MAXLINESIZE.
4192 * sunrpc/bug20790.x: New file.
4193 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4194 variable.
4195 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4196 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4197
4198 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4199
4200 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4201
4202 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4203 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4204 calloc, realloc, free, memalign and __libc_memalign rather than
4205 making them optional.
4206
4207 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4208 for libc.so.
4209
4210 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4211
4212 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4213 ptw-lseek64.
4214 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4215 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4216 Likewise.
4217 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4218 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4219 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4220 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4221 * sysdeps/unix/sysv/linux/lseek.c: New file.
4222 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4223 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4224 __libc_lseek64 from auto-generation.
4225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4226 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4227
4228 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4229
4230 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4231 * nptl/tst-cleanup1.c (do_test): Likewise.
4232 * nptl/tst-cleanup3.c (do_test): Likewise.
4233 * nptl/tst-key1.c (do_test): Likewise.
4234 * nptl/tst-key2.c (tf, do_test): Likewise.
4235 * nptl/tst-key3.c (tf, do_test): Likewise.
4236 * nptl/tst-stdio1.c (do_test): Likewise.
4237 * nptl/tst-stdio2.c (do_test): Likewise.
4238
4239 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4240 * nptl/tst-kill6.c (handler): Likewise.
4241 * nptl/tst-tls2.c (CB): Likewise.
4242 * nptl/tst-tls3.c (CB): Likewise.
4243
4244 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4245
4246 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4247
4248 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4249 Steve Ellcey <sellcey@caviumnetworks.com>
4250
4251 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4252 __ASSUME_ST_INO_64_BIT as 0
4253 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4254 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4255 over the code where __ASSUME_ST_INO_64_BIT is used.
4256 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4257 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4258 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4259
4260 2016-11-07 Florian Weimer <fweimer@redhat.com>
4261
4262 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4263 Document ABI exposure of the __kind offset.
4264 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4265 Mention reason for the __kind offset exposure in the ABI.
4266 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4267 Likewise.
4268 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4269 Likewise.
4270 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4271 Likewise.
4272 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4273 (struct __pthread_mutex_s): Likewise.
4274 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4275 Likewise.
4276 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4277 Likewise.
4278 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4279 Likewise.
4280 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4281 Likewise.
4282 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4283 Likewise.
4284 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4285 Likewise.
4286 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4287 (struct __pthread_mutex_s): Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4289 (struct __pthread_mutex_s): Likewise.
4290 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4291 Likewise.
4292
4293 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4294
4295 * test-skeleton.c: Document do_test usage.
4296
4297 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4298
4299 * iconv/gconv.h (__gconv_info): Define __data element using a
4300 zero-length array.
4301
4302 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4303
4304 * math/test-tgmath2.c: Split up test function.
4305
4306 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4307
4308 * Rules (tests-expected): New variable, depending on
4309 $(run-built-tests).
4310 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4311 $(tests).
4312
4313 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4314 $(tests-unsupported).
4315
4316 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4317
4318 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4319 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4320
4321 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4322
4323 [BZ #20768]
4324 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4325 __fegetenv instead of fegetenv.
4326
4327 [BZ #14139]
4328 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4329 (find_files): Obtain platform name from libm-test-ulps-name and
4330 store in %pplatforms.
4331 (canonicalize_platform): Remove.
4332 (print_platforms): Use $pplatforms directly.
4333 (by_platforms): Do not allow for platforms missing from
4334 %pplatforms.
4335 * sysdeps/aarch64/libm-test-ulps-name: New file.
4336 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4337 * sysdeps/arm/libm-test-ulps-name: Likewise.
4338 * sysdeps/generic/libm-test-ulps-name: Likewise.
4339 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4340 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4341 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4342 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4343 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4344 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4345 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4346 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4347 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4348 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4349 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4350 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4351 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4352 * sysdeps/sh/libm-test-ulps-name: Likewise.
4353 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4354 * sysdeps/tile/libm-test-ulps-name: Likewise.
4355 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4356
4357 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4358
4359 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4360 (test-xfail-check-execstack): New variable.
4361
4362 * sysdeps/mips/localplt.data: New file.
4363
4364 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4365 Steve Ellcey <sellcey@caviumnetworks.com>
4366
4367 * bits/wordsize.h: Add documentation.
4368 * sysdeps/aarch64/bits/wordsize.h : New file
4369 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4370 definitions.
4371 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4372 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4373 with #if instead of #ifdef.
4374 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4375 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4376 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4377 Add or change defines.
4378 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4379 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4380 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4381 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4382 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4383 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4384 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4385 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4386 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4389 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4390 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4391 * sysdeps/x86/bits/wordsize.h: Likewise.
4392
4393 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4394 Kevin Petit <kevin.petit@arm.com>
4395
4396 * sysdeps/aarch64/memchr.S (__memchr): New file.
4397
4398 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4399
4400 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4401
4402 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4403
4404 [BZ #19398]
4405 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4406 $(linknamespace-symlists-tests).
4407
4408 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4409
4410 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4411
4412 2016-11-02 Florian Weimer <fweimer@redhat.com>
4413 Carlos O'Donell <carlos@redhat.com>
4414
4415 [Bug #20729]
4416 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4417 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4418 for -Os related change.
4419
4420 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4421
4422 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4423
4424 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4425
4426 [BZ #19673]
4427 * manual/math.texi (Exponents and Logarithms): Correct description
4428 of clog10.
4429
4430 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4431
4432 [Bz #20729]
4433 * locale/weight.h: Include libc-internal.h.
4434 * locale/weightwc.h: Likewise.
4435 * nptl/nptl_dbP.h: Likewise.
4436
4437 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4438
4439 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4440 when it is MACH_PORT_NULL.
4441
4442 2016-10-31 Andreas Schwab <schwab@suse.de>
4443
4444 [BZ #20707]
4445 * posix/glob.c (glob): Initialize pglob before checking for
4446 GLOB_BRACE. Don't call glob recursively if pattern contains no
4447 valid brace expression despite GLOB_BRACE.
4448 * posix/globtest.sh: Test it.
4449
4450 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4451
4452 [BZ #20729]
4453 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4454 Define.
4455 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4456 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4457 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4458 for seq2.back_us and seq1.back_us only for -Os compiles.
4459 * locale/weightwc.h (findix): Likewise.
4460 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4461 DB_GET_FIELD_ADDRESS only for -Os compiles.
4462 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4463 for slen only for -Os compiles.
4464 * string/strcoll_l.c (get_next_seq): Ignore
4465 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4466 for -Os compiles.
4467
4468 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4469 * include/crypt.h: New file.
4470
4471 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4472
4473 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4474 from test-skeleton.c.
4475 (statclass): Replace calls to write with calls to write_message.
4476
4477 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4478
4479 * math/math.h
4480 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4481 New macro.
4482 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4483 Likewise.
4484 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4485 Likewise.
4486 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4487 SNANL.
4488 * math/test-double.h (snan_value_MACRO): New macro.
4489 * math/test-float.h (snan_value_MACRO): Likewise.
4490 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4491 * math/libm-test.inc (issignaling_test_data): Add tests of
4492 snan_value_MACRO.
4493
4494 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4495
4496 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4497 behavior when eliding a lock not held by the current thread.
4498 * sysdeps/powerpc/nptl/elide.h: Likewise.
4499
4500 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4501
4502 [BZ #20728]
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4504 branch to _exit() by a function call.
4505
4506 2016-10-28 Florian Weimer <fweimer@redhat.com>
4507
4508 * malloc/malloc.c: Update chunk layout comments.
4509 (chunk_main_arena): Update comment.
4510
4511 2016-10-28 Florian Weimer <fweimer@redhat.com>
4512
4513 * crypt/sha256.c, crypt/sha256-block.c,
4514 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4515 sha256_process_block to __sha256_process_block.
4516 * crypt/sha512.c, crypt/sha512-block.c,
4517 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4518 sha512_process_block to __sha512_process_block.
4519
4520 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4521
4522 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4523
4524 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4525
4526 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 [BZ #20019]
4529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4530 definition in unrelocated shared library.
4531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4532
4533 2016-10-28 Florian Weimer <fweimer@redhat.com>
4534
4535 [BZ #20729]
4536 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4537 * sysdeps/unix/sysv/linux/i386/Makefile
4538 (uses-6-syscall-arguments): Define.
4539 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4540 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4541 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4542 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4543 Likewise.
4544 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4545 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4546 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4547 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4548 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4549 (CFLAGS-fallocate64.os): Likewise.
4550 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4551 (CFLAGS-pthread_rwlock_timedrdlock.os)
4552 (CFLAGS-pthread_rwlock_timedwrlock.o)
4553 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4554 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4555 (CFLAGS-sem_timedwait.os): Likewise.
4556
4557 2016-10-28 Florian Weimer <fweimer@redhat.com>
4558
4559 * elf/tst-linkall-static.c: New file.
4560 * elf/Makefile (tests-static): Add tst-linkall-static.
4561 (tst-linkall-static): Link against static libraries.
4562
4563 2016-10-27 Florian Weimer <fweimer@redhat.com>
4564
4565 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4566 mmaped chunks.
4567
4568 2016-10-28 Florian Weimer <fweimer@redhat.com>
4569
4570 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4571 members to mchunk_prev_size, mchunk_size.
4572 (chunk_main_arena): Reverse sense and rename from
4573 chunk_non_main_arena.
4574 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4575 mchunk_size instead of size.
4576 (set_non_main_arena): Define.
4577 (chunksize): Use chunksize_nomask instead of direct member access.
4578 (chunksize_nomask): Define.
4579 (next_chunk): Use chunksize instead of direct member access.
4580 (prev_size, set_prev_size): Define.
4581 (prev_chunk): Use prev_size instead of direct member access.
4582 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4583 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4584 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4585 (mchunk_prev_size, mchunk_size): Poison tokens.
4586 (unlink): Use chunksize_nomask, prev_size accessors.
4587 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4588 (do_check_free_chunk): Use prev_size accessor.
4589 (sysmalloc): Use set_prev_size, set_head accessors.
4590 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4591 (__libc_free): Use chunksize_nomask accessor.
4592 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4593 chunk_main_arena accessors.
4594 (_int_free): Use chunksize_nomask, prev_size accessors.
4595 (malloc_consolidate): Use chunksize, prev_size accessors.
4596 (_int_realloc): Use chunksize_nomask accessor.
4597 (_int_memalign): Use set_prev_size accessor.
4598 (__malloc_info): Use chunksize_nomask accessor.
4599 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4600 accessors.
4601 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4602 (heap_trim): Use chunksize_nomask, prev_size accessors.
4603
4604 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4605
4606 [BZ #19380]
4607 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4608 for inexact results.
4609 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4610 of inexact result where mpfr_subnormalize is the only inexact
4611 step.
4612 * stdlib/tst-strtod-round-data.h: Regenerated.
4613 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4614 Define to 0.
4615 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4616
4617 2016-10-27 David S. Miller <davem@davemloft.net>
4618
4619 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4620
4621 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4622
4623 * malloc/malloc.c (do_set_mallopt_check): New function.
4624 (do_set_mmap_threshold): Likewise.
4625 (do_set_mmaps_max): Likewise.
4626 (do_set_top_pad): Likewise.
4627 (do_set_perturb_byte): Likewise.
4628 (do_set_trim_threshold): Likewise.
4629 (do_set_arena_max): Likewise.
4630 (do_set_arena_test): Likewise.
4631 (__libc_mallopt): Use them.
4632
4633 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4634
4635 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4636 (canonicalize): New declaration.
4637 * math/Versions (canonicalize): New libm symbol at version
4638 GLIBC_2.25.
4639 (canonicalizef): Likewise.
4640 (canonicalizel): Likewise.
4641 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4642 * math/s_canonicalize_template.c: New file.
4643 * math/libm-test.inc: Update comment on functions tested and
4644 testing of NaN payloads.
4645 (TEST_NAN_PAYLOAD): New macro.
4646 (NO_TEST_INLINE): Update value.
4647 (XFAIL_TEST): Likewise.
4648 (ERRNO_UNCHANGED): Likewise.
4649 (ERRNO_EDOM): Likewise.
4650 (ERRNO_ERANGE): Likewise.
4651 (IGNORE_RESULT): Likewise.
4652 (NON_FINITE): Likewise.
4653 (TEST_SNAN): Likewise.
4654 (NO_TEST_MATHVEC): Likewise.
4655 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4656 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4657 (struct test_Ffp_b1_data): New type.
4658 (RUN_TEST_Ffp_b1): New macro.
4659 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4660 (canonicalize_test_data): New array.
4661 (canonicalize_test): New function.
4662 (main): Call canonicalize_test.
4663 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4664 canonicalizef and canonicalizel.
4665 * manual/libm-err-tab.pl: Update comment on interfaces without
4666 ulps tabulated.
4667 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4668 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4669 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4670 canonicalize.
4671 (CFLAGS-nldbl-canonicalize.c): New variable.
4672 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4673 to ...
4674 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4675 ... here.
4676 (do_test): Also test canonicalizel.
4677 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4678 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4679 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4680 file.
4681 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4682 Use libm_hidden_def.
4683 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4684 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4685 (do_test): Also test canonicalizel.
4686 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4687 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4688 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4689 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4690 libm_hidden_def.
4691 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4692 macro.
4693 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4694 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4695 * sysdeps/nacl/libm.abilist: Update.
4696 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4697 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4698 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4699 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4700 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4701 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4702 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4703 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4704 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4705 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4707 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4709 Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4711 Likewise.
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4713 Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4715 Likewise.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4720 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4722 Likewise.
4723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4724 Likewise.
4725 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4726 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4728
4729 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4730 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4731 getpayload.
4732 (CFLAGS-nldbl-getpayload.c): New variable.
4733
4734 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4735
4736 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4737 integer from the format string.
4738
4739 2016-10-26 Florian Weimer <fweimer@redhat.com>
4740
4741 [BZ #19473]
4742 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4743 declarations.
4744 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4745 weak aliases.
4746 * malloc/hooks.c (__malloc_get_state): Remove definition.
4747 (malloc_get_state): New stub implementation as
4748 compatibility symbol.
4749 (malloc_set_state): Rename from __malloc_set_state. Turn into
4750 compat symbol.
4751 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4752 malloc_set_state.
4753 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4754
4755 2016-10-26 Florian Weimer <fweimer@redhat.com>
4756
4757 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4758 (names): Turn into concatenation of strings.
4759 (gconv_init): Adapt iteration over names.
4760
4761 2016-10-26 Florian Weimer <fweimer@redhat.com>
4762
4763 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4764 make const.
4765 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4766 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4767 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4768 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4769 character in sbconv.
4770 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4771 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4772 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4773
4774 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4775
4776 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4777
4778 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4779 (M_TRIM_THRESHOLD): Likewise.
4780
4781 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4782 (M_ARENA_MAX): Likewise.
4783 * malloc/malloc.c: Remove obsolete comment.
4784
4785 * manual/memory.texi: Add environment variable alternatives to
4786 setting mallopt parameters.
4787
4788 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4789
4790 * include/atomic.h
4791 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4792 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4793
4794 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4795
4796 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4797 * stdlib/tst-strfrom.h: New file.
4798 * stdlib/tst-strfrom.c: New file.
4799 * stdlib/tst-strfrom-locale.c: New file.
4800
4801 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4802 * stdlib/bug-strtod2.c: Likewise.
4803 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4804 * stdlib/tst-strtod6.c: Likewise.
4805 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4806
4807 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4808
4809 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4810 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4811 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4812 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4813 * stdlib/stdlib.h (strfromd): New declaration.
4814 (strfromf): Likewise.
4815 (strfroml): Likewise.
4816 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4817 strfrom.
4818 * stdlib/strfromd.c: New file.
4819 * stdlib/strfromf.c: Likewise.
4820 * stdlib/strfroml.c: Likewise.
4821 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4822 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4823 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4824 * sysdeps/arm/nacl/libc.abilist: Update.
4825 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4834 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4838 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4843 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4844 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4845 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4850 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4851 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4852 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4853
4854 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4855
4856 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4857 instead of cmpli.
4858 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4859 instead of cmpli.
4860
4861 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4862
4863 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4864 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4865 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4866 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4867 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4868 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4869
4870 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4871
4872 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4873 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4874 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4875 SYSCALL_LL64_PRW.
4876 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4877 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4878 __ASSUME_PRW_DUMMY_ARG.
4879 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4880 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4881 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4882 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4883 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4884 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4885
4886 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4887
4888 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4889
4890 2016-10-22 Florian Weimer <fweimer@redhat.com>
4891
4892 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4893 "C++", to override a potential extern "C" directive around the
4894 header file inclusion.
4895
4896 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4897
4898 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4899
4900 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4901
4902 * sysdeps/powerpc/fpu/fenv_private.h:
4903 (_FPU_MASK_ALL): Rename to...
4904 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4905 XE FPSCR bits.
4906
4907 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4908
4909 (_FPU_MASK_ROUNDING): Rename to...
4910 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4911 NI bits.
4912
4913 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4914 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4915 bits and rounding bits.
4916
4917 (__libc_feholdbits_ppc): New inline function to mask, set,
4918 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4919 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4920 (libc_feholdexcept_setround_ppc): Likewise.
4921
4922 (__libc_femergeenv_ppc): New function to dynamically mask both
4923 old and new FP environments and merge.
4924 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4925 (libc_feresetround_ppc): Likewise.
4926 (libc_feupdateenv_test_ppc): Likewise.
4927 (libc_feupdateenv_ppc): Likewise.
4928
4929 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4930 of ISA RN bits, and update macro names.
4931 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4932 effectively the same as the previously mentioned function.
4933
4934 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4935 usage with fe_resetround_ppc.
4936
4937 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4938 to be used.
4939 (libc_feholdexcept_setround_ctxf): Likewise.
4940 (libc_feholdexcept_setround_ctxl): Likewise.
4941
4942 2016-10-21 Florian Weimer <fweimer@redhat.com>
4943
4944 [BZ #20715]
4945 * math/math.h [__cplusplus] (iszero): Define as function template.
4946 * math/Makefile [CXX] (tests): Add test-math-iszero.
4947 (CFLAGS-test-math-iszero.cc): Set.
4948 * math/test-math-iszero.cc: New file.
4949
4950 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4951
4952 [BZ #20660]
4953 * sysdeps/arm/e_sqrt.c: New file.
4954 * sysdeps/arm/e_sqrtf.c: Likewise.
4955
4956 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4957
4958 [BZ #20718]
4959 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4960 not use floating-point comparisons to test sign.
4961 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4962 Likewise.
4963
4964 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4965 (getpayload): New declaration.
4966 * math/Versions (getpayload): New libm symbol at version
4967 GLIBC_2.25.
4968 (getpayloadf): Likewise.
4969 (getpayloadl): Likewise.
4970 * math/Makefile (libm-calls): Add s_getpayloadF.
4971 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4972 (struct test_f_f_data): Add comment.
4973 (RUN_TEST_fp_f): New macro.
4974 (RUN_TEST_LOOP_fp_f): Likewise.
4975 (getpayload_test_data): New array.
4976 (getpayload_test): New function.
4977 (main): Call getpayload_test.
4978 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4979 descriptor.
4980 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4981 getpayloadf and getpayloadl.
4982 * manual/libm-err-tab.pl: Update comment on interfaces without
4983 ulps tabulated.
4984 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4985 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4986 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4990 * sysdeps/nacl/libm.abilist: Update.
4991 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5004 Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5010 Likewise.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5012 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5013 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5015 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5017 Likewise.
5018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5019 Likewise.
5020 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5021 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5022 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5023
5024 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5025
5026 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5027 tst-fallocate{64}.
5028 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5029 on syscall return.
5030
5031 2016-10-17 Carlos O'Donell <carlos@redhat.com>
5032
5033 [BZ #20689]
5034 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5035 usable.
5036
5037 2016-10-17 Joseph Myers <joseph@codesourcery.com>
5038
5039 * sysdeps/generic/nan-high-order-bit.h: New file.
5040 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5041 * sysdeps/mips/nan-high-order-bit.h: Likewise.
5042 * sysdeps/hppa/math_private.h: Remove file.
5043 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5044 not define here.
5045 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5046 <nan-high-order-bit.h>.
5047 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5048 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5049 <nan-high-order-bit.h>.
5050 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5051 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5052 <nan-high-order-bit.h>.
5053 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5054 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5055 <nan-high-order-bit.h>.
5056 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5057 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5058 <nan-high-order-bit.h>.
5059 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5060 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5061 <nan-high-order-bit.h>.
5062 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5063 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5064 <nan-high-order-bit.h>.
5065 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5066 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5067 <nan-high-order-bit.h>.
5068 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5069 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5070 <nan-high-order-bit.h>.
5071 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5072 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5073 <nan-high-order-bit.h>.
5074 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5075 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5076 <nan-high-order-bit.h>.
5077 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5078 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5079 <nan-high-order-bit.h>.
5080 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5081 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5082 <nan-high-order-bit.h>.
5083 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5084 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5085 <nan-high-order-bit.h>.
5086 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5087 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5088 <nan-high-order-bit.h>.
5089 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5090 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5091 <nan-high-order-bit.h>.
5092 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5093 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5094 <nan-high-order-bit.h>.
5095 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5096 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5097 <nan-high-order-bit.h>.
5098 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5099
5100 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5101
5102 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5103
5104 2016-09-22 John David Anglin <dave.anglin@bell.net>
5105
5106 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5107 abort-instr.h.
5108 (EFAULT): Remove conditional define.
5109 (ENOSYS): Likewise.
5110 (atomic_compare_and_exchange_val_acq): Use instruction nullification
5111 instead of conditional branch instructions.
5112
5113 2016-10-15 Joseph Myers <joseph@codesourcery.com>
5114
5115 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5116 (totalordermag): New declaration.
5117 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5118 New macro.
5119 * math/Versions (totalordermag): New libm symbol at version
5120 GLIBC_2.25.
5121 (totalordermagf): Likewise.
5122 (totalordermagl): Likewise.
5123 * math/Makefile (libm-calls): Add s_totalordermagF.
5124 * math/libm-test.inc (totalordermag_test_data): New array.
5125 (totalordermag_test): New function.
5126 (main): Call totalordermag_test.
5127 * math/test-tgmath.c (NCALLS): Increase to 125.
5128 (F(compile_test)): Call totalordermag.
5129 (F(totalordermag)): New function.
5130 * manual/arith.texi (FP Comparison Functions): Document
5131 totalordermag, totalordermagf and totalordermagl.
5132 * manual/libm-err-tab.pl: Update comment on interfaces without
5133 ulps tabulated.
5134 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5136 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5137 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5140 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5141 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5142 totalordermag.
5143 (CFLAGS-nldbl-totalordermag.c): New variable.
5144 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5145 (do_test): Also test totalordermagl.
5146 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5147 Likewise.
5148 * sysdeps/nacl/libm.abilist: Update.
5149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5150 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5151 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5152 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5158 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5164 Likewise.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5171 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5175 Likewise.
5176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5177 Likewise.
5178 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5179 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5180 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5181
5182 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5183
5184 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5185 boolean.
5186
5187 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5188
5189 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5190 raising FE_INVALID with feraisexcept in case where part of
5191 argument is infinite, subtract that part of argument from itself.
5192 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5193 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5194 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5195
5196 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5197
5198 * math/libm-test.inc (totalorder_test_data): Add more tests.
5199
5200 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5201
5202 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5203 Undefine weak_alias and add a comment why mips64 require
5204 versioning.
5205
5206 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5207
5208 [BZ #20647]
5209 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5210 maximum CPUID level is less than 2.
5211
5212 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5213
5214 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5215 (totalorder): New declaration.
5216 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5217 New macro.
5218 * math/Versions (totalorder): New libm symbol at version
5219 GLIBC_2.25.
5220 (totalorderf): Likewise.
5221 (totalorderl): Likewise.
5222 * math/Makefile (libm-calls): Add s_totalorderF.
5223 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5224 string.
5225 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5226 (qnan_value_pl): Likewise.
5227 (snan_value_pl): Likewise.
5228 (qnan_value): Define using qnan_value_pl.
5229 (snan_value): Define using snan_value_pl.
5230 (struct test_ff_i_data): Add comment about which tests use this
5231 structure.
5232 (RUN_TEST_ff_b): New macro.
5233 (RUN_TEST_LOOP_ff_b): Likewise.
5234 (totalorder_test_data): New array.
5235 (totalorder_test): New function.
5236 (main): Call totalorder_test.
5237 * math/test-tgmath.c (NCALLS): Increase to 122.
5238 (F(compile_test)): Call totalorder.
5239 (F(totalorder)): New function.
5240 * manual/arith.texi (FP Comparison Functions): Document
5241 totalorder, totalorderf and totalorderl.
5242 * manual/libm-err-tab.pl: Update comment on interfaces without
5243 ulps tabulated.
5244 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5246 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5251 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5252 totalorder.
5253 (CFLAGS-nldbl-totalorder.c): New variable.
5254 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5255 file.
5256 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5257 Add test-totalorderl-ldbl-128ibm.
5258 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5259 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5260 test-totalorderl-ldbl-96.
5261 * sysdeps/nacl/libm.abilist: Update.
5262 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5263 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5264 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5265 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5266 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5267 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5268 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5269 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5270 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5271 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5272 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5273 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5275 Likewise.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5277 Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5279 Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5283 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5284 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5285 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5294
5295 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5296
5297 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5298 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5299 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5300 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5301 remove ENOSYS implementation.
5302 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5303 Consolidate all Linux implementations.
5304
5305 2016-10-11 Florian Weimer <fweimer@redhat.com>
5306
5307 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5308 * resolv/herror.c (herror): Cast away const-ness.
5309 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5310 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5311
5312 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5313
5314 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5315 instead of M_NAN + M_NAN.
5316 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5317
5318 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5319
5320 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5321 unused variable 'p'.
5322
5323 2016-10-09 Alan Modra <amodra@gmail.com>
5324 Andreas Schwab <schwab@linux-m68k.org>
5325
5326 [BZ #20554]
5327 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5328 [PIC && !SHARED]: Set up PIC register for PLT call.
5329
5330 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5331
5332 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5333 conditional on value of [__FLT_EVAL_METHOD__].
5334 * math/test-iseqsig-excess-precision.c: New file.
5335 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5336
5337 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5338
5339 * math/s_iseqsig_template.c: Include math-private.h.
5340
5341 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5342 * posix/tst-posix_fadvise.c: New file.
5343 * posix/tst-posix_fadvise64.c: Likewise.
5344 * posix/tst-posix_fadvise-common.c: Likewise.
5345 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5346 (__ASSUME_FADVISE64_64_6ARG): Define.
5347 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5348 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5349 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5350 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5351 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5352 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5353 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5354 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5355 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5356 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5357 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5358 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5361 Likewise.
5362 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5363 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5364 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5365 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5366 Alias to __posix_fadvise64_l32.
5367 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5368 Add compat definition to posix_fadvise64.
5369 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5370 Add versioned definition to posix_fadvise64.
5371 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5372 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5373 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5374 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5375 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5376
5377 * io/Makefile (tests): Add tst-posix_fallocate and
5378 tst-posix_fallocate64.
5379 * io/tst-posix_fallocate-common.c: New file.
5380 * io/tst-posix_fallocate.c: Likewise.
5381 * io/tst-posix_fallocate64.c: Likewise.
5382 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5383 file.
5384 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5385 Likewise.
5386 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5387 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5388 Likewise.
5389 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5390 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5391 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5392 SYSCALL_LL to pass both offset and len arguments.
5393 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5394 Likewise.
5395 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5396 __libc_pwrite64 alias used by posix_fallocate64.
5397
5398 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5399 tst-fallocate64.
5400 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5401 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5402 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5403 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5404 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5405 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5406 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5407 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5408 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5409 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5410 macro on offset argument.
5411 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5412 SYSCALL_LL64 on offset argument.
5413
5414 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5415 tst-fallocate64.
5416 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5417 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5418 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5419 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5420 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5421 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5422 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5424 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5425 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5426 macro on offset argument.
5427 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5428 SYSCALL_LL64 on offset argument.
5429 * test-skeleton.c (FAIL_RET): Add macro.
5430 (FAIL_EXIT): Likewise.
5431 (FAIL_EXIT1): Likewise.
5432 (_FAIL): Likewise.
5433
5434 2016-10-07 Florian Weimer <fweimer@redhat.com>
5435
5436 [BZ #20629]
5437 resolv: Remove RES_USEBSTRING and its implementation.
5438 * resolv/resolv.h (RES_USEBSTRING): Remove.
5439 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5440 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5441 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5442 (labellen): Remove extended label types support.
5443 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
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: Remove RES_NOIP6DOTINT and its implementation.
5450 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5451 (RES_NOIP6DOTINT): Remove.
5452 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5453 handling.
5454 * resolv/res_debug.c (p_option): Likewise.
5455 * resolv/res_init.c (res_setoptions): Likewise.
5456 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5457
5458 2016-10-07 Florian Weimer <fweimer@redhat.com>
5459
5460 resolv: Deprecate unimplemented flags.
5461 * misc/sys/cdefs.h (__glibc_macro_warning1)
5462 (__glibc_macro_warning): Define.
5463 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5464 (RES_KEEPTSIG): Mark as deprecated.
5465 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5466 RES_NOCHECKNAME, RES_KEEPTSIG.
5467 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5468
5469 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5470
5471 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5472 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5473 Use strong_alias to create symbols for glibc verison 2.19.
5474
5475 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5476
5477 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5478
5479 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5480
5481 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5482
5483 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5484
5485 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5486
5487 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5488
5489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5490 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5491 in header for using it as type for ifunc function because __GI_* symbols
5492 for ppc32 do not target the ifunc symbols.
5493 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5494
5495 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5496
5497 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5498 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5499 libc_ifunc_hidden_def.
5500 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5501 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5502 Redirect ifunced function in header for using it as type of ifunc'ed
5503 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5504 function for __GI_* symbol.
5505 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5506 * include/libc-symbols.h
5507 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5508
5509 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5510
5511 [BZ #20478]
5512 * sysdeps/s390/multiarch/ifunc-resolve.h
5513 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5514 to create ifunc symbols.
5515 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5516 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5517 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5518 for using it as type for ifunc function.
5519 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5520 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5521 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5522 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5523 * sysdeps/s390/multiarch/strcat.c: Likewise.
5524 * sysdeps/s390/multiarch/strchr.c: Likewise.
5525 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5526 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5527 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5528 * sysdeps/s390/multiarch/strlen.c: Likewise.
5529 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5530 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5531 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5532 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5533 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5534 * sysdeps/s390/multiarch/strspn.c: Likewise.
5535 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5536 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5537 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5538 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5539 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5540 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5541 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5542 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5543 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5544 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5545 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5546 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5547
5548 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5549
5550 * include/libc-symbols.h (__ifunc_resolver):
5551 New macro is used by __ifunc* macros.
5552 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5553 depending on HAVE_GCC_IFUNC.
5554 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5555 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5557 Redirect ifunced function in header for using as type for ifunc function.
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5564 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5565 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5567 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5568 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5569 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5578 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5579 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5581 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5583 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5586 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5587 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5589 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5590 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5592 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5593 instead of libc_ifunc() macro.
5594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5596
5597 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5598
5599 * config.h.in (HAVE_GCC_IFUNC): New undef.
5600 * configure.ac: Add check if gcc supports attribute ifunc feature.
5601 * configure: Regenerated.
5602 * manual/install.texi: Add recommendation for gcc with
5603 indirect-function support.
5604 * INSTALL: Regenerated.
5605
5606 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5607
5608 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5609 macro.
5610 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5611 (__iseqsig): New declaration.
5612 * math/s_iseqsig_template.c: New file.
5613 * math/Versions (__iseqsigf): New libm symbol at version
5614 GLIBC_2.25.
5615 (__iseqsig): Likewise.
5616 (__iseqsigl): Likewise.
5617 * math/libm-test.inc (iseqsig_test_data): New array.
5618 (iseqsig_test): New function.
5619 (main): Call iseqsig_test.
5620 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5621 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5622 * manual/libm-err-tab.pl: Update comment on interfaces without
5623 ulps tabulated.
5624 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5625 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5626 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5627 * sysdeps/nacl/libm.abilist: Update.
5628 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5629 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5630 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5631 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5632 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5633 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5634 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5635 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5636 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5637 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5638 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5639 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5641 Likewise.
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5643 Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5645 Likewise.
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5647 Likewise.
5648 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5649 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5650 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5651 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5654 Likewise.
5655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5656 Likewise.
5657 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5658 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5659 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5660
5661 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5662
5663 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5664 do_sincos_2, sloww, sloww1): Update comments.
5665
5666 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5667 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5668
5669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5670 K boolean and rename it.
5671 (__sin): Adjust.
5672 (__cos): Adjust.
5673
5674 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5675 Siddhesh Poyarekar <siddhesh@sourceware.org>
5676
5677 * manual/nss.texi: Fix typos in the manual.
5678
5679 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5680
5681 * manual/contrib.texi: Fix typos in the manual.
5682
5683 * manual/maint.texi: Fix typos in the manual.
5684
5685 * manual/install.texi: Fix typos in the manual.
5686 * INSTALL: Regenerated.
5687
5688 * manual/lang.texi: Fix typos in the manual.
5689
5690 * manual/probes.texi: Fix typos in the manual.
5691
5692 * manual/threads.texi: Fix typos in the manual.
5693
5694 * manual/debug.texi: Fix typos in the manual.
5695
5696 * manual/crypt.texi: Fix typos in the manual.
5697
5698 * manual/conf.texi: Fix typos in the manual.
5699
5700 * manual/sysinfo.texi: Fix typos in the manual.
5701
5702 * manual/users.texi: Fix typos in the manual.
5703
5704 * manual/job.texi: Fix typos in the manual.
5705
5706 * manual/process.texi: Fix typos in the manual.
5707
5708 * manual/argp.texi: Fix typos in the manual.
5709 * manual/getopt.texi: Likewise.
5710 * manual/startup.texi: Likewise.
5711
5712 * manual/signal.texi: Fix typos in the manual.
5713
5714 * manual/setjmp.texi: Fix typos in the manual.
5715
5716 * manual/resource.texi: Fix typos in the manual.
5717
5718 * manual/time.texi: Fix typos in the manual.
5719
5720 * manual/arith.texi: Fix typos in the manual.
5721
5722 * manual/math.texi: Fix typos in the manual.
5723
5724 * manual/syslog.texi: Fix typos in the manual.
5725
5726 * manual/terminal.texi: Fix typos in the manual.
5727
5728 * manual/socket.texi: Fix typos in the manual.
5729
5730 * manual/filesys.texi: Fix typos in the manual.
5731
5732 * manual/llio.texi: Fix typos in the manual.
5733
5734 * manual/stdio.text: Fix typos in the manual.
5735
5736 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5737
5738 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5739 instead of K1.
5740
5741 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5742 SHIFT_QUADRANT and make it bool.
5743 (do_sincos_2): Likewise.
5744 (sloww): Likewise.
5745 (sloww1): Likewise.
5746 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5747 (__cos): Likewise.
5748
5749 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5752
5753 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5754
5755 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5756 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5757 0x7fffffffL].
5758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5759
5760 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5761
5762 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5763 inline by __inline__.
5764 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5765 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5766 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5767 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5768 sigset_t from signal.h.
5769 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5770 which is already required.
5771
5772 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5773
5774 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5775
5776 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5777
5778 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5779 (struct tcp_repair_window): New type.
5780
5781 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5782
5783 * libio/tst-memstream3.c: Include string.h.
5784
5785 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5786
5787 [BZ #18241]
5788 [BZ #20181]
5789 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5790 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5791 write position is at the end the buffer.
5792 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5793 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5794 (_IO_str_seekoff): Set correct offset from negative displacement and
5795 set EINVAL for invalid ones.
5796 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5797 buffer length.
5798 (_IO_wstr_switch_to_get_mode): New function.
5799 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5800 set EINVAL for invalid ones.
5801 * libio/tst-memstream3.c: New file.
5802 * libio/tst-wmemstream3.c: Likewise.
5803 * manual/examples/memstrm.c: Remove warning when priting size_t.
5804
5805 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5806
5807 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5808 macro to use __builtin_fma.
5809 * sysdeps/x86_64/fpu/dla.h: Remove file.
5810
5811 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5812 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5813 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5814
5815 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5816
5817 [BZ #20292]
5818 * elf/Makefile (routines): Add dl-addr-obj.
5819 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5820 tst-_dl_addr_inside_object.
5821 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5822 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5823 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5824 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5825 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5826 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5827 * elf/dl-open.c: Likewise.
5828 * elf/dl-addr-obj.c: New file.
5829 * elf/tst-_dl_addr_inside_object.c: New file.
5830
5831 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5832
5833 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5834 <bits/iscanonical.h>.
5835 * bits/iscanonical.h: New file.
5836 * math/s_iscanonicall.c: Likewise.
5837 * math/Versions (__iscanonicall): New libm symbol at version
5838 GLIBC_2.25.
5839 * math/libm-test.inc (iscanonical_test_data): New array.
5840 (iscanonical_test): New function.
5841 (main): Call iscanonical_test.
5842 * math/Makefile (headers): Add bits/iscanonical.h.
5843 (type-ldouble-routines): Add s_iscanonicall.
5844 * manual/arith.texi (Floating Point Classes): Document
5845 iscanonical.
5846 * manual/libm-err-tab.pl: Update comment on interfaces without
5847 ulps tabulated.
5848 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5849 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5851 Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5853 test-iscanonical-ldbl-128ibm.
5854 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5855 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5856 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5857 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5860 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5862 Likewise.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5864 Likewise.
5865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5866 Likewise.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5868 Likewise.
5869 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5870 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5871
5872 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5873
5874 * string/bits/string3.h: Remove C++ style comments.
5875
5876 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5877
5878 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5879 instead of ternary condition.
5880 (do_sincos_2): Likewise.
5881 (__sin): Likewise.
5882 (__cos): Likewise.
5883 (slow): Likewise.
5884 (sloww): Likewise.
5885 (sloww1): Likewise.
5886 (bsloww): Likewise.
5887 (bsloww1): Likewise.
5888
5889 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5890 instead of ternary condition.
5891 (do_sin_slow): Likewise.
5892 (do_sincos_1): Likewise.
5893 (do_sincos_2): Likewise.
5894 (__cos): Likewise.
5895 (sloww): Likewise.
5896 (sloww1): Likewise.
5897 (sloww2): Likewise.
5898 (bsloww): Likewise.
5899 (bsloww1): Likewise.
5900 (bsloww2): Likewise.
5901
5902 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5903 check from here...
5904 (slow2): ... and here...
5905 (__sin): ... to here.
5906
5907 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5908
5909 * math/math.h
5910 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5911 Cast argument to its own type.
5912 * math/test-iszero-excess-precision.c: New file.
5913 * math/Makefile (tests): Add test-iszero-excess-precision.
5914 (CFLAGS-test-iszero-excess-precision.c): New variable.
5915
5916 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5917
5918 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5919 field, add err field.
5920 (__spawni_child): Report error through err member instead of pipe.
5921 (__spawnix): Likewise.
5922
5923 2016-09-28 Zack Weinberg <zackw@panix.com>
5924
5925 * scripts/check-installed-headers.sh: Generalize treatment of
5926 sys/elf.h to all target architectures.
5927
5928 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5929 deleted typedef ucontext_t.
5930
5931 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5932
5933 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5934 (__INTERNAL_SYSCALL1): Likewise.
5935 (__INTERNAL_SYSCALL2): Likewise.
5936 (__INTERNAL_SYSCALL3): Likewise.
5937 (__INTERNAL_SYSCALL4): Likewise.
5938 (__INTERNAL_SYSCALL5): Likewise.
5939 (__INTERNAL_SYSCALL6): Likewise.
5940 (__INTERNAL_SYSCALL7): Likewise.
5941 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5942 (__INTERNAL_SYSCALL_NARGS): Likewise.
5943 (__INTERNAL_SYSCALL_DISP): Likewise.
5944 (INTERNAL_SYSCALL_CALL): Likewise.
5945 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5946 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5947 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5948 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5949 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5950 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5951 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5952 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5953 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5954 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5955 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5956 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5957 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5958
5959 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5960
5961 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5962 macro.
5963 * math/libm-test.inc (iszero_test_data): New array.
5964 (iszero_test): New function.
5965 (main): Call iszero_test.
5966 * manual/arith.texi (Floating Point Classes): Document iszero.
5967 * manual/libm-err-tab.pl: Update comment on interfaces without
5968 ulps tabulated.
5969
5970 2016-09-23 Zack Weinberg <zackw@panix.com>
5971
5972 * scripts/check-installed-headers.sh: New script.
5973 * Rules: In each directory that defines header files to be installed,
5974 run check-installed-headers.sh on them as a special test.
5975 * Makefile: Likewise for the headers installed at top level.
5976
5977 * include/aliases.h, include/alloca.h, include/argz.h
5978 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5979 * include/elf.h, include/envz.h, include/err.h
5980 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5981 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5982 * include/link.h, include/malloc.h, include/mcheck.h
5983 * include/mntent.h, include/netinet/ether.h
5984 * include/nss.h, include/obstack.h, include/printf.h
5985 * include/pty.h, include/resolv.h, include/rpc/auth.h
5986 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5987 * include/rpc/clnt.h, include/rpc/des_crypt.h
5988 * include/rpc/key_prot.h, include/rpc/netdb.h
5989 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5990 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5991 * include/rpc/rpc_msg.h, include/rpc/svc.h
5992 * include/rpc/svc_auth.h, include/rpc/xdr.h
5993 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5994 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5995 * include/rpcsvc/ypupd.h, include/shadow.h
5996 * include/stdio_ext.h, include/sys/epoll.h
5997 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5998 * include/sys/prctl.h, include/sys/profil.h
5999 * include/sys/statfs.h, include/sys/sysctl.h
6000 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6001 * sysdeps/arm/nacl/include/bits/setjmp.h
6002 * sysdeps/mips/include/sys/asm.h
6003 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6004 * sysdeps/unix/sysv/linux/include/sys/timex.h
6005 * sysdeps/x86/fpu/include/bits/fenv.h:
6006 Add #ifndef _ISOMAC guard around internal declarations.
6007 Add multiple-inclusion guard if not already present.
6008
6009 2016-09-23 Zack Weinberg <zackw@panix.com>
6010
6011 * sysdeps/generic/sys/ucontext.h
6012 * sysdeps/arm/sys/ucontext.h
6013 * sysdeps/i386/sys/ucontext.h
6014 * sysdeps/m68k/sys/ucontext.h
6015 * sysdeps/mips/sys/ucontext.h
6016 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6017 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6018 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6019 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6020 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6021 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6022 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6023 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6024 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6025 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6026 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6027 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6028 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6029 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6030 Include both bits/sigcontext.h and bits/sigstack.h.
6031 Fix grammar error in comment, if present.
6032
6033 * bits/sigstack.h
6034 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6035 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6036 * sysdeps/unix/sysv/linux/bits/sigstack.h
6037 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6038 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6039 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6040 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6041 * bits/sigcontext.h
6042 * sysdeps/mach/hurd/i386/bits/sigcontext.h
6043 * sysdeps/unix/sysv/linux/bits/sigcontext.h
6044 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6045 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6046 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
6047 as well as signal.h, if this was not already allowed. Request
6048 definition of size_t if necessary. Minimize semantically-null
6049 differences across files.
6050
6051 2016-09-23 Zack Weinberg <zackw@panix.com>
6052
6053 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6054 Remove all logic conditional on __need macros. Move all the
6055 conditionally defined types to their own headers...
6056 * time/bits/types/clock_t.h: Define clock_t here.
6057 * time/bits/types/clockid_t.h: Define clockid_t here.
6058 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6059 * time/bits/types/struct_timespec.h: Define struct timespec here.
6060 * time/bits/types/struct_timeval.h: Define struct timeval here.
6061 * time/bits/types/struct_tm.h: Define struct tm here.
6062 * time/bits/types/time_t.h: Define time_t here.
6063 * time/bits/types/timer_t.h: Define timer_t here.
6064 * time/Makefile: Install the new headers.
6065
6066 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6067 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6068 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6069 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6070 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6071 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6072 * sysdeps/unix/sysv/linux/bits/resource.h
6073 * sysdeps/unix/sysv/linux/bits/timex.h
6074 * sysdeps/unix/sysv/linux/mips/bits/resource.h
6075 * sysdeps/unix/sysv/linux/net/ppp_defs.h
6076 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6077 * sysdeps/unix/sysv/linux/sys/acct.h
6078 * sysdeps/unix/sysv/linux/sys/timerfd.h
6079 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6080 * time/sys/time.h, time/sys/timeb.h
6081 Use the new bits/types headers.
6082
6083 * include/time.h: Remove __need logic.
6084 * include/bits/time.h
6085 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6086 * include/bits/types/time_t.h, include/bits/types/timer_t.h
6087 * include/bits/types/struct_itimerspec.h
6088 * include/bits/types/struct_timespec.h
6089 * include/bits/types/struct_timeval.h
6090 * include/bits/types/struct_tm.h:
6091 New wrapper headers.
6092
6093 2016-09-23 Zack Weinberg <zackw@panix.com>
6094
6095 * sysdeps/mach/hurd/net/if_ppp.h
6096 * sysdeps/unix/sysv/linux/net/if_ppp.h:
6097 Only define struct ifpppstatsreq and struct ifpppcstatsreq
6098 if __USE_MISC is defined, to ensure struct ifreq is declared.
6099
6100 * inet/netinet/ether.h: Condition all function prototypes
6101 on __USE_MISC, to ensure struct ether_addr is declared.
6102
6103 * socket/bits/types/struct_osockaddr.h: New header.
6104 * include/bits/types/struct_osockaddr.h: New wrapper.
6105 * socket/Makefile: Install the new header.
6106 * socket/sys/socket.h, inet/protocols/talkd.h:
6107 Refer to bits/types/struct_osockaddr.h for the definition of
6108 struct osockaddr.
6109
6110 2016-09-23 Zack Weinberg <zackw@panix.com>
6111
6112 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6113 * inet/protocols/routed.h, inet/protocols/talkd.h
6114 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6115 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6116 * sysdeps/generic/netinet/if_ether.h
6117 * sysdeps/generic/netinet/in_systm.h
6118 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6119 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6120 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6121 * sysdeps/mach/hurd/net/if_arp.h
6122 * sysdeps/mach/hurd/net/if_ppp.h
6123 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6124 * sysdeps/unix/sysv/linux/bits/in.h
6125 * sysdeps/unix/sysv/linux/net/ethernet.h
6126 * sysdeps/unix/sysv/linux/net/if_arp.h
6127 * sysdeps/unix/sysv/linux/net/if_ppp.h
6128 * sysdeps/unix/sysv/linux/net/if_shaper.h
6129 * sysdeps/unix/sysv/linux/net/route.h
6130 * sysdeps/unix/sysv/linux/netinet/if_ether.h
6131 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6132 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6133 * sysdeps/unix/sysv/linux/netipx/ipx.h
6134 * sysdeps/unix/sysv/linux/sys/acct.h
6135 * include/arpa/nameser.h, include/resolv.h:
6136 Change all uses of u_char to unsigned char,
6137 u_short and ushort to unsigned short, u_int and uint to unsigned int,
6138 u_long and ulong to unsigned long, u_int8_t to uint8_t,
6139 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6140 and u_int64_t and u_quad_t to uint64_t.
6141
6142 * mach/sys/reboot.h: Remove two casts of integer literals
6143 to the types they already have.
6144
6145 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6146 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6147 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6148 from referring to 'unsigned char' to 'uint8_t' for consistency with
6149 the macro definition below.
6150
6151 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6152 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6153 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6154 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6155 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6156 * sysdeps/unix/sysv/linux/sys/acct.h
6157 * include/arpa/nameser.h, include/resolv.h:
6158 Fix indentation disrupted by mechanical edits.
6159
6160 * inet/protocols/talkd.h, resolv/arpa/nameser.h
6161 * sysdeps/generic/netinet/in_systm.h
6162 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6163 * sysdeps/gnu/netinet/udp.h
6164 * sysdeps/unix/sysv/linux/net/ethernet.h
6165 * sysdeps/unix/sysv/linux/net/if_arp.h
6166 * sysdeps/unix/sysv/linux/net/if_ppp.h
6167 * sysdeps/unix/sysv/linux/net/if_shaper.h
6168 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6169 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6170 * sysdeps/unix/sysv/linux/netipx/ipx.h
6171 * sysdeps/unix/sysv/linux/sys/acct.h
6172 Include stdint.h for uintNN_t definitions.
6173 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6174
6175 2016-09-23 Zack Weinberg <zackw@panix.com>
6176
6177 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6178 * sysdeps/unix/sysv/linux/netrose/rose.h:
6179 Include sys/socket.h and netax25/ax25.h.
6180
6181 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6182 * resolv/arpa/nameser_compat.h:
6183 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6184
6185 * sysdeps/unix/sysv/linux/sys/quota.h:
6186 Use __caddr_t instead of caddr_t.
6187 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6188 Use __clockid_t instead of clockid_t.
6189
6190 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6191
6192 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6193 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6194 expanding it.
6195
6196 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6197 Define __glibc_c99_flexarr_available to 1 when the compiler
6198 supports C99-compatible flexible array members, 0 otherwise.
6199 * sysdeps/unix/sysv/linux/bits/socket.h
6200 * sysdeps/mach/hurd/bits/socket.h
6201 * bits/socket.h: Use __glibc_c99_flexarr_available in
6202 definitions of struct cmsghdr and CMSG_DATA.
6203
6204 2016-09-23 Florian Weimer <fweimer@redhat.com>
6205
6206 * manual/nss.texi (NSS Modules Interface): Adjust function return
6207 type to enum nss_status. Document errnop argument. Clarify
6208 h_errnop semantics. Fix cross-reference formatting.
6209 (NSS Module Function Internals): Mention that *errnop needs to be
6210 set on failure, but not to zero.
6211
6212 2016-09-23 Florian Weimer <fweimer@redhat.com>
6213
6214 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6215 (get_random_name): New functions.
6216 (check_wrapper_flags_mode): Use linkat to give the new file a name
6217 determined by get_random_name.
6218 (do_test): Add calls to test open64 and openat64.
6219
6220 2016-09-23 Florian Weimer <fweimer@redhat.com>
6221
6222 * test-skeleton.c: Remove #include <stdarg.h>.
6223
6224 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6225
6226 [BZ #19826]
6227 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6228 initialization of static TLS entries.
6229 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6230 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6231
6232 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6233
6234 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6235 _hurd_malloc_fork_prepare.
6236 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6237 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6238 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6239 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6240 (_hurd_fork_child_hook): Drop malloc_fork_child.
6241 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6242 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6243 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6244 after locking locks (notably hurd_dtable_lock). Call
6245 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6246 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6247 __malloc_fork_unlock_child.
6248 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6249
6250 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6251
6252 * soft-fp/extendhftf2.c: New.
6253 * soft-fp/fixhfti.c: Likewise.
6254 * soft-fp/fixunshfti.c: Likewise.
6255 * soft-fp/floattihf.c: Likewise.
6256 * soft-fp/floatuntihf.c: Likewise.
6257 * soft-fp/half.h: Likewise.
6258 * soft-fp/trunctfhf2.c: Likewise.
6259
6260 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6261
6262 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6263 macro.
6264 * math/libm-test.inc (issubnormal_test_data): New array.
6265 (issubnormal_test): New function.
6266 * manual/arith.texi (Floating Point Classes): Document
6267 issubnormal.
6268 * manual/libm-err-tab.pl: Update comment on interfaces without
6269 ulps tabulated.
6270
6271 * sysdeps/generic/stdint.h: Define
6272 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6273 <bits/libc-header-start.h> instead of including <features.h>.
6274 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6275 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6276 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6277 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6278 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6279 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6280 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6281 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6282 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6283 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6284 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6285 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6286 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6287 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6288 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6289 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6290 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6291 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6292 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6295 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6296 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6297 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6298 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6299 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6300 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6301 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6302 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6303 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6304 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6305 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6306 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6307 * manual/arith.texi (Integers): Document these macros for types
6308 specified by width properties.
6309 * manual/lang.texi (Width of Type): Document these macros for
6310 other standard typedefs.
6311 * stdlib/tst-width-stdint.c: New file.
6312 * stdlib/Makefile (tests): Add tst-width-stdint.
6313
6314 2016-09-21 Florian Weimer <fweimer@redhat.com>
6315
6316 [BZ #20016]
6317 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6318 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6319 Move ...
6320 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6321 ... here, as compatibility symbols in a new file.
6322 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6323 * resolv/res_init.c (__res_vinit): Adjust member names.
6324 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6325 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6326 (res_send_rhook): Remove.
6327 (struct __res_state): Rename qhook, rhook members.
6328
6329 2016-09-21 Florian Weimer <fweimer@redhat.com>
6330
6331 malloc: Use __libc_lock wrappers.
6332 * malloc/arena.c (list_lock, free_list_lock): Define using
6333 __libc_lock_define_initialized.
6334 (arena_lock): Adjust formatting.
6335 * malloc/malloc.c (struct malloc_state): Define mutex using
6336 __libc_lock_define.
6337 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6338 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6339 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6340 (mutex_unlock, mutex_trylock): Remove.
6341 (__pthread_initialize): Remove unused macro.
6342 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6343 (mutex_unlock, mutex_trylock): Remove.
6344
6345 2016-09-21 Florian Weimer <fweimer@redhat.com>
6346
6347 [BZ #20592]
6348 Remove RR type classification macros.
6349 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6350 (ns_t_udp_p, ns_t_xfr_p): Remove.
6351
6352 2016-09-21 Florian Weimer <fweimer@redhat.com>
6353
6354 Remove misleading version information.
6355 * resolv/arpa/nameser.h (__NAMESER): Remove.
6356 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6357
6358 2016-09-21 Florian Weimer <fweimer@redhat.com>
6359
6360 Remove the always-defined BIND_4_COMPAT macro.
6361 * resolv/arpa/nameser.h: Unconditionally include
6362 <arpa/nameser_compat.h>.
6363 (BIND_4_COMPAT): Remove.
6364 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6365
6366 2016-09-21 Florian Weimer <fweimer@redhat.com>
6367
6368 [BZ #20591]
6369 Remove obsolete DNSSEC support.
6370 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6371 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6372 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6373 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6374 (ns_cert_types): Add comment.
6375 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6376 separately.
6377 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6378 (dst_s_dns_key_id): Remove.
6379 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6380 variables.
6381
6382 2016-09-21 Florian Weimer <fweimer@redhat.com>
6383
6384 [BZ #20524]
6385 * manual/string.texi (String/Array Comparison): Clarify the
6386 strverscmp behavior.
6387
6388 2016-09-21 Florian Weimer <fweimer@redhat.com>
6389
6390 * test-skeleton.c (xasprintf): Add function.
6391 * io/tst-open-tmpfile.c: New test.
6392 * io/Makefile (tests): Add it.
6393
6394 2016-09-21 Florian Weimer <fweimer@redhat.com>
6395
6396 Avoid running $(CXX) during build to obtain header file paths.
6397 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6398 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6399 * Makerules (cstdlib, cmath): Remove variables. Use
6400 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6401 * configure: Regenerate.
6402
6403 2016-09-21 Florian Weimer <fweimer@redhat.com>
6404
6405 * Makeconfig (all-object-suffixes): Include .op only if
6406 $(build-profile).
6407
6408 2016-09-21 Florian Weimer <fweimer@redhat.com>
6409
6410 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6411 conditionals. Do not define PATH_MAX.
6412
6413 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6414
6415 * posix/Makefile (tests): Add tst-spawn3.
6416 * posix/tst-spawn3.c: New file.
6417 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6418 if it is already opened for open action.
6419
6420 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6421 all signals when executing the clone vfork child.
6422 (SIGALL_SET): Remove macro.
6423
6424 * nptl/Makefile (tests): Add tst-exec5.
6425 * nptl/tst-exec5.c: New file.
6426 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6427 asynchronous cancellation.
6428
6429 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6430
6431 * hurd/exc2signal.c: #include <hurd/signal.h>
6432 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6433 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6434 accordingly.
6435 * mach/mach_error.c (mach_error): Fix old-style function definition.
6436 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6437
6438 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6439
6440 * math/Makefile (libm-calls): Remove s_nanF.
6441 (gen-libm-calls): Add s_nanF.
6442
6443 * math/s_nan.c: Refactor into ...
6444 * math/s_nan_template.c: New file.
6445
6446 * math/s_nanf.c: Removed.
6447 * math/s_nanl.c: Removed.
6448 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6449 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6450
6451 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6452 (LDOUBLE_nanl_libm_version): New macro.
6453
6454 * sysdeps/generic/math-type-macros-double.h:
6455 (M_STRTO_NAN): New macro.
6456 * sysdeps/generic/math-type-macros-float.h: Likewise.
6457 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6458
6459 * sysdeps/generic/math-type-macros.h: Document
6460 M_STRTO_NAN.
6461
6462 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6463
6464 * math/s_nanf.c: Remove __nanf undef.
6465 * math/s_nan.c: Remove __nan undef.
6466 * math/s_nanl.c: Remove __nanl undef.
6467
6468 * sysdeps/generic/math_private.h (__nan): Remove macro
6469 override.
6470 (__nanf): Likewise.
6471 (__nanl): Likewise.
6472
6473 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6474
6475 * math/Makefile (gen-all-calls): New variable.
6476 (generated): Replace gen-libm-calls with gen-all-calls.
6477 (gen-libm-templates.stmp): Likewise. Also, ensure
6478 the output directory exists or is created and add
6479 dependency on the Makefile.
6480 (calls): Move s_ldexpF into gen-calls.
6481 (gen-calls): New variable.
6482
6483 * math/s_ldexpf.c: Removed.
6484 * math/s_ldexpl.c: Removed.
6485 * math/s_ldexp.c: Refactored into ...
6486 * math/s_ldexp_template.c: New file.
6487
6488 * sysdeps/generic/math-type-macros-double.h: Remove
6489 redundant fall-through definition of declare_mgen_alias.
6490 (declare_mgen_alias_2): New macro.
6491
6492 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6493 New macro for function aliased to two exported symbols.
6494
6495 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6496 new template file.
6497 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6498
6499 2016-09-20 Florian Weimer <fweimer@redhat.com>
6500
6501 * Makeconfig (all-object-suffixes): Remove .og.
6502 * Makerules (elide-routines.og): Remove.
6503 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6504 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6505 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6506
6507 2016-09-20 Florian Weimer <fweimer@redhat.com>
6508
6509 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6510 .os objects.
6511
6512 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6513
6514 [BZ #20615]
6515 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6516 fpu directory by non-fpu.
6517 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6518 on non-fpu directory from a fpu directory.
6519
6520 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6521
6522 * include/limits.h: Define
6523 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6524 <bits/libc-header-start.h> instead of including <features.h>.
6525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6536 * manual/lang.texi (Width of Type): Document these macros.
6537 * stdlib/tst-width.c: New file.
6538 * stdlib/Makefile (tests): Add tst-width.
6539
6540 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6541
6542 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6543 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6544
6545 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6546
6547 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6548 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6549 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6550
6551 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6552
6553 [BZ #18243]
6554 * rt/Makefile (test): Add tst-shm-cancel.
6555 * rt/tst-shm-cancel.c: New file.
6556 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6557
6558 [BZ #18243]
6559 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6560 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6561 definition.
6562 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6563 uncontended case.
6564 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6565 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6566 (tf): Fix check for uncontended case.
6567 (do_test): Likewise.
6568 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6569 (tf): Fix check for uncontended case.
6570 (do_test): Likewise.
6571 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6572 (tf): Fix check for uncontended case.
6573 (do_test): Likewise.
6574 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6575 (tf): Fix check for uncontended case.
6576 (do_test): Likewise.
6577
6578 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6579 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6580
6581 [BZ #15765]
6582 * nptl/Makefile (tests): Add tst-sem16.
6583 * nptl/tst-sem16.c: New file.
6584 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6585
6586 * nptl/sem_open.c (sem_open): Init pad value to 0.
6587 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6588 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6589
6590 2016-09-15 Florian Weimer <fweimer@redhat.com>
6591
6592 [BZ #20611]
6593 * inet/Makefile (routines): Add inet6_scopeid_pton.
6594 (tests): Add tst-inet6_scopeid_pton.
6595 * inet/inet6_scopeid_pton.c: New file.
6596 * inet/net-internal.h: Likewise.
6597 * inet/tst-inet6_scopeid_pton.c: New test.
6598 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6599 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6601
6602 2016-09-14 Florian Weimer <fweimer@redhat.com>
6603
6604 Remove support for compiling wrappers with PTW.
6605 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6606 * nptl/Makefile (pthread-compat-wrappers): Define.
6607 (libpthread-routines): Use pthread-compat-wrappers.
6608 * sysdeps/unix/sysv/linux/alpha/Makefile
6609 (libpthread-routines, libpthread-shared-only-routines): Remove
6610 ptw- prefix.
6611 * sysdeps/s390/nptl/Makefile
6612 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6613 * sysdeps/ia64/nptl/Makefile
6614 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6615 * sysdeps/nacl/Makefile (libpthread-routines): Use
6616 pthread-compat-wrappers to filter the routines list instead of the
6617 ptw- prefix.
6618
6619 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6620
6621 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6622 with L() and remove explicit suffix, convert real literals
6623 which can be equivalentally substituted with integers, and
6624 transform -L(x) to L(-x).
6625
6626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6674 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6676
6677 2016-09-13 Florian Weimer <fweimer@redhat.com>
6678
6679 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6680
6681 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6682
6683 * malloc/Makefile (tests): Remove individual static test names
6684 and just add all of tests-static.
6685
6686 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6687
6688 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6689
6690 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6691 file.
6692
6693 * sysdeps/sparc/fpu/fegetmode.c: New file.
6694 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6695
6696 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6697 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6698
6699 * sysdeps/s390/fpu/fegetmode.c: New file.
6700 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6701
6702 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6703 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6704 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6705 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6706 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6708
6709 * sysdeps/mips/fpu/fegetmode.c: New file.
6710 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6711
6712 * sysdeps/m68k/fpu/fegetmode.c: New file.
6713 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6714
6715 * sysdeps/ia64/fpu/fegetmode.c: New file.
6716 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6717
6718 * sysdeps/hppa/fpu/fegetmode.c: New file.
6719 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6720
6721 * sysdeps/arm/fegetmode.c: New file.
6722 * sysdeps/arm/fesetmode.c: Likewise.
6723
6724 * sysdeps/alpha/fpu/fegetmode.c: New file.
6725 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6726
6727 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6728 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6729
6730 * math/fegetmode.c: New file.
6731 * math/fesetmode.c: Likewise.
6732 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6733 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6734 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6735 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6736 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6737 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6738 declaration.
6739 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6740 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6741 typedef.
6742 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6743 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6744 (femode_t): New typedef.
6745 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6746 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6747 (femode_t): New typedef.
6748 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6749 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6750 (femode_t): New typedef.
6751 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6752 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6753 (femode_t): New typedef.
6754 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6755 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6756 (femode_t): New typedef.
6757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6758 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6759 (femode_t): New typedef.
6760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6761 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6762 (femode_t): New typedef.
6763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6764 * sysdeps/mips/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/nios2/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/powerpc/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 variable
6773 declaration.
6774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6775 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6776 (femode_t): New typedef.
6777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6778 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6779 (femode_t): New typedef.
6780 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6781 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6782 (femode_t): New typedef.
6783 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6784 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6785 (femode_t): New typedef.
6786 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6787 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6788 (femode_t): New typedef.
6789 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6790 * manual/arith.texi (FE_DFL_MODE): Document macro.
6791 (fegetmode): Document function.
6792 (fesetmode): Likewise.
6793 * math/Versions (fegetmode): New libm symbol at version
6794 GLIBC_2.25.
6795 (fesetmode): Likewise.
6796 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6797 (tests): Add test-femode and test-femode-traps.
6798 * math/test-femode-traps.c: New file.
6799 * math/test-femode.c: Likewise.
6800 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6801 alias for __fe_dfl_env.
6802 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6804 (__fe_dfl_mode): Likewise.
6805 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6806 version GLIBC_2.25.
6807 * sysdeps/nacl/libm.abilist: Update.
6808 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6810 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6811 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6812 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6814 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6815 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6816 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6817 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6818 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6823 Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6827 Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6830 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6834 Likewise.
6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6836 Likewise.
6837 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6839 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6840
6841 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6842
6843 [BZ #20495]
6844 [BZ #20508]
6845 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6846 processors, set Use_dl_runtime_resolve_slow and set
6847 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6848 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6849 New.
6850 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6851 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6852 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6853 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6854 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6855 if Use_dl_runtime_resolve_opt is set. Use
6856 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6857 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6858 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6859 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6860 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6861 New.
6862 (_dl_runtime_resolve_opt): Likewise.
6863 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6864 defined.
6865
6866 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6867
6868 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6869 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6870
6871 2016-09-06 Florian Weimer <fweimer@redhat.com>
6872
6873 Convert malloc to __libc_lock. Automated part, using this Perl
6874 s/// command:
6875 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6876 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6877 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6878 conversion.
6879
6880 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6881
6882 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6883 (linknamespace-symlists-tests): Likewise.
6884 (linknamespace-header-tests): Likewise.
6885
6886 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6887
6888 [BZ #19810]
6889 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6890 * elf/tst-noload.c: New test case.
6891 * elf/Makefile (tests): Add tst-noload.
6892
6893 2016-09-02 Roland McGrath <roland@hack.frob.com>
6894
6895 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6896
6897 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6898 not any more.
6899
6900 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6901
6902 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6903
6904 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6905 (do_cos_slow): Likewise.
6906 (do_sin): Likewise.
6907 (do_sin_slow): Likewise.
6908 (slow): Likewise.
6909 (slow1): Likewise.
6910 (slow2): Likewise.
6911 (sloww): Likewise.
6912 (sloww1): Likewise.
6913 (sloww2): Likewise.
6914 (bsloww): Likewise.
6915 (bsloww1): Likewise.
6916 (bsloww2): Likewise.
6917 (cslow2): Likewise.
6918
6919 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6920
6921 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6922 arguments. Consolidate input partitioning from callers here.
6923 (do_cos_slow): Likewise.
6924 (do_sin): Likewise.
6925 (do_sin_slow): Likewise.
6926 (do_sincos_1): Remove the no longer necessary input partitioning.
6927 (do_sincos_2): Likewise.
6928 (__sin): Likewise.
6929 (__cos): Likewise.
6930 (slow1): Likewise.
6931 (slow2): Likewise.
6932 (sloww1): Likewise.
6933 (sloww2): Likewise.
6934 (bsloww1): Likewise.
6935 (bsloww2): Likewise.
6936 (cslow2): Likewise.
6937
6938 2016-09-02 Florian Weimer <fweimer@redhat.com>
6939
6940 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6941 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6942 outside of allocated array.
6943
6944 2016-09-02 Florian Weimer <fweimer@redhat.com>
6945
6946 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6947 instead of MB_CUR_MAX to avoid variable-length array.
6948
6949 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6950
6951 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6952 (type-double-routines): Add k_rem_pio2.
6953 (type-float-routines): Add k_rem_pio2f.
6954
6955 * sysdeps/generic/math_private.h:
6956 (__kernel_rem_pio2l): Removed.
6957
6958 * math/k_rem_pio2l.c: Removed.
6959 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6960 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6961 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6962 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6963
6964 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6965
6966 * math/Makefile (gen-libm-calls): Add s_fmin
6967 (libm-calls): Remove above.
6968
6969 * math/s_fmin.c: Refactor into ...
6970 * math/s_fmin_template.c: New file.
6971
6972 * math/s_fminf.c: Removed.
6973 * math/s_fminl.c: Removed.
6974 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6975 (LDOUBLE_fmin_libm_version): New macro.
6976
6977 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6978 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6979
6980 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6981
6982 * math/Makefile: (gen-libm-calls): Add s_fmax.
6983 (libm-calls): Remove above.
6984
6985 * math/s_fmax.c: Refactor into ...
6986 * math/s_fmax_template.c: New file.
6987 * math/s_fmaxf.c: Removed.
6988 * math/s_fmaxl.c: Removed.
6989
6990 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6991 (LDOUBLE_fmaxl_libm_version): New macro.
6992
6993 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6994 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6995
6996 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6997 s_fmin.c to pick the aarch64 version of the file.
6998 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6999 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7000
7001 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7002
7003 * math/Makefile: (gen-libm-calls): Add s_nextdown.
7004 (libm-calls): Remove above.
7005
7006 * math/s_nextdown.c: Refactor into ...
7007 * math/s_nextdown_template.c: New file.
7008 * math/s_nextdownf.c: Removed.
7009 * math/s_nextdownl.c: Removed.
7010
7011 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7012
7013 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7014
7015 * math/Makefile (gen-libm-calls): Add s_fdim.
7016 (libm-calls): Move to above.
7017
7018 * math/s_fdim.c: Renamed and refactored into to ...
7019 * math/s_fdim_template.c: New file.
7020 * math/s_fdiml.c: Removed.
7021 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7022 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7023
7024 * sysdeps/generic/math-type-macros-double.h:
7025 (declare_mgen_alias): Don't declare if already declared.
7026 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7027 Likewise.
7028
7029 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7030 (declare_mgen_alias): Don't declare if already declared.
7031 (M_LIBM_NEED_COMPAT): Likewise.
7032 (declare_mgen_libm_compat): Likewise.
7033 (LDOUBLE_fdiml_libm_version): New macro.
7034
7035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7036 Include math/s_fdim.c now that ldbl-opt version is not needed.
7037 (declare_mgen_alias): New macro to disable aliasing.
7038
7039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7040 (declare_mgen_alias): Likewise.
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7042 (declare_mgen_alias): Likewise.
7043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7044 (declare_mgen_alias): Likewise.
7045 (M_LIBM_NEED_COMPAT): Likewise.
7046
7047 2016-09-01 Florian Weimer <fweimer@redhat.com>
7048
7049 [BZ #20525]
7050 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7051 Include <linux/quota.h>.
7052 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7053 and btodb.
7054 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7055 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7056 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7057 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7058 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7059 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7060 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7061 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7062 types.
7063 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7064 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7065
7066 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7067
7068 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7069 (gammal_positive): Fix spacing.
7070 (__ieee754_gammal_r): Likewise.
7071
7072 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7073
7074 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7075 (_Float128): Define as long double, always.
7076 (L): Apply long double type suffix, always.
7077
7078 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7079 _Float128, excepting comments.
7080
7081 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7136 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7147 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7149
7150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7151 _Float128, and include math_private.h.
7152 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7153
7154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7155 long double semantics.
7156 (_Float128): Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7158 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7159 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7161
7162 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7163
7164 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7165 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7166 * sysdeps/s390/configure: Regenerated.
7167 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7168 instruction for raising over-/underflow if z196 zarch is supported
7169 by default.
7170 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7171
7172 2016-08-30 Svante Signell <svante.signell@gmail.com>
7173
7174 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7175 it point to a dumb buffer for RPC to fill it.
7176
7177 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7178
7179 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7180 instead of if/else.
7181 (do_sin_slow): Likewise.
7182 (do_sincos_1): Use fabs instead of if/else.
7183 (do_sincos_2): Likewise.
7184 (__sin): Likewise.
7185 (__cos): Likewise.
7186 (slow2): Likewise.
7187 (sloww): Likewise.
7188 (sloww1): Likewise. Drop argument M.
7189 (sloww2): Use fabs instead of if/else.
7190 (bsloww): Likewise.
7191 (bsloww1): Likewise.
7192 (bsloww2): Likewise.
7193
7194 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7195 fall through comment.
7196 (do_sincos_1): Likewise.
7197
7198 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7199 Consolidate switch cases 0 and 2.
7200
7201 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7202
7203 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7204 (libm-calls): Remove the above.
7205
7206 * math/s_cexp_template.c: Update using type-generic macros.
7207 * math/s_clog10_template.c: Likewise.
7208 * math/s_cpow_template.c: Likewise.
7209 * math/s_clog_template.c: Likewise.
7210 * math/s_cproj_template.c: Likewise.
7211 * math/s_csqrt_template.c: Likewise.
7212
7213 * math/s_cexp.c: Removed.
7214 * math/s_cexpf.c: Removed.
7215 * math/s_cexpl.c: Removed.
7216 * math/s_clog10.c: Removed.
7217 * math/s_clog10f.c: Removed.
7218 * math/s_clog10l.c: Removed.
7219 * math/s_cpow.c: Removed.
7220 * math/s_cpowf.c: Removed.
7221 * math/s_cpowl.c: Removed.
7222 * math/s_clog.c: Removed.
7223 * math/s_clogf.c: Removed.
7224 * math/s_clogl.c: Removed.
7225 * math/s_cproj.c: Removed.
7226 * math/s_cprojf.c: Removed.
7227 * math/s_cprojl.c: Removed.
7228 * math/s_csqrt.c: Removed.
7229 * math/s_csqrtf.c: Removed.
7230 * math/s_csqrtl.c: Removed.
7231
7232 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7233 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7234 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7235 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7236 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7237 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7238
7239 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7240 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7241 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7242 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7243 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7244 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7245 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7246 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7247 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7248 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7249 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7250
7251 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7252 version.
7253
7254 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7255 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7256 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7257 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7258
7259 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7260
7261 * s_cexp_template.c: Copy of s_cexp.c.
7262 * s_clog_template.c: Copy of s_clog.c.
7263 * s_clog10_template.c: Copy of s_clog10.c.
7264 * s_cpow_template.c: Copy of s_cpow.c.
7265 * s_cproj_template.c: Copy of s_cproj.c.
7266 * s_csqrt_template.c: Copy of s_csqrt.c.
7267
7268 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7269
7270 [BZ #20517]
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7272 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7273 exported.
7274
7275 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7276
7277 * math/fetestexceptflag.c: New file.
7278 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7279 Stefan Liebler.
7280 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7281 (fetestexceptflag): New function declaration.
7282 * manual/arith.texi (fetestexceptflag): Document function.
7283 * math/Versions (fetestexceptflag): New libm symbol at version
7284 GLIBC_2.25.
7285 * math/Makefile (libm-support): Add fetestexceptflag.
7286 (tests): Add test-fetestexceptflag.
7287 * math/test-fetestexceptflag.c: New file.
7288 * sysdeps/nacl/libm.abilist: Update.
7289 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7290 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7292 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7293 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7294 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7295 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7296 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7297 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7299 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7300 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7302 Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7306 Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7308 Likewise.
7309 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7310 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7311 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7315 Likewise.
7316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7317 Likewise.
7318 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7319 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7320 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7321
7322 2016-08-26 Florian Weimer <fweimer@redhat.com>
7323
7324 [BZ #20432]
7325 Avoid strong references to malloc-internal symbols when linking
7326 statically, to support statically interposed mallocs.
7327 * include/libc-symbols.h (call_function_static_weak): New macro.
7328 * malloc/Makefile (tests): Add tst-interpose-nothread,
7329 tst-interpose-thread, tst-interpose-static-nothread,
7330 tst-interpose-static-thread.
7331 (tests-static): Add tst-interpose-static-nothread,
7332 tst-interpose-static-thread.
7333 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7334 tst-interpose-aux-thread.o.
7335 (test-extras): Add tst-interpose-aux-nothread,
7336 tst-interpose-aux-thread.
7337 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7338 tst-interpose-aux-nothread.o.
7339 (tst-interpose-thread, tst-interpose-static-thread): Link with
7340 tst-interpose-aux-thread.o and libthread.
7341 * malloc/tst-interpose-aux-nothread.c: New file.
7342 * malloc/tst-interpose-aux-thread.c: Likewise.
7343 * malloc/tst-interpose-aux.c: Likewise.
7344 * malloc/tst-interpose-aux.h: Likewise.
7345 * malloc/tst-interpose-nothread.c: Likewise.
7346 * malloc/tst-interpose-skeleton.c: Likewise.
7347 * malloc/tst-interpose-static-nothread.c: Likewise.
7348 * malloc/tst-interpose-static-thread.c: Likewise.
7349 * malloc/tst-interpose-thread.c: Likewise.
7350 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7351 * sysdeps/mach/hurd/fork.c (__fork): Only call
7352 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7353 __malloc_fork_unlock_child if defined.
7354 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7355
7356 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7357
7358 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7359 timespec C99 designated initialization.
7360
7361 2016-08-26 Florian Weimer <fweimer@redhat.com>
7362
7363 [BZ #19946]
7364 Avoid expected SIGALRM signals.
7365 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7366 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7367 (xpthread_create, xpthread_detach, xpthread_join)
7368 (delayed_exit_thread, delayed_exit): New functions.
7369 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7370 (tf): Use xpthread_cond_wait.
7371 (do_test): Likewise. Replace alarm with delayed_exit.
7372 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7373 (do_test): Call delayed_exit. Report failure.
7374 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7375 (do_test): Call delayed_exit.
7376 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7377 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7378 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7379 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7380 error.
7381 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7382 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7383 error.
7384 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7385 (do_test): Call delayed_exit.
7386 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7387 (do_test): Call delayed_exit.
7388 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7389 (do_test): Call delayed_exit instead of alarm. Use
7390 xpthread_mutex_lock.
7391 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7392 (do_test): Call delayed_exit instead of alarm. Use
7393 xpthread_mutex_lock.
7394 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7395 (do_test): Call delayed_exit instead of alarm.
7396 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7397 (do_test): Call delayed_exit instead of alarm. Use
7398 xpthread_spin_lock.
7399 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7400 (do_test): Call delayed_exit instead of alarm. Use
7401 xpthread_join.
7402
7403 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7406 adjust CFA when allocating register save area on re-aligned
7407 stack.
7408
7409 2016-08-26 Florian Weimer <fweimer@redhat.com>
7410
7411 * string/tst-cmp.c: New test.
7412 * string/Makefile (tests): Add it.
7413
7414 2016-08-25 Mark Wielaard <mark@klomp.org>
7415
7416 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7417 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7418 (check_tree_recurse): Use newly defined accessors.
7419 (check_tree): Likewise.
7420 (maybe_split_for_insert): Likewise.
7421 (__tfind): Likewise.
7422 (__tdelete): Likewise.
7423 (trecurse): Likewise.
7424 (tdestroy_recurse): Likewise.
7425 (__tsearch): Likewise. And add asserts for malloc alignment.
7426 (__twalk): Cast root to node in case CHECK_TREE is defined.
7427
7428 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7429
7430 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7431
7432 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7433
7434 * math/Makefile (libm-gen-calls): Add
7435 catan, catanh, ctan, ctanh.
7436 (libm-calls): Remove the above.
7437
7438 * math/s_catan_template.c: Update using type-generic macros.
7439 * math/s_catanh_template.c: Likewise.
7440 * math/s_ctan_template.c: Likewise.
7441 * math/s_ctanh_template.c: Likewise.
7442
7443 * math/s_catanf.c: Removed.
7444 * math/s_catan.c: Removed.
7445 * math/s_catanl.c: Removed.
7446 * math/s_catanhf.c: Removed.
7447 * math/s_catanh.c: Removed.
7448 * math/s_catanhl.c: Removed.
7449 * math/s_ctanf.c: Removed.
7450 * math/s_ctan.c: Removed.
7451 * math/s_ctanl.c: Removed.
7452 * math/s_ctanhf.c: Removed.
7453 * math/s_ctanh.c: Removed.
7454 * math/s_ctanhl.c: Removed.
7455
7456 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7457 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7458 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7459 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7460 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7461 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7462
7463 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7464 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7465 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7466 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7467
7468 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7469
7470 * s_catan_template.c: Copy of s_catan.c.
7471 * s_catanh_template.c: Copy of s_catanh.c.
7472 * s_ctan_template.c: Copy of s_ctan.c.
7473 * s_ctanh_template.c: Copy of s_ctanh.c.
7474
7475 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7476
7477 * math/Makefile (gen-libm-calls): Move
7478 casin, casinh, csin, csinh here.
7479 (libm-calls): Remove the above.
7480
7481 * math/s_casin_template.c: Update using type-generic macros.
7482 * math/s_casinh_template.c: Likewise.
7483 * math/s_csin_template.c: Likewise.
7484 * math/s_csinh_template.c: Likewise.
7485 * math/k_casinh_template.c: Likewise.
7486
7487 * math/s_casinf.c: Removed.
7488 * math/s_casin.c: Removed.
7489 * math/s_casinl.c: Removed.
7490 * math/s_casinh.c: Removed.
7491 * math/s_casinhf.c: Removed.
7492 * math/s_casinhl.c: Removed.
7493 * math/s_csin.c: Removed.
7494 * math/s_csinf.c: Removed.
7495 * math/s_csinl.c: Removed.
7496 * math/s_csinh.c: Removed.
7497 * math/s_csinhf.c: Removed.
7498 * math/s_csinhl.c: Removed.
7499 * math/k_casinh.c: Removed.
7500 * math/k_casinhf.c: Removed.
7501 * math/k_casinhl.c: Removed.
7502
7503 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7504 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7505 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7506 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7507
7508 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7509 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7510 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7511 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7512 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7513 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7514 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7515 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7516
7517 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7518 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7519 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7520 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7521
7522 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7523 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7524 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7525 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7526
7527 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7528
7529 * s_casin_template.c: Copy of s_casin.c.
7530 * s_casinh_template.c: Copy of s_casinh.c.
7531 * s_csin_template.c: Copy of s_csin.c.
7532 * s_csinh_template.c: Copy of s_csinh.c.
7533 * k_casinh_template.c: Copy of k_casinh.c.
7534
7535 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7536
7537 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7538
7539 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7540
7541 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7542 (mul_split) Remove, rename as mul_splitl, remove
7543 redundant float.h include, and include via mul_splitl.h
7544
7545 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7547 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7548 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7550
7551 * math/mul_splitl.h: New file.
7552
7553 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7554 Move into mul_split.h, and remove redundant float.h include.
7555
7556 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7560
7561 * math/mul_split.h: New file.
7562
7563 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7564
7565 * math/Makefile (libm-gen-calls): Move
7566 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7567 (libm-calls): Remove above.
7568
7569 * math/s_cacos_template.c: Update using type-generic macros.
7570 * math/s_cacosh_template.c: Likewise.
7571 * math/s_ccos_template.c: Likewise.
7572 * math/s_ccosh_template.c: Likewise.
7573
7574 * math/s_cacosf.c: Removed.
7575 * math/s_cacos.c: Removed.
7576 * math/s_cacosl.c: Removed.
7577 * math/s_cacoshf.c: Removed.
7578 * math/s_cacosh.c: Removed.
7579 * math/s_cacoshl.c: Removed.
7580 * math/s_ccosf.c: Removed.
7581 * math/s_ccos.c: Removed.
7582 * math/s_ccosl.c: Removed.
7583 * math/s_ccoshf.c: Removed.
7584 * math/s_ccosh.c: Removed.
7585 * math/s_ccoshl.c: Removed.
7586
7587 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7588 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7589 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7590 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7591 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7592 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7593
7594 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7595 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7596 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7597 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7598
7599 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7600 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7601 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7602 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7603
7604 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7605
7606 * s_cacos_template.c: Copy of s_cacos.c.
7607 * s_cacosh_template.c: Copy of s_cacosh.c.
7608 * s_ccos_template.c: Copy of s_ccos.c.
7609 * s_ccosh_template.c: Copy of s_ccosh.c.
7610
7611 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7612
7613 * stdlib/tst-strtod-round-skeleton.c:
7614 Refactored from tst-strtod-round.c.
7615
7616 (L_): New macro to apply literal modifier.
7617 (FNPFX): New macro to select str or wcs prefix.
7618 (CHAR): New macro to choose wchar_t or char.
7619 (STRM): New macro to choose printf for tested character type.
7620
7621 (STRTO): New macro to choose appropriate string -> real function.
7622 (FNPFXS): Stringitized version of FNPFX.
7623 (STR): Support for above macro.
7624 (STRX): Likewise.
7625
7626 (TEST): Update with above macros.
7627 (test): Likewise.
7628 (GEN_ONE_TEST): Likewise.
7629 (test_in_one_mode): Likewise.
7630
7631 * stdlib/tst-strtod-round.c: New file.
7632 * wcsmbs/tst-wcstod-round.c: New file.
7633
7634 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7635 (tst-wcstod-round): Add libm depencency for fesetround.
7636
7637 2016-08-19 Zack Weinberg <zackw@panix.com>
7638
7639 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7640
7641 2016-08-18 Torvald Riegel <triegel@redhat.com>
7642
7643 [BZ #20477]
7644 * resolv/res_hconf.c (do_init): Use atomic access.
7645 * resolv/res_hconf.h: Add comments.
7646 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7647 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7649
7650 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7651
7652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7653 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7655 Likewise.
7656
7657 2016-08-18 Florian Weimer <fweimer@redhat.com>
7658
7659 [BZ #16907]
7660 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7661 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7662 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7663 (__attribute__): Remove definition.
7664
7665 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7666
7667 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7668 Remove unused sqrtl declaration.
7669
7670 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7671
7672 * math/Makefile: (gen-libm-templates.stmp): New rule.
7673 (libm-calls): Move carg conj cimag and cabs into ...
7674 (gen-libm-calls): New variable.
7675 (generated): Inform Make objects from gen-libm-calls
7676 may be generated.
7677
7678 * sysdeps/generic/math-type-macros.h: New file.
7679 * sysdeps/generic/math-type-macros-float.h: Likewise.
7680 * sysdeps/generic/math-type-macros-double.h: Likewise.
7681 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7682 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7683 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7684
7685 * math/cabs.c: Refactor into
7686 * math/cabs_template.c: new file.
7687 * math/cabsf.c: Removed.
7688 * math/cabsl.c: Removed.
7689 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7690 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7691
7692 * math/carg.c: Refactor into
7693 * math/carg_template.c: new file.
7694 * math/cargf.c: Removed.
7695 * math/cargl.c: Removed.
7696 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7697 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7698
7699 * math/conj.c: Refactor into
7700 * math/conj_template.c: new file.
7701 * math/conjf.c: Removed.
7702 * math/conjl.c: Removed.
7703 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7704 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7705
7706 * math/cimag.c: Refactor into
7707 * math/cimag_template.c: new file.
7708 * math/cimagf.c: Removed.
7709 * math/cimagl.c: Removed.
7710 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7711 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7712
7713 * math/cimag.c: Refactor into
7714 * math/cimag_template.c: new file.
7715 * math/cimagf.c: Removed.
7716 * math/cimagl.c: Removed.
7717 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7718 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7719
7720 2016-08-17 Florian Weimer <fweimer@redhat.com>
7721
7722 Reduce time to expected nptl/tst-once5 failure.
7723 * nptl/tst-once5.cc (TIMEOUT): Define.
7724
7725 2016-08-17 Florian Weimer <fweimer@redhat.com>
7726
7727 [BZ #20452]
7728 Avoid additional copies of objects in libc.a in static libraries.
7729 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7730 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7731 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7732 rt-sysdep.
7733 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7734 Add nptl-sysdep.
7735 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7736 Add ptw-sysdep.
7737 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7738 rt-sysdep.
7739 * sysdeps/unix/sysv/linux/alpha/Makefile
7740 (libpthread-shared-only-routines): Add ptw-sysdep,
7741 ptw-sigprocmask, ptw-rt_sigaction.
7742 * sysdeps/unix/sysv/linux/ia64/Makefile
7743 (librt-shared-only-routines): Add rt-sysdep.
7744 * sysdeps/unix/sysv/linux/i386/Makefile
7745 (libpthread-shared-only-routines): Add libc-do-syscall.
7746 * sysdeps/unix/sysv/linux/microblaze/Makefile
7747 (libpthread-shared-only-routines): Add sysdep.
7748 * sysdeps/unix/sysv/linux/powerpc/Makefile
7749 (librt-shared-only-routines): Add rt-sysdep.
7750 (libpthread-shared-only-routines): Add sysdep.
7751 * sysdeps/unix/sysv/linux/s390/Makefile
7752 (librt-shared-only-routines): Add rt-sysdep.
7753 * sysdeps/unix/sysv/linux/sparc/Makefile
7754 (librt-shared-only-routines): Add rt-sysdep.
7755 (libpthread-shared-only-routines): Add sysdep.
7756 * sysdeps/unix/sysv/linux/tile/Makefile
7757 (libpthread-shared-only-routines): Likewise.
7758
7759 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7760
7761 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7762 Mask implicit bit out of unpacked value.
7763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7764 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7765 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7766
7767 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7768
7769 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7770
7771 * sysdeps/s390/fpu/fesetexcept.c: New file.
7772
7773 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7774 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7775 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7776
7777 * sysdeps/mips/fpu/fesetexcept.c: New file.
7778
7779 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7780
7781 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7782
7783 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7784
7785 * sysdeps/arm/fesetexcept.c: New file.
7786
7787 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7788
7789 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7790
7791 * math/fesetexcept.c: New file.
7792 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7793 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7794 * math/fenv.h: Define
7795 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7796 <bits/libc-header-start.h> instead of including <features.h>.
7797 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7798 declaration.
7799 * manual/arith.texi (fesetexcept): Document function.
7800 * math/Versions (fesetexcept): New libm symbol at version
7801 GLIBC_2.25.
7802 * math/Makefile (libm-support): Add fesetexcept.
7803 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7804 * math/test-fesetexcept.c: New file.
7805 * math/test-fesetexcept-traps.c: Likewise.
7806 * sysdeps/nacl/libm.abilist: Update.
7807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7808 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7809 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7811 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7812 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7815 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7816 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7817 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7820 Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7822 Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7824 Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7826 Likewise.
7827 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7828 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7829 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7830 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7831 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7833 Likewise.
7834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7835 Likewise.
7836 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7839
7840 2016-08-16 Florian Weimer <fweimer@redhat.com>
7841
7842 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7843 New.
7844 (do_test): Apply default_stack_size_in_mb if not set.
7845 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7846
7847 2016-08-15 Andreas Schwab <schwab@suse.de>
7848
7849 [BZ #20435]
7850 CVE-2016-6323
7851 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7852 as .cantunwind.
7853
7854 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7855
7856 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7857 comment from fraiseexcpt.c.
7858
7859 * math/test-fexcept.c (feraiseexcept_exact): New function.
7860 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7861 (test_except): Likewise.
7862
7863 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #20455]
7866 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7867 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7868 to be restored.
7869
7870 * math/test-fexcept-traps.c: New file.
7871 * math/test-fexcept.c: Likewise.
7872 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7873 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7874 macro.
7875 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7876 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7877
7878 2016-08-09 Torvald Riegel <triegel@redhat.com>
7879
7880 * include/atomic.h (atomic_fetch_and_relaxed,
7881 atomic_fetch_and_release, atomic_fetch_or_release,
7882 atomic_fetch_xor_release): New.
7883
7884 2016-08-06 Christian Seiler <christian@iwakd.de>
7885
7886 [BZ #20444]
7887 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7888 MACH_PORT_NULL.
7889
7890 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7891
7892 * math/s_fdim.c: Avoid alias renamed.
7893 * math/s_fdimf.c: Likewise.
7894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7895 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7896 Add s_fdimf-vis3, s_fdim-vis3.
7897 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7898 (CFLAGS-s_fdim-vis3.c): Likewise.
7899 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7900 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7901
7902 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7903
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7905 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7906 Remove s_fdimf-vis3, s_fdim-vis3.
7907 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7908 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7915 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7916 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7917
7918 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7919
7920 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7921 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7922 -Wa,-Av9a -mvis.
7923
7924 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7925
7926 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7927 LIT() to individual constants in simple expressions
7928 after splitting on spaces.
7929 (_apply_lit): Rename replaced version, and use it to
7930 apply to what appears to be a token.
7931
7932 * math/libm-test.inc: Fix many, many issues with
7933 spacing.
7934
7935 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7936
7937 * math/math.h: Move comment about <bits/mathdef.h> definitions
7938 above inclusion of <bits/mathdef.h>. Do not mention
7939 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7940
7941 2016-08-05 Torvald Riegel <triegel@redhat.com>
7942
7943 * include/atomic.h (atomic_exchange_relaxed): New.
7944
7945 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7946
7947 * math/e_scalb.c: Do not include <fenv.h>.
7948 (invalid_fn): Do calculation resulting in NaN instead of raising
7949 FE_INVALID and returning a NaN explicitly.
7950 * math/e_scalbf.c: Do not include <fenv.h>.
7951 (invalid_fn): Do calculation resulting in NaN instead of raising
7952 FE_INVALID and returning a NaN explicitly.
7953 * math/e_scalbl.c: Do not include <fenv.h>.
7954 (invalid_fn): Do calculation resulting in NaN instead of raising
7955 FE_INVALID and returning a NaN explicitly.
7956
7957 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7958
7959 * po/de.po: Updated from Translation Project.
7960 * po/fi.po: Likewise.
7961 * po/sv.po: Likewise.
7962
7963 2016-08-04 Florian Weimer <fweimer@redhat.com>
7964
7965 [BZ #20452]
7966 Use sysdep.o from libc.a in static libraries.
7967 * sysdeps/unix/sysv/linux/i386/Makefile
7968 (libpthread-shared-only-routines): Add sysdep.
7969 (librt-shared-only-routines): Likewise.
7970
7971 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7972
7973 * math/tgmath.h (nextdown): Define if
7974 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7975 (nextup): Likewise.
7976
7977 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7978 macro.
7979 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7980 Document.
7981 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7982 Document macro.
7983 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7984 (exp10f): Likewise.
7985 (exp10l): Likewise.
7986 * math/bits/mathcalls.h (exp10): Declare if
7987 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7988
7989 * manual/arith.texi (nextup): Fix typo in last change.
7990
7991 2016-08-03 Zack Weinberg <zackw@panix.com>
7992
7993 [BZ #19239]
7994 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7995 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7996 define major, minor, and makedev to issue deprecation warnings on use.
7997 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7998 previously-activated deprecation warnings for these macros and prevent
7999 subsequent inclusions of this header from having any effect.
8000 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8001 including <sys/sysmacros.h>, and undefine it again afterward.
8002
8003 2016-08-03 Zack Weinberg <zackw@panix.com>
8004
8005 * sysdeps/generic/sys/sysmacros.h: Delete file.
8006 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8007 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8008 * bits/sysmacros.h: ... here; this encoding is now the generic
8009 encoding. Now defines only the following macros:
8010 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8011 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8012 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8013
8014 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8015 bits/sysmacros.h and the above new macros to generate the
8016 public implementations of major, minor, and makedev.
8017 * misc/tst-makedev.c: New test.
8018 * include/sys/sysmacros.h: New wrapper.
8019
8020 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8021 (routines): Add makedev.
8022 (tests): Add tst-makedev.
8023 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8024 gnu_dev_makedev.
8025 * posix/Makefile (headers): Remove sys/sysmacros.h.
8026 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8027
8028 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8029 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8031 * sysdeps/unix/sysv/linux/alpha/libc.abilist
8032 * sysdeps/unix/sysv/linux/arm/libc.abilist
8033 * sysdeps/unix/sysv/linux/hppa/libc.abilist
8034 * sysdeps/unix/sysv/linux/i386/libc.abilist
8035 * sysdeps/unix/sysv/linux/ia64/libc.abilist
8036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8037 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8038 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8040 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8042 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8043 * sysdeps/unix/sysv/linux/nios2/libc.abilist
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8048 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8049 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8050 * sysdeps/unix/sysv/linux/sh/libc.abilist
8051 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8055 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8056 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8057 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8058 Add GLIBC_2.25.
8059
8060 * include/features.h (__glibc_clang_prereq): New macro.
8061 * misc/sys/cdefs.h (__glibc_clang_has_extension)
8062 (__attribute_deprecated_msg__): New macros.
8063
8064 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8065
8066 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8067 macro.
8068 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8069 * manual/arith.texi (issignaling): Document as ISO from TS
8070 18661-1:2014.
8071 (nextup): Likewise.
8072 (nextupf): Likewise.
8073 (nextupl): Likewise.
8074 (nextdown): Likewise.
8075 (nextdownf): Likewise.
8076 (nextdownl): Likewise.
8077 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8078 macro.
8079 * math/math.h: Define
8080 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8081 <bits/libc-header-start.h> instead of including <features.h>.
8082 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8083 [__USE_GNU].
8084 * math/bits/mathcalls.h (nextdown): Declare if
8085 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8086 (nextup): Likewise.
8087 (__issignaling): Likewise.
8088
8089 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8090
8091 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8092 check, and remove __glibc_likely hint
8093 from FP_INFINITE check.
8094 * s_csinhf.c (__csinhf): Likewise.
8095
8096 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8097 hint from FP_INFINITE check.
8098 * s_csinhl.c (__csinhl): Likewise.
8099
8100 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8101
8102 * math/Makefile (libm-calls): Insert F placeholder into
8103 object names. Move w_lgamma_compat* routines into
8104 (libm-compat-calls): New variable.
8105 (libm-compat-calls-ldouble-yes): New variable.
8106 (calls): Insert F placeholder.
8107 (generated): Redefine using new type-foreach macro call.
8108 (routines): Likewise.
8109
8110 (types): New variable to hold a list of symbolic names
8111 for each type supported by the target machine.
8112 (libm-routines): Redefine using new types variable.
8113 (type-foreach): macro to replace fooF with the
8114 appropriately suffixed foo for each types.
8115
8116 (type-ldouble-suffix): New variable.
8117 (type-ldouble-routines): Likewise.
8118 (type-ldouble-yes): Likewise.
8119 (type-double-suffix): Likewise.
8120 (type-double-routines): Likewise.
8121 (type-float-suffix): Likewise.
8122 (type-float-routines): Likewise.
8123
8124 (dbl-only-routines): Remove.
8125 (long-c-yes): Likewise.
8126 (long-m-routines): Likewise.
8127 (long-m-support): Likewise.
8128 (long-m-yes): Likewise.
8129 (test-longdouble-yes): Likewise.
8130
8131 (test-float.o): Simplify by increasing the scope of the
8132 recipe which adds libm-test.stmp to the vector types.
8133 (test-ifloat.o): Likewise.
8134 (test-float-finite.o): Likewise.
8135 (test-double.o): Likewise
8136 (test-idouble.o): Likewise.
8137 (test-double-finite.o): Likewise.
8138 (test-ldouble.o): Likewise
8139 (test-ildoubl.o): Likewise.
8140 (test-ldouble-finite.o): Likewise.
8141
8142 (libm-tests): Redefine type tests using foreach and the
8143 list of types in types.
8144
8145 (CPPFLAGS-test-ildoubl.c): Rename to
8146 (CPPFLAGS-test-ildouble.c): New variable
8147
8148 * math/test-ildoubl.c: Rename to
8149 * math/test-ildouble.c: New file.
8150
8151 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8152
8153 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8154 Use fabsl instead of fabs.
8155 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8156 Likewise.
8157 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8158 Add long double suffix to constant to ensure proper
8159 promotion to long double.
8160
8161 2016-08-03 Tom Tromey <tom@tromey.com>
8162
8163 [BZ #20311]
8164 * nptl_db/Makefile (headers): Add proc_service.h.
8165 * nptl_db/proc_service.h: Add include guard. Use
8166 __BEGIN/__END_DECLS.
8167 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8168 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8169 arguments.
8170
8171
8172 2016-08-03 Florian Weimer <fweimer@redhat.com>
8173
8174 [BZ #17730]
8175 Avoid using memalign for TCB allocations.
8176 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8177 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8178 Avoid alignment gap in the TLS_DTV_AT_TP case.
8179 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8180 determine the pointer to free.
8181 * nptl/tst-tls3-malloc.c: New test.
8182 * nptl/Makefile (tests): Add it.
8183 (tst-tls3-malloc): Link with libdl, libpthread.
8184 (LDFLAGS-tst-tls3-malloc): Set.
8185 (tst-tls3-malloc.out): Depend on DSO used in test.
8186
8187 2016-08-03 Florian Weimer <fweimer@redhat.com>
8188
8189 [BZ #17730]
8190 Avoid using memalign for TLS allocations.
8191 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8192 is_static member with to_free member.
8193 (union dtv): Use struct dtv_pointer.
8194 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8195 dtv_pointer instead of is_static.
8196 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8197 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8198 instead of val.
8199 (allocate_dtv_entry): New function.
8200 (allocate_and_init): Return struct dtv_pointer. Call
8201 allocate_dtv_entry instead of __libc_memalign.
8202 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8203 instead of val.
8204 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8205 instead of is_static. Adjust call to allocate_and_init.
8206 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8207 struct dtv_pointer instead of val.
8208
8209 2016-08-03 Florian Weimer <fweimer@redhat.com>
8210
8211 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8212 (MALLOC_ALIGN_MASK): Move ...
8213 * malloc/malloc-internal.h: ... to here.
8214 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8215
8216 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8217
8218 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8219 (UDP_ENCAP_GTP1U): Likewise.
8220
8221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8222 (PF_MAX): Update value.
8223 (AF_QIPCRTR): New macro.
8224
8225 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8226
8227 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8228 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8229 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8231 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8232 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8233 s_truncf-vis3, s_trunc-vis3.
8234 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8235 (CFLAGS-s_ceil-vis3.c): Likewise.
8236 (CFLAGS-s_floorf-vis3.c): Likewise.
8237 (CFLAGS-s_floor-vis3.c): Likewise.
8238 (CFLAGS-s_truncf-vis3.c): Likewise.
8239 (CFLAGS-s_trunc-vis3.c): Likewise.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8249 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8252
8253 2016-08-02 David S. Miller <davem@davemloft.net>
8254
8255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8256 (__nearbyint_vis3): Don't check for sNaN before float register is
8257 loaded with the incoming argument.
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8259 (__nearbyintf_vis3): Likewise.
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8261 Likewise.
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8263 Likewise.
8264
8265 * string/test-strncmp.c (do_test_limit): Make sure the test data
8266 stream is aligned as required for the type "CHAR".
8267 (do_test): Likewise.
8268
8269 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8270
8271 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8272 by beq instructions jumping to the end of the function.
8273 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8274 clobber list. Use "i" constraint instead of "X".
8275 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8276 of "X".
8277
8278 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8279
8280 * bits/libc-header-start.h: New file.
8281 * Makefile (headers): Add bits/libc-header-start.h.
8282 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8283 (__GLIBC_USE): New macro.
8284 * libio/stdio.h: Define
8285 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8286 <bits/libc-header-start.h> instead of including <features.h>.
8287 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8288 (open_memstream): Likewise.
8289 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8290 (__asprintf): Likewise.
8291 (asprintf): Likewise.
8292 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8293 (getdelim): Likewise.
8294 (getline): Likewise.
8295 * string/string.h: Define
8296 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8297 <bits/libc-header-start.h> instead of including <features.h>.
8298 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8299 (strndup): Likewise.
8300 * wcsmbs/wchar.h: Define
8301 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8302 <bits/libc-header-start.h> instead of including <features.h>.
8303 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8304 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8305
8306 2016-08-02 Florian Weimer <fweimer@redhat.com>
8307
8308 Support linking against compatibility symbols, for use in tests.
8309 * include/libc-symbols.h (symbol_version_reference): New macro.
8310 (symbol_version): Use it.
8311 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8312 (compat_symbol): Use compat_symbol_reference.
8313 (compat_symbol_1, compat_symbol_2): Remove.
8314 (compat_symbol_reference, compat_symbol_reference_1)
8315 (compat_symbol_reference_2): New macro. Use
8316 symbol_version_reference.
8317
8318 2016-08-02 Florian Weimer <fweimer@redhat.com>
8319
8320 [BZ #19469]
8321 * malloc/Makefile (CPPFLAGS): Compile tests with
8322 -DTEST_NO_MALLOPT.
8323 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8324
8325 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8326
8327 [BZ #20033]
8328 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8329 finite version.
8330 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8331 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8340 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8341 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8343 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8344 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8346 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8347 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8348 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8349 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8350 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8351 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8352 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8353 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8354 in zero power.
8355
8356 2016-08-02 Florian Weimer <fweimer@redhat.com>
8357
8358 [BZ #20370]
8359 * malloc/arena.c (get_free_list): Update comment. Assert that
8360 arenas on the free list have no attached threads.
8361 (remove_from_free_list): New function.
8362 (reused_arena): Call it.
8363
8364 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8365
8366 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8367 when it is a NaN.
8368 [_IEEE_FP_INEXACT] Remove.
8369 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8370 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8371 when it is a NaN.
8372 [_IEEE_FP_INEXACT] Remove.
8373 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8374 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8375 when it is a NaN.
8376 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8377 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8378 when its absolute value is greater than 0x1.0p52.
8379 [_IEEE_FP_INEXACT] Remove.
8380 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8381 when its absolute value is greater than 0x1.0p23.
8382 [_IEEE_FP_INEXACT] Remove.
8383
8384 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8385
8386 * version.h (RELEASE): Set to "development"
8387 (VERSION): Set to 2.24.90.
8388 * NEWS: Add 2.25 section.
8389
8390 * version.h (RELEASE): Set to "stable"
8391 (VERSION): Set to 2.24.
8392 * include/features.h (__GLIBC_MINOR__): Set to 24.
8393
8394 * NEWS: Add 2.24 fixed bugs.
8395 * po/libc.pot: Regenerate.
8396
8397 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8398
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8400 [$(subdir) = math] (libm-sysdep_routines): Remove.
8401 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8402 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8403 s_truncf-vis3, s_trunc-vis3.
8404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8406 file.
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8444 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8445 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8446 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8447 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8448 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8449 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8450
8451 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8452
8453 [BZ #20384]
8454 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8455 test-double-libmvec-sincos-avx-main.o,
8456 test-double-libmvec-sincos-avx2-main.o,
8457 test-double-libmvec-sincos-main.o,
8458 test-float-libmvec-sincosf-avx-main.o,
8459 test-float-libmvec-sincosf-avx2-main.o and
8460 test-float-libmvec-sincosf-main.o.
8461 test-float-libmvec-sincosf-avx512-main.o.
8462 ($(objpfx)test-double-libmvec-sincos): Also link with
8463 $(objpfx)test-double-libmvec-sincos-main.o.
8464 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8465 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8466 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8467 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8468 ($(objpfx)test-float-libmvec-sincosf): Also link with
8469 $(objpfx)test-float-libmvec-sincosf-main.o.
8470 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8471 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8472 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8473 test-double-libmvec-sincos-avx512-main.o and
8474 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8475 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8476 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8477 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8478 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8479 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8480 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8481 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8482 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8483 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8484 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8485 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8486 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8487 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8488 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8489 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8490 -DREQUIRE_AVX2.
8491 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8492 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8493 -DREQUIRE_AVX512F.
8494 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8495 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8496 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8497 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8498 file.
8499 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8500 Likewise.
8501 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8502 Likewise.
8503 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8504 Likewise.
8505 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8506 Likewise.
8507 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8508 Likewise.
8509 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8510 Likewise.
8511 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8512 Likewise.
8513
8514 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8515
8516 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8517
8518 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8519
8520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8521 and typo in a comment about AT_HWCAP entry.
8522
8523 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8524
8525 * sysdeps/aarch64/libm-test-ulps: Updated.
8526
8527 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8528
8529 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8530 of r13 as it is not restored in mvcle case.
8531
8532 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8533
8534 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8535 Rename "ret" to "__ret".
8536 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8537 inline_syscall5, inline_syscall6): Likewise.
8538
8539 2016-07-19 Will Newton <will.newton@gmail.com>
8540
8541 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8542 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8543 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8544 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8545 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8546
8547 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8550 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8551 -mfpmath=387 with $(rtld-CFLAGS).
8552 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8553 $(rtld-CFLAGS).
8554
8555 2016-07-18 Ross Burton <ross.burton@intel.com>
8556 Khem Raj <raj.khem@gmail.com>
8557
8558 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8559 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8560 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8561 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8562 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8563 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8564 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8565 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8566 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8567 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8568 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8569 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8570 R_METAG_TLS_DTPOFF): New.
8571
8572 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8573 Matt Clay <mclay@lycos.com>
8574
8575 [BZ #20357]
8576 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8577 to call __mpsin/__mpcos and to negate values.
8578 * math/auto-libm-test-in: Add test.
8579 * math/auto-libm-test-out: Regenerate.
8580
8581 2016-07-18 Zack Weinberg <zackw@panix.com>
8582
8583 * grp/Makefile: Don't install the internal header grp-merge.h.
8584
8585 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8586
8587 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8588
8589 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8590
8591 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8592
8593 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8594
8595 [BZ #15368]
8596 * sysdeps/unix/sysv/linux/nptl-signals.h
8597 (__nptl_clear_internal_signals): New function.
8598 (__libc_signal_block_all): Likewise.
8599 (__libc_signal_block_app): Likewise.
8600 (__libc_signal_restore_set): Likewise.
8601 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8602 implementation.
8603 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8604 the cached pid/tid value in pthread structure.
8605
8606 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 [BZ #20347]
8609 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8610
8611 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 [BZ #20348]
8614 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8615 preadv64, pwrite64 and pwritev64.
8616
8617 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8618
8619 [BZ #20350]
8620 * posix/tst-preadwrite.c: Renamed to ...
8621 * posix/tst-preadwrite-common.c: This.
8622 (PREAD): Removed.
8623 (PWRITE): Likewise.
8624 (STRINGIFY): Likewise.
8625 (STRINGIFY2): Likewise.
8626 (do_prepare): Make it static and remove function arguments.
8627 (do_test): Likewise.
8628 (PREPARE): Updated.
8629 (TEST_FUNCTION): New.
8630 (name): Make it static.
8631 (fd): Likewise.
8632 (do_prepare): Use create_temp_file.
8633 (do_test): Renamed to ...
8634 (do_test_with_offset): This. Make it static and accept offset.
8635 Properly check return value of PWRITE and PREAD. Return bytes
8636 read. Don't close fd nor unlink name.
8637 * posix/tst-preadwrite.c: Rewrite.
8638 * posix/tst-preadwrite64.c: Likewise.
8639
8640 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8641
8642 [BZ #20309]
8643 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8644 -mtls-dialect=gnu2 works.
8645 * configure: Regenerated.
8646 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8647 (tests): Add tst-gnu2-tls1.
8648 (modules-names): Add tst-gnu2-tls1mod.
8649 ($(objpfx)tst-gnu2-tls1): New.
8650 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8651 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8652 * elf/tst-gnu2-tls1.c: New file.
8653 * elf/tst-gnu2-tls1mod.c: Likewise.
8654 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8655 bytes for push in the PLT entry to align the stack.
8656
8657 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 [BZ #20349]
8660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8661
8662 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8663
8664 [BZ #18707]
8665 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8666 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8667
8668 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8669
8670 * sysdeps/unix/sysv/linux/sysdep.h
8671 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8672 guards.
8673 * misc/tst-preadvwritev-common.c: New file.
8674 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8675 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8676 a check for files larger than 2GB.
8677
8678 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8679 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8680 * sysdeps/unix/sysv/linux/pread.c
8681 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8682 __OFF_T_MATCHES_OFF64_T.
8683 * sysdeps/unix/sysv/linux/pread64.c
8684 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8685 * sysdeps/unix/sysv/linux/preadv.c
8686 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8687 * sysdeps/unix/sysv/linux/preadv64.c
8688 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8689 * sysdeps/unix/sysv/linux/pwrite.c
8690 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8691 * sysdeps/unix/sysv/linux/pwrite64.c
8692 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8693 * sysdeps/unix/sysv/linux/pwritev.c
8694 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8695 * sysdeps/unix/sysv/linux/pwritev64.c
8696 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8697
8698 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8699
8700 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8701 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8702
8703 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8704
8705 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8706
8707 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8708
8709 [BZ #20240]
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8711 (CFLAGS-s_modf-ppc32.c): New variable.
8712 (CFLAGS-s_modff-ppc32.c): Likewise.
8713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8714 (CFLAGS-s_modf-ppc64.c): Likewise.
8715 (CFLAGS-s_modff-ppc64.c): Likewise.
8716
8717 2016-07-07 Andreas Schwab <schwab@suse.de>
8718
8719 [BZ #20263]
8720 * nptl/tst-robust10.c: New test.
8721 * nptl/Makefile (tests): Add tst-robust10.
8722
8723 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8724
8725 [BZ #20263]
8726 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8727
8728 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8729
8730 * sysdeps/s390/linkmap.h (struct link_map_machine):
8731 Remove member gotplt and add member jmprel.
8732 * sysdeps/s390/s390-32/dl-machine.h
8733 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8734 instead of gotplt with &got[3].
8735 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8736 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8737
8738 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8739
8740 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8741
8742 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8743
8744 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8745 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8746 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8747 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8748 * libio/vtables.c (_IO_vtable_check)
8749 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8750 * libio/libioP.h (IO_set_accept_foreign_vtables)
8751 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8752
8753 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8754
8755 [BZ #20314]
8756 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8757 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8758 $(common-objpfx)cmath.
8759 ($(common-objpfx)cstdlib): New target.
8760 ($(common-objpfx)cmath): Likewise.
8761
8762 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8763
8764 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8765
8766 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8767
8768 [BZ #20327]
8769 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8770 are not part of the string.
8771
8772 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8773
8774 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8775 * nptl/tst-cancel4-common.h (fifoname): New variable.
8776 (fifofd): Likewise.
8777 (cl_fifo): New function.
8778 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8779 SIGINT.
8780 (tf_open): Add early cancel test.
8781
8782 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8783
8784 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8785
8786 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8787
8788 * sysdeps/generic/ldsodefs.h
8789 (dl_symbol_visibility_binds_local_p): New inline function.
8790 * elf/dl-addr.c (determine_info): Treat hidden and internal
8791 symbols as local.
8792 * elf/dl-lookup.c (do_lookup_x): Likewise.
8793 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8794
8795 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8796
8797 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8798 invalid exception for a sNaN input.
8799 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8800 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8801 (__nearbyint_vis3): Likewise
8802 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8803 (__nearbyintf_vis3): Likewise
8804 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8805 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8806 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8807 Likewise.
8808 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8809 Likewise.
8810
8811 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 [BZ #20139]
8814 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8815 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8816 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8817 2.24 or above.
8818 (HAVE_AVX512_ASM_SUPPORT): Removed.
8819 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8820 * sysdeps/x86_64/configure: Regenerated.
8821 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8822 check unconditional.
8823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8824 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8825 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8826 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8827 Likewise.
8828 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8829 Likewise.
8830 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8831 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8832 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8833 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8834 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8835 Likewise.
8836 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8837 Likewise.
8838 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8839 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8841 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8842 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8843 Likewise.
8844 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8845 Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8847 Likewise.
8848 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8849 Likewise.
8850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8851 Likewise.
8852 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8853 Likewise.
8854 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8855 Likewise.
8856 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8857 Likewise.
8858 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8859 Likewise.
8860 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8861 Likewise.
8862 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8863 Likewise.
8864
8865 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8866
8867 [BZ #20024]
8868 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8869 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8870 of this implementation of vector function.
8871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8873 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8874 Likewise.
8875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8877 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8878 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8879 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8880 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8881 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8882 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8883 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8884 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8885 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8886 for testing vector sincos with fixed ABI.
8887 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8888 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8889 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8890 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8891 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8892 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8893 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8894 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8895 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8896 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8897 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8898 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8899 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8900 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8901 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8902 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8903
8904 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8905
8906 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8907
8908 2016-06-30 Anton Blanchard <anton@samba.org>
8909
8910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8911 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8912 s_sinf-ppc64.
8913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8916 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8917
8918 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8919
8920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8922 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8923 e_expf-ppc64.
8924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8927 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8928
8929 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8930
8931 [BZ #20277]
8932 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8933 when SHARED is defined.
8934
8935 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8938 (index_arch_Prefer_ERMS): Likewise.
8939 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8940 __memcpy_erms for Prefer_ERMS.
8941 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8942 (__memmove_erms): Enabled for libc.a.
8943 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8944 __memmove_erms or Prefer_ERMS.
8945 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8946 __mempcpy_erms for Prefer_ERMS.
8947 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8948 __memset_erms for Prefer_ERMS.
8949
8950 2016-06-30 Andreas Schwab <schwab@suse.de>
8951
8952 [BZ #20262]
8953 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8954 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8955 of memory.
8956
8957 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8958
8959 [BZ #18645]
8960 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8961 (test-extras): Add tst-cleanupx4aux.
8962 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8963 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8964 tst-cleanupx4aux.o.
8965 * nptl/tst-cleanupx4aux.c: New file.
8966
8967 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8968
8969 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8970
8971 2016-06-29 Andreas Schwab <schwab@suse.de>
8972
8973 [BZ #20260]
8974 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8975 address before the beginning of the string as an integer to avoid
8976 array-bounds warning.
8977
8978 2016-06-28 Richard Henderson <rth@redhat.com>
8979
8980 * elf/elf.h (EM_BPF): New.
8981 (EM_NUM): Update.
8982 (R_BPF_NONE, R_BPF_MAP_FD): New.
8983
8984 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8985 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8986 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8987 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8988 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8989 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8990 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8991 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8992 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8993 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8994 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8995 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8996 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8997 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8998 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8999 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9000 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9001 (EM_NUM): Update.
9002
9003 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
9004
9005 [BZ #18960]
9006 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9007 Set _nl_current_LC_CATEGORY_used to two instead of one.
9008
9009 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
9010
9011 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9012 (do_test): ... this.
9013 (TEST_FUNCTION): New macro.
9014 Include test-skeleton.c.
9015 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9016 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9017
9018 2016-06-27 Joseph Myers <joseph@codesourcery.com>
9019
9020 [BZ #15479]
9021 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9022 floating-point environment rather than just control word.
9023 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9024 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9025 floating-point environment, with "invalid" exceptions merged in,
9026 rather than just control word.
9027 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9028 * math/libm-test.inc (trunc_test_data): Do not allow spurious
9029 "inexact" exceptions.
9030
9031 [BZ #15479]
9032 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9033 floating-point environment rather than just control word.
9034 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9035 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9036 floating-point environment, with "invalid" exceptions merged in,
9037 rather than just control word.
9038 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9039 * math/libm-test.inc (floor_test_data): Do not allow spurious
9040 "inexact" exceptions.
9041
9042 [BZ #15479]
9043 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9044 floating-point environment rather than just control word.
9045 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9046 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9047 floating-point environment, with "invalid" exceptions merged in,
9048 rather than just control word.
9049 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9050 * math/libm-test.inc (ceil_test_data): Do not allow spurious
9051 "inexact" exceptions.
9052
9053 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
9054
9055 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9056 __libc_vfork.
9057 (__vfork) [IS_IN (libc)]: Remove alias.
9058 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9059 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9060 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9061
9062 2016-06-24 Torvald Riegel <triegel@redhat.com>
9063
9064 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9065 of atomic_compare_and_exchange_bool_rel.
9066 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9067 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9068 catomic_compare_and_exchange_bool_rel): Remove.
9069 * sysdeps/aarch64/atomic-machine.h
9070 (atomic_compare_and_exchange_bool_rel): Likewise.
9071 * sysdeps/alpha/atomic-machine.h
9072 (atomic_compare_and_exchange_bool_rel): Likewise.
9073 * sysdeps/arm/atomic-machine.h
9074 (atomic_compare_and_exchange_bool_rel): Likewise.
9075 * sysdeps/mips/atomic-machine.h
9076 (atomic_compare_and_exchange_bool_rel): Likewise.
9077 * sysdeps/microblaze/atomic-machine.h
9078 ( __arch_compare_and_exchange_bool_8_rel,
9079 __arch_compare_and_exchange_bool_16_rel): Likewise.
9080 * sysdeps/powerpc/atomic-machine.h
9081 ( __arch_compare_and_exchange_bool_8_rel,
9082 __arch_compare_and_exchange_bool_16_rel): Likewise.
9083 * sysdeps/powerpc/powerpc32/atomic-machine.h
9084 ( __arch_compare_and_exchange_bool_32_rel,
9085 __arch_compare_and_exchange_bool_64_rel): Likewise.
9086 * sysdeps/powerpc/powerpc64/atomic-machine.h
9087 ( __arch_compare_and_exchange_bool_32_rel,
9088 __arch_compare_and_exchange_bool_64_rel): Likewise.
9089 * sysdeps/tile/atomic-machine.h
9090 (atomic_compare_and_exchange_bool_rel): Likewise.
9091
9092 2016-06-23 Joseph Myers <joseph@codesourcery.com>
9093
9094 [BZ #20296]
9095 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9096 when either argument is a NaN.
9097 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9098 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9099
9100 * math/libm-test.inc (snan_value_ld): New macro.
9101 (isgreater_test_data): Add sNaN tests.
9102 (isgreaterequal_test_data): Likewise.
9103 (isless_test_data): Likewise.
9104 (islessequal_test_data): Likewise.
9105 (islessgreater_test_data): Likewise.
9106 (isunordered_test_data): Likewise.
9107 (nextafter_test_data): Likewise.
9108 (nexttoward_test_data): Likewise.
9109 (remainder_test_data): Likewise.
9110 (remquo_test_data): Likewise.
9111 (significand_test_data): Likewise.
9112 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9113
9114 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9115
9116 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9117 environment macros are defined.
9118 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9119
9120 2016-06-23 Florian Weimer <fweimer@redhat.com>
9121
9122 [BZ #20191]
9123 Implement vtable verification in libio.
9124 * Makerules (shlib.lds): Place __libc_IO_vtables section.
9125 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9126 * debug/vdprintf_chk.c (__vdprintf_chk): Call
9127 _IO_new_file_init_internal instead of _IO_file_init.
9128 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9129 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9130 * libio/Makefile (routines): Add vtables.
9131 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9132 (_IO_init): Remove, not for internal use.
9133 (_IO_init_internal): Declare, internal replacement for _IO_init.
9134 (_IO_file_init): Remove, not for internal use.
9135 (_IO_new_file_init): Remove, not for internal use.
9136 (_IO_new_file_init_internal): Declare, internal replacement for
9137 _IO_new_file_init.
9138 (_IO_old_file_init): Remove, not for internal use.
9139 (_IO_old_file_init_internal): Declare, internal replacement for
9140 _IO_old_file_init.
9141 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9142 internal use.
9143 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9144 Declare.
9145 (libio_vtable): New macro.
9146 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9147 functions.
9148 * libio/fileops.c (_IO_new_file_init_internal): Rename from
9149 _IO_new_file_init.
9150 (_IO_new_file_init): New externally visible wrapper which disables
9151 vtable verification.
9152 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9153 Define as vtables.
9154 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9155 (_IO_init): New externally visible wrapper which disables
9156 vtable verification.
9157 * libio/iofdopen.c (_IO_new_fdopen): Call
9158 _IO_new_file_init_internal instead of _IO_file_init. Adjust
9159 comment.
9160 * libio/iofopen.c (__fopen_internal): Call
9161 _IO_new_file_init_internal instead of _IO_file_init.
9162 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9163 Define as vtables.
9164 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9165 _IO_new_file_init_internal instead of _IO_file_init.
9166 * libio/iopopen.c (_IO_new_popen): Likewise.
9167 (_IO_proc_jumps): Define as vtable.
9168 * libio/iovdprintf.c (_IO_vdprintf): Call
9169 _IO_new_file_init_internal instead of _IO_file_init.
9170 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9171 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9172 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9173 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9174 _IO_old_file_init.
9175 (_IO_old_file_init): New externally visible wrapper which disables
9176 vtable verification.
9177 (_IO_old_file_jumps): Define as vtable.
9178 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9179 _IO_old_file_init_internal instead of _IO_old_file_init.
9180 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9181 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9182 (_IO_old_proc_jumps): Define as vtable.
9183 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9184 Define as vtables.
9185 * libio/vtables.c: New file.
9186 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9187 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9188 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9189 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9190 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9191 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9192 instead of _IO_init.
9193
9194 2016-06-23 Florian Weimer <fweimer@redhat.com>
9195
9196 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9197
9198 2016-06-23 Florian Weimer <fweimer@redhat.com>
9199
9200 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9201 potentially unused.
9202
9203 2016-06-22 Florian Weimer <fweimer@redhat.com>
9204
9205 * test-skeleton.c (write_message): New function.
9206 * malloc/tst-mallocfork2.c (write_message): Remove.
9207 * debug/tst-longjmp_chk2.c (write_indented): New function.
9208 (write_message): Remove.
9209 (stackoverflow_handler): Call write_indented.
9210
9211 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9212
9213 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9214 "inexact" exceptions after fnstenv.
9215 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9216 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9217 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9218
9219 2015-06-22 Zack Weinberg <zackw@panix.com>
9220
9221 * sysdeps/generic/bits/hwcap.h: Moved to ...
9222 * bits/hwcap.h: Here.
9223
9224 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9225
9226 * sysdeps/aarch64/memcpy.S (memcpy):
9227 Further tuning for performance.
9228
9229 2016-06-21 Florian Weimer <fweimer@redhat.com>
9230
9231 [BZ #20284]
9232 * malloc/arena.c (reused_arena): Do not return NULL if we start
9233 out with a non-corrupted arena.
9234
9235 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9236
9237 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9238 * misc/tst-preadvwritev.c: New file.
9239 * misc/tst-preadvwritev64.c: Likewise.
9240 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9241 usage.
9242 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9243 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9244 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9245 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9246
9247 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9248
9249 [BZ #19654]
9250 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9251 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9252 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9253 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9254 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9255 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9256 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9257 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9258 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9259 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9260 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9261 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9262 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9263 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9264 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9265 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9266 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9267 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9268 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9269 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9270 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9271 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9272 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9273 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9274 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9275 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9276
9277 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9278
9279 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9280 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9281
9282 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9283
9284 * sysdeps/aarch64/memcpy.S (memcpy):
9285 Rewrite of optimized memcpy and memmove.
9286 * sysdeps/aarch64/memmove.S (memmove): Remove
9287 memmove code (merged into memcpy.S).
9288
9289 2016-06-20 Florian Weimer <fweimer@redhat.com>
9290
9291 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9292 * sysdeps/generic/dl-dtv.h: New file.
9293 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9294 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9295 (dtv_t): Remove.
9296 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9297 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9298 (dtv_t): Remove.
9299 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9300 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9301 (dtv_t): Remove.
9302 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9303 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9304 (dtv_t): Remove.
9305 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9306 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9307 (dtv_t): Remove.
9308 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9309 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9310 (dtv_t): Remove.
9311 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9312 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9313 (dtv_t): Remove.
9314 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9315 (dtv_t): Remove.
9316 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9317 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9318 (dtv_t): Remove.
9319 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9320 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9321 (dtv_t): Remove.
9322 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9323 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9324 (dtv_t): Remove.
9325 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9326 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9327 (dtv_t): Remove.
9328 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9329 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9330 (dtv_t): Remove.
9331 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9332 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9333 (dtv_t): Remove.
9334 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9335 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9336 (dtv_t): Remove.
9337 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9338 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9339 (dtv_t): Remove.
9340
9341 2016-06-20 Florian Weimer <fweimer@redhat.com>
9342
9343 Revert symbol poisoning of __malloc_initialize_hook.
9344 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9345 poisoning.
9346 * malloc/Makefile: Remove un-poisoning.
9347 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9348 instead of old__malloc_initialize_hook.
9349 * malloc/malloc-hooks.h: Likewise.
9350 * malloc/malloc.c: Likewise.
9351 * malloc/mcheck-init.c: Likewise.
9352
9353 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9354
9355 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9356
9357 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9358
9359 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9360 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9361 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9363
9364 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9365
9366 * NEWS: Mention addition of nextup and nextdown.
9367 * manual/arith.texi: Document nextup and nextdown.
9368 * manual/libm-err-tab.pl: Add nextup and nextdown.
9369 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9370 * math/Versions (libm): Add GLIBC_2.24.
9371 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9372 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9373 Add new test.
9374 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9375 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9376 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9377 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9378 (nextup_test_data): Likewise.
9379 (nextdown_test_data): Likewise.
9380 * math/s_nextdown.c: New file.
9381 * math/s_nextdownf.c: Likewise.
9382 * math/s_nextdownl.c: Likewise.
9383 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9384 F(nextup): New function.
9385 F(nextdown): Likewise.
9386 * math/tgmath.h: Add nextup and nextdown.
9387 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9388 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9393 Add nextup and nextdown.
9394 (CFLAGS-nldbl-nextup.c): New variable.
9395 (CFLAGS-nldbl-nextdown.c): Likewise.
9396 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9397 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9398 * sysdeps/nacl/libm.abilist: Update.
9399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9413 Likewise.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9427
9428 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9429
9430 * manual/pattern.texi: Fix typos & grammar errors.
9431
9432 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9433
9434 * manual/search.texi: Fix typos & grammar errors.
9435
9436 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9437
9438 * manual/message.texi: Fix typos & grammar errors.
9439
9440 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9441
9442 * manual/contrib.texi: Fix spelling typos.
9443 * manual/crypt.texi: Likewise.
9444 * manual/filesys.texi: Likewise.
9445 * manual/locale.texi: Likewise.
9446 * manual/message.texi: Likewise.
9447 * manual/nss.texi: Likewise.
9448 * manual/string.texi: Likewise.
9449
9450 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9451
9452 * manual/locale.texi: Fix typos & grammar errors.
9453
9454 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9455
9456 * manual/charset.texi: Fix typos & grammar errors.
9457
9458 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9459
9460 * manual/string.texi: Fix typos.
9461
9462 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9463
9464 * manual/ctype.texi: Fix typos.
9465
9466 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9467
9468 * manual/memory.texi: Fix various typos & grammar errors.
9469
9470 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9471
9472 [BZ #20255]
9473 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9474 * math/libm-test.inc (fdim_test_data): Add another test.
9475
9476 [BZ #6796]
9477 [BZ #20255]
9478 [BZ #20256]
9479 * math/s_fdim.c: Include <math_private.h>.
9480 (__fdim): Use math_narrow_eval on result.
9481 * math/s_fdimf.c: Include <math_private.h>.
9482 (__fdimf): Use math_narrow_eval on result.
9483 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9484 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9485 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9486 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9487 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9488 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9489 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9490 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9491 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9492 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9493 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9494 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9495 overflow. Add sNaN tests.
9496
9497 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9498 fpclassify.
9499 * math/s_fdimf.c (__fdimf): Likewise.
9500 * math/s_fdiml.c (__fdiml): Likewise.
9501
9502 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9503
9504 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9505 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9507 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9508 ifunc'ed strcasecmp/strncasecmp.
9509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9510 [EALIGN]: Removed.
9511 [END]: Likewise.
9512 [__strcasecmp]: Define instead of the above to control symbol name.
9513 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9514 for __strcasecmp_power8.
9515 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9516 for __strncasecmp_power8.
9517 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9518 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9520 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9521 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9522 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9523
9524 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9525
9526 [BZ #20252]
9527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9528 arguments when second argument is a NaN.
9529 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9530 qNaN tests.
9531
9532 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9533 (conj_test_data): Likewise.
9534 (copysign_test_data): Likewise.
9535 (creal_test_data): Likewise.
9536 (fma_test_data): Likewise.
9537 (fmod_test_data): Likewise.
9538
9539 [BZ #20250]
9540 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9541 itself.
9542 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9543 zero input to itself.
9544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9545 Likewise.
9546 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9547 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9550 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9551
9552 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9553
9554 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9555 * nptl/tst-cancel4-common.c: New file.
9556 * nptl/tst-cancel4-common.h: Likewise.
9557 * nptl/tst-cancel4.c: Move common definitions to
9558 tst-cancel4-common.{c,h} file.
9559 * nptl/tst-cancel4_1.c: New test.
9560 * nptl/tst-cancel4_2.c: New test.
9561
9562 2016-06-13 Florian Weimer <fweimer@redhat.com>
9563
9564 [BZ #20248]
9565 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9566 (write_message): New function.
9567 (stackoverflow_handler): Call it instead of printf, to avoid
9568 excessive stack usage by printf.
9569 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9570
9571 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9572
9573 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9574 (prio_inherit_missing): Remove define.
9575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9576 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9578 Likewise.
9579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9580 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9582 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9583 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9584 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9585
9586 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9587
9588 [BZ #19670]
9589 [BZ #19672]
9590
9591 * io/test-lfs.c (do_prepare): Use xmalloc.
9592 * io/tst-fcntl.c (do_prepare): Likewise.
9593 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9594 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9595 * login/tst-utmp.c (do_prepare): Likewise.
9596 * posix/tst-exec.c (do_prepare): Likewise.
9597 * posix/tst-pathconf.c (prepare): Likewise.
9598 * posix/tst-spawn.c (do_prepare): Likewise.
9599 * posix/tst-truncate.c (do_prepare): Likewise.
9600 * rt/tst-aio.c (do_prepare): Likewise.
9601 * rt/tst-aio64.c (do_prepare): Likewise.
9602
9603 2016-06-11 Florian Weimer <fweimer@redhat.com>
9604
9605 [BZ #20237]
9606 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9607 (get*ent): Set entidx to NULL during initialization. If entidx is
9608 NULL, start iteration from the beginning.
9609
9610 2016-06-11 Florian Weimer <fweimer@redhat.com>
9611
9612 * malloc/malloc.c (musable): Return correct size for dumped fake
9613 mmapped chunk.
9614
9615 2016-06-11 Florian Weimer <fweimer@redhat.com>
9616
9617 [BZ #20222]
9618 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9619 (_IO_cookie_write): Likewise.
9620 (_IO_cookie_seek): Likewise.
9621 (_IO_cookie_close): Likewise.
9622 (_IO_old_cookie_seek): Likewise.
9623 (set_callbacks): New function.
9624 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9625
9626 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9627
9628 * locale/programs/localedef.c (oldstyle_tables): Remove.
9629 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9630
9631 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9632
9633 [BZ #20240]
9634 * math/Makefile (CFLAGS-s_modf.c): New variable.
9635 (CFLAGS-s_modff.c): Likewise.
9636 (CFLAGS-s_modfl.c): Likewise.
9637 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9638
9639 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9640
9641 [BZ #20215]
9642 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9643 [!__GNUC_PREREQ (3,2)]: Likewise.
9644
9645 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9646
9647 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9648 (msghdr.msg_controllen): Likewise.
9649 (cmsghdr.cmsg_len): Likewise.
9650 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9651 ptw-oldsendmsg.
9652 (CFLAGS-oldrecvmsg.c): Remove rule.
9653 (CFLAGS-oldsendmsg.c): Likewise.
9654 (CFLAGS-recvmsg.c): Add rule.
9655 (CFLAGS-sendmsg.c): Likewise.
9656 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9657 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9658 (CFLAGS-recvmsg.c): Remove rule.
9659 (CFLAGS-sendmsg.c): Likewise.
9660 (CFLAGS-oldrecvmsg.c): Likewise.
9661 (CFLAGS-oldsendmsg.c): Likewise.
9662 (CFLAGS-recvmmsg.c): Likewise.
9663 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9664 to kernel defined interfaces.
9665 (msghdr.msg_controllen): Likewise.
9666 (cmsghdr.cmsg_len): Likewise.
9667 (msghdr.__glibc_reserved1): Remove member.
9668 (msghdr.__glibc_reserved2): Likewise.
9669 (cmsghdr.__glibc_reserved1): Likewise.
9670 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9671 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9672 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9673 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9674 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9675 version.
9676 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9677 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9678 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9679 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9680 Remove recvmsg and sendmsg.
9681 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9682 Likewise.
9683 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9684 Likewise.
9685 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9686 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9687 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9688 Likewise.
9689 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9690 Likewise.
9691 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9692 [libc] (GLIBC_2.24): Likewise.
9693 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9696 Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9698 [libc] (GLIBC_2.24): Likewise.
9699 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9700 Likewise.
9701 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9702 Likewise.
9703 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9704 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9705 Likewise.
9706 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9707 Likewise.
9708 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9709 Likewise.
9710 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9711 Likewise.
9712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9713 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9714 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9715 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9716 version for {recv,send,recm,sendm}msg.
9717 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9722 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9723 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9730 Likewise.
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9732 Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9738 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9740 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9746
9747 2016-06-10 Florian Weimer <fweimer@redhat.com>
9748
9749 [BZ #19564]
9750 Remove __malloc_initialize_hook from the API.
9751 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9752 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9753 #pragma GCC poison.
9754 * malloc/malloc-hooks.h: New file.
9755 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9756 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9757 (old__malloc_initialize_hook): Rename from
9758 __malloc_initialize_hook to evade poisoning. Turn into compat
9759 symbol.
9760 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9761 __malloc_initialize_hook.
9762 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9763 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9764 * manual/memory.texi (Hooks for Malloc): Remove
9765 __malloc_initialize_hook. Adjust hook example.
9766
9767 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9768
9769 [BZ #20235]
9770 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9771 itself.
9772 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9773 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9774
9775 [BZ #20234]
9776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9777 infinity or NaN input to itself.
9778
9779 [BZ #20233]
9780 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9781 to itself.
9782
9783 [BZ #20232]
9784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9785 itself.
9786
9787 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9790 __libc_start_main via GOT.
9791
9792 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9793
9794 * sysdeps/x86_64/memcopy.h: New file.
9795 * sysdeps/x86_64/wordcopy.c: Likewise.
9796
9797 2016-06-09 Florian Weimer <fweimer@redhat.com>
9798
9799 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9800 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9801 <cstdlib>.
9802 (optimization_barrier): New.
9803 (do_test): Use it. Call quick_exit in the global namespace.
9804 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9805 instead of <cstdlib>, <thread>.
9806 (optimization_barrier): New.
9807 (non_main_thread): Adjust declaration. Call optimization_barrier.
9808 Call quick_exit in the global namespace.
9809 (do_test): Call optimization_barrier. Use pthread_create,
9810 pthread_join instead of std::thread.
9811
9812 2016-06-09 Andreas Schwab <schwab@suse.de>
9813
9814 [BZ #19755]
9815 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9816 new entries in auto-propagate mode.
9817 * nscd/grpcache.c (cache_addgr): Likewise.
9818
9819 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9820
9821 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9822 New functions.
9823 (add_temp_file): Use them.
9824
9825 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9826
9827 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9828
9829 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9830
9831 [BZ #20229]
9832 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9833 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9834 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9835
9836 [BZ #20228]
9837 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9838 itself.
9839 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9840 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9841
9842 [BZ #20227]
9843 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9844 itself.
9845 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9846 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9847 * math/libm-test.inc (log_test_data): Add sNaN tests.
9848
9849 [BZ #20226]
9850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9851 itself.
9852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9853 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9854 (exp10_test_data): Likewise.
9855 (expm1_test_data): Likewise.
9856
9857 [BZ #20225]
9858 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9859 itself.
9860 * math/s_ldexpf.c (__ldexpf): Likewise.
9861 * math/s_ldexpl.c (__ldexpl): Likewise.
9862 * math/w_scalbln.c (__w_scalbln): Likewise.
9863 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9864 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9865 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9866 (scalbln_test_data): Likewise.
9867
9868 [BZ #20224]
9869 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9870 argument to itself.
9871 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9872
9873 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 [BZ #19776]
9876 * sysdeps/x86_64/memcpy.S: Make it dummy.
9877 * sysdeps/x86_64/mempcpy.S: Likewise.
9878 * sysdeps/x86_64/memmove.S: New file.
9879 * sysdeps/x86_64/memmove_chk.S: Likewise.
9880 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9881 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9882 * sysdeps/x86_64/memmove.c: Removed.
9883 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9884 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9885 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9886 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9887 Likewise.
9888 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9889 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9891 memcpy-sse2-unaligned, memmove-avx-unaligned,
9892 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9894 (__libc_ifunc_impl_list): Replace
9895 __memmove_chk_avx512_unaligned_2 with
9896 __memmove_chk_avx512_unaligned. Remove
9897 __memmove_chk_avx_unaligned_2. Replace
9898 __memmove_chk_sse2_unaligned_2 with
9899 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9900 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9901 with __memmove_avx512_unaligned. Replace
9902 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9903 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9904 with __memcpy_chk_avx512_unaligned. Remove
9905 __memcpy_chk_avx_unaligned_2. Replace
9906 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9907 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9908 Replace __memcpy_avx512_unaligned_2 with
9909 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9910 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9911 with __mempcpy_chk_avx512_unaligned. Remove
9912 __mempcpy_chk_avx_unaligned_2. Replace
9913 __mempcpy_chk_sse2_unaligned_2 with
9914 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9915 Replace __mempcpy_avx512_unaligned_2 with
9916 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9917 Replace __mempcpy_sse2_unaligned_2 with
9918 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9919 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9920 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9921 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9922 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9923 (ENTRY): Removed.
9924 (END): Likewise.
9925 (ENTRY_CHK): Likewise.
9926 (libc_hidden_builtin_def): Likewise.
9927 Don't include ../memcpy.S.
9928 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9929 __memcpy_chk_avx512_unaligned_erms and
9930 __memcpy_chk_avx512_unaligned. Use
9931 __memcpy_chk_avx_unaligned_erms and
9932 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9933 Default to __memcpy_chk_sse2_unaligned.
9934 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9935 Change function suffix from unaligned_2 to unaligned.
9936 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9937 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9938 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9939 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9940 (ENTRY): Removed.
9941 (END): Likewise.
9942 (ENTRY_CHK): Likewise.
9943 (libc_hidden_builtin_def): Likewise.
9944 Don't include ../mempcpy.S.
9945 (mempcpy): New. Add a weak alias.
9946 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9947 __mempcpy_chk_avx512_unaligned_erms and
9948 __mempcpy_chk_avx512_unaligned. Use
9949 __mempcpy_chk_avx_unaligned_erms and
9950 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9951 Default to __mempcpy_chk_sse2_unaligned.
9952
9953 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 [BZ #19881]
9956 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9957 into ...
9958 * sysdeps/x86_64/memset.S: This.
9959 (__bzero): Removed.
9960 (__memset_tail): Likewise.
9961 (__memset_chk): Likewise.
9962 (memset): Likewise.
9963 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9964 defined.
9965 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9966 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9967 (__memset_zero_constant_len_parameter): Check SHARED instead of
9968 PIC.
9969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9970 memset-avx2 and memset-sse2-unaligned-erms.
9971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9972 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9973 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9974 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9975 (__bzero): Enabled.
9976 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9977 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9978 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9979 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9980 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9981 (memset): Removed.
9982 (__memset_chk): Likewise.
9983 (MEMSET_SYMBOL): New.
9984 (libc_hidden_builtin_def): Replace __memset_sse2 with
9985 __memset_sse2_unaligned.
9986 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9987 __memset_chk_sse2 and __memset_chk_avx2 with
9988 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9989 Use __memset_chk_sse2_unaligned_erms or
9990 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9991 __memset_chk_avx512_unaligned_erms and
9992 __memset_chk_avx512_unaligned.
9993
9994 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9995
9996 * math/gen-auto-libm-test.c (fp_format_desc): remove
9997 suffix member.
9998 (output_generic_value): Remove usage of suffix member,
9999 and the resulting unuse of the fp_format argument.
10000 (output_for_one_input_case): Remove unused fp_format
10001 parameter.
10002
10003 * math/auto-libm-test-out: Regenerate.
10004
10005 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10006 usage with TEST_COND_ibm128.
10007 (TEST_COND_flt_32): Remove.
10008 (TEST_COND_dbl_64): Remove.
10009 (TEST_COND_ldbl_96_intel): Remove.
10010 (TEST_COND_ldbl_96_m68k): Remove.
10011 (TEST_COND_ldbl_128): Remove.
10012
10013 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10014
10015 * auto-libm-test-in:
10016 Replace flt-32 usage with binary32.
10017 Replace dbl-64 usage with binary64.
10018 Replace ldbl-intel-96 usage with intel96.
10019 Replace ldbl-m68k-96 usage with m68k96.
10020 Replace ldbl-128ibm usage with ibm128.
10021 Replace ldbl-128 usage with binary128.
10022
10023 * auto-libm-test-out: Regenerate.
10024
10025 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10026
10027 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10028 (parse_ulps): Dynamically generate type name matching
10029 string from all_floats.
10030 (get_ulps): Generate the ulps as an array instead.
10031 (output_ulps): Dynamically compose the type based
10032 on the number of supported formats, and print
10033 the indices as type specific helper macros.
10034
10035 * math/libm-test.inc: Remove comment about CHOOSE.
10036 (ulp_data): Generate the type in libm-test-ulps.h.
10037 (ULP_IDX): New macro.
10038 (find_ulps): Update usage of max_ulp.
10039
10040 * math/test-double-vlen2.h (CHOOSE): Remove.
10041 * math/test-double-vlen4.h (CHOOSE): Likewise.
10042 * math/test-double-vlen8.h (CHOOSE): Likewise.
10043 * math/test-float.c (CHOOSE): Likewise.
10044 * math/test-float-finite.c (CHOOSE): Likewise.
10045 * math/test-double.c (CHOOSE): Likewise.
10046 * math/test-double-finite.c (CHOOSE): Likewise.
10047 * math/test-idouble.c (CHOOSE): Likewise.
10048 * math/test-ifloat.c (CHOOSE): Likewise.
10049 * math/test-ildoubl.c (CHOOSE): Likewise.
10050 * math/test-ldouble-finite.c (CHOOSE): Likewise.
10051 * math/test-ldouble.c (CHOOSE): Likewise.
10052
10053 * math/test-float.h (TEST_FLOAT): Remove.
10054 * math/test-double.h (TEST_DOUBLE): Likewise.
10055 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10056
10057 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10058
10059 * math/gen-libm-test.pl: (apply_lit): New subroutine.
10060 (parse_args): Strip C suffix from floating point literals
10061 typed with 'f' and wrap them with LIT().
10062
10063 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10064 (test_ff_f_data_nexttoward): Rename to
10065 (test_fj_f_data): New struct.
10066 (nexttoward_test_data): Relabel tests as
10067 TEST_fj_f instead of TEST_ff_f.
10068
10069 2016-06-08 Florian Weimer <fweimer@redhat.com>
10070
10071 Emacs bug 23726.
10072 * malloc/malloc.c (dumped_main_arena_start): Update comment.
10073 (__libc_realloc): Correct size computation for dumped fake mmapped
10074 chunks.
10075
10076 2016-06-07 Joseph Myers <joseph@codesourcery.com>
10077
10078 [BZ #20219]
10079 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10080 to itself.
10081 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10082
10083 [BZ #20218]
10084 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10085 to itself.
10086 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10087
10088 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 [BZ #20195]
10091 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10092 check to ...
10093 (init_cpu_features): Here.
10094
10095 2016-06-07 Carlos O'Donell <carlos@redhat.com>
10096
10097 [BZ #20214]
10098 * sysdeps/unix/sysv/linux/bits/in.h
10099 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10100 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10101 Define to 1.
10102 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10103 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10104 Define to 0.
10105 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10106 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10107
10108 2016-06-06 Carlos O'Donell <carlos@redhat.com>
10109
10110 [BZ #20198]
10111 * stdlib/Makefile (tests): Add tst-quick_exit, and
10112 tst-thread-quick_exit.
10113 [ifeq ($(have-cxx-thread_local),yes)]
10114 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10115 (CFLAGS-tst-thread-quick_exit.o): Likewise.
10116 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10117 (LDLIBS-tst-thread-quick_exit): Likewise.
10118 [ifneq ($(have-cxx-thread_local),yes)]
10119 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10120 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10121 If run_dtors is true call __call_tls_dtors.
10122 (exit): Call __run_exit_handlers with run_dtors set to true.
10123 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10124 definition.
10125 * stdlib/quick_exit.c (quick_exit): Remove function.
10126 (__new_quick_exit): New function.
10127 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10128 function.
10129 * stdlib/tst-quick_exit.cc: New file.
10130 * stdlib/tst-thread-quick_exit.cc: New file.
10131 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10132 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10133 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10135 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10136 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10137 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10138 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10139 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10141 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10143 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10144 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10145 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10146 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10151 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10152 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10153 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10158 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10159 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10160 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10161
10162 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10165 a typo in comments.
10166
10167 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10168
10169 [BZ #20213]
10170 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10171 argument to itself.
10172 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10173
10174 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10175
10176 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10177 required flags.
10178 (CFLAGS-pwritev64.c): Likewise.
10179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10180 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10181 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10182 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10183 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10184 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10185 syscall from auto-generation.
10186 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10187 [WORDSIZE == 64] (pwritev64): Remove macro.
10188 [!PWRITEV] (PWRITEV): Likewise.
10189 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10190 [!PWRITEV] (PWRITE): Likewise.
10191 [!PWRITEV] (OFF_T): Likewise.
10192 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10193 (LO_HI_LONG): Remove macro.
10194 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10195 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10196 (PWRITEV): Remove macro.
10197 (PWRITEV_REPLACEMENTE): Likewise.
10198 (PWRITE): Likewise.
10199 (OFF_T): Likewise.
10200 (pwritev64): New function.
10201 * nptl/tst-cancel4.c (tf_writev): Add test.
10202
10203 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10204 required flags.
10205 (CFLAGS-preadv64.c): Likewise.
10206 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10207 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10208 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10209 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10210 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10212 syscall from auto-generation.
10213 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10214 [WORDSIZE == 64] (preadv64): Remove macro.
10215 [!PREADV] (PREADV): Likewise.
10216 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10217 [!PREADV] (PREAD): Likewise.
10218 [!PREADV] (OFF_T): Likewise.
10219 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10220 (LO_HI_LONG): Remove macro.
10221 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10222 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10223 (PREADV): Remove macro.
10224 (PREADV_REPLACEMENTE): Likewise.
10225 (PREAD): Likewise.
10226 (OFF_T): Likewise.
10227 (preadv64): New function.
10228 * nptl/tst-cancel4.c (tf_preadv): Add test.
10229
10230 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10231
10232 [BZ #20212]
10233 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10234 argument to itself.
10235 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10236
10237 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10238
10239 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10240 New symbol defined as libc_hidden_def.
10241 (strcasestr): Became a weak alias to __strcasestr.
10242 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10243 according to multi-arch support. Move __stpncpy hidden
10244 definition from here to...
10245 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10246 symbol stpncpy.
10247 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10248 libc_hidden_builtin_def.
10249 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10250 memset symbol to use when multi-arch support is available.
10251
10252 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10253
10254 * dlfcn/tst-rec-dlopen.c: Include string.h.
10255
10256 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10257
10258 * manual/install.texi: Remove mention of --without-tls
10259 * INSTALL: Regenerate.
10260
10261 2016-06-05 Florian Weimer <fweimer@redhat.com>
10262
10263 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10264 Remove.
10265 (call_function, interposed_malloc_called): New variables.
10266 (malloc): New function.
10267 (do_test): Do not change malloc hooks. Initialize malloc. Set
10268 and clear call_function as needed.
10269
10270 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 * include/wchar.h (__wmemset): Use __typeof.
10273
10274 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10275
10276 * include/wchar.h (__wmemset): Declare function without typeof.
10277
10278 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10279
10280 [BZ #20205]
10281 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10282 exponent when incrementing negative subnormal with low mantissa
10283 word zero.
10284 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10285 Add another test.
10286
10287 2016-06-03 Florian Weimer <fweimer@redhat.com>
10288
10289 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10290 __wmemset instead of wmemset.
10291
10292 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10293
10294 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10295 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10296 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10297 __USE_KERNEL_IPV6_DEFS to 0.
10298 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10299 Update comment.
10300
10301 2016-06-01 Florian Weimer <fweimer@redhat.com>
10302
10303 [BZ #19861]
10304 Do not use IFUNC resolver with potentially unrelocated symbol.
10305 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10306 (DEFINE_FORK): Remove macro and inline definition.
10307 (fork_alias): Renamed from fork_ifunc.
10308 (__fork_alias): Renamed from __fork_ifunc.
10309
10310 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10311
10312 [BZ 19653]
10313 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10314 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10315
10316 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10317
10318 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10319 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10320 i386-linux-gnu).
10321 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10322 Set to no.
10323 * sysdeps/mach/hurd/configure: Refresh.
10324
10325 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10326
10327 [BZ #20178]
10328 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10329 on failure instead of exit.
10330
10331 2016-05-30 Roland McGrath <roland@hack.frob.com>
10332
10333 [BZ #3629]
10334 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10335 of POSIX.1-2008.
10336
10337 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10338
10339 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10340 Use PLT entry for calling _hurd_self_sigstate.
10341
10342 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10345 available logical processors with SMT level type sharing L2
10346 cache for Intel processors.
10347
10348 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #20160]
10351 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10352 argument to itself before returning the result.
10353 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10354 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10355 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10357 Likewise.
10358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10359 Likewise.
10360 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10361 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10362 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10363 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10364 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10365 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10366
10367 [BZ #20160]
10368 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10369 argument to itself before returning the result.
10370 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10371 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10372 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10374 Likewise.
10375 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10376 Likewise.
10377 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10378 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10379 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10380 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10381 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10382 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10383
10384 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10385
10386 * libm-test.inc: Replace usage of M_El with
10387 (lit_e): New macro.
10388
10389 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10390
10391 * libm-test.inc: Replace usage of M_PI_4l with
10392 (lit_pi_4_d): New macro.
10393
10394 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10395
10396 * libm-test.inc: Replace usage of M_PIl with
10397 (lit_pi): New macro.
10398
10399 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10400
10401 * libm-test.inc: Replace usage of M_PI2l with
10402 (lit_pi_2_d): New macro.
10403
10404 * math/test-double.h (LITM): New macro.
10405 * math/test-float.h (LITM): Likewise.
10406 * math/test-ldouble.h (LITM): Likewise.
10407
10408 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10409
10410 * libm-test.inc (M_PI_34l): Rename to
10411 (lit_pi_3_m_4_d): New Macro.
10412 (M_PI_34_LOG10El): Rename to
10413 (lit_pi_3_m_4_ln10_m_d): New Macro.
10414 (M_PI2_LOG10El): Rename to
10415 (lit_pi_2_ln10_m_d): New Macro.
10416 (M_PI4_LOG10El): Rename to
10417 (lit_pi_4_ln10_m_d): New Macro.
10418 (M_PI_LOG10El): Rename to
10419 (lit_pi_ln10_d): New Macro.
10420
10421 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10422
10423 [BZ #20157]
10424 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10425 determine whether to negate low half if [_ARCH_PPCGR], and integer
10426 comparison otherwise.
10427 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10428 determine whether to negate low half.
10429
10430 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10431 (NO_TEST_INLINE_DOUBLE): Likewise.
10432 (TEST_COND_x86_64): Likewise.
10433 (TEST_COND_x86): Likewise.
10434 (M_PI_6l): Likewise.
10435
10436 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10437
10438 * math/libm-test.inc:
10439 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10440 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10441 (TEST_LDOUBLE): Update usage to evaluate as true if
10442 the guarded tests match the property being tested.
10443 (LDBL_MAX_EXP): Change to MAX_EXP.
10444 (LDBL_MIN_EXP): Change to MIN_EXP.
10445 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10446 nexttoward tests.
10447
10448 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10449
10450 * math/libm-test.inc:
10451 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10452 (TYPE_MIN): Likewise.
10453 (TYPE_TRUE_MIN): Likewise.
10454 (TYPE_MAX): Likewise.
10455 (MIN_EXP): Likewise.
10456 (MAX_EXP): Likewise.
10457 (MANT_DIG): Likewise.
10458
10459 (FSTR_MAX): New macro.
10460 (__CONCATX): Likewise.
10461 (QTYPE_STR): Likewise.
10462 (TEST_COND_binary32): Likewise.
10463 (TEST_COND_binary64): Likewise.
10464 (TEST_COND_binary128): Likewise.
10465 (TEST_COND_ibm128): Likewise.
10466 (TEST_COND_intel96): Likewise.
10467 (TEST_COND_m68k96): Likewise.
10468
10469 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10470 (TEST_COND_dbl_64): Likewise.
10471 (TEST_COND_ldbl_96_intel): Likewise.
10472 (TEST_COND_ldbl_96_m68k): Likewise.
10473 (TEST_COND_ldbl_128): Likewise.
10474 (TEST_COND_ldbl_128ibm): Likewise.
10475
10476 (plus_zero): Redefine using LIT macro.
10477 (minus_zero): Likewise.
10478 (plus_infty): Redefine as (INF).
10479 (minux_infty): Redefine as (-INF).
10480 (max_value): Redefine as TYPE_MAX.
10481 (min_value): Redefine as TYPE_MIN.
10482 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10483
10484 (print_float): Refactor to use snprintf to convert FLOAT values
10485 to string. This brings it closer to dropin replacement of strtof
10486 for the TS 18661 defined types.
10487 (update_stats): Likewise.
10488 (print_complex_function_ulps): Likewise.
10489 (print_max_error): Likewise.
10490 (print_complex_max_error): Likewise.
10491 (check_float_internal): Likewise.
10492
10493 * math/test-float.h (PREFIX): New macro.
10494 (LIT): Likewise.
10495 (TYPE_STR): Likewise.
10496 (FTOSTR): Likewise.
10497
10498 * math/test-double.h (PREFIX): New macro.
10499 (LIT): Likewise.
10500 (TYPE_STR): Likewise.
10501 (FTOSTR): Likewise.
10502
10503 * math/test-ldouble.h (PREFIX): New macro.
10504 (LIT): Likewise.
10505 (TYPE_STR): Likewise.
10506 (FTOSTR): Likewise.
10507
10508 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10509
10510 [BZ #20156]
10511 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10512 to itself when zero or not finite.
10513 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10514 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10515 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10516 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10517
10518 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #20153]
10521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10522 x * x + x for infinities and NaNs.
10523
10524 [BZ #20151]
10525 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10526 argument to itself before returning result.
10527 (__ieee754_y0l): Likewise.
10528 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10529 (__ieee754_y1l).
10530
10531 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10532 (atan_test_data): Likewise.
10533 (ceil_test_data): Likewise.
10534 (cos_test_data): Likewise.
10535 (cosh_test_data): Likewise.
10536 (erf_test_data): Likewise.
10537 (exp2_test_data): Likewise.
10538 (fabs_test_data): Likewise.
10539 (floor_test_data): Likewise.
10540 (ilogb_test_data): Likewise.
10541 (j0_test_data): Likewise.
10542 (j1_test_data): Likewise.
10543 (jn_test_data): Likewise.
10544 (lgamma_test_data): Likewise.
10545 (lrint_test_data): Likewise.
10546 (llrint_test_data): Likewise.
10547 (logb_test_data): Likewise.
10548 (lround_test_data): Likewise.
10549 (llround_test_data): Likewise.
10550 (nearbyint_test_data): Likewise.
10551 (rint_test_data): Likewise.
10552 (round_test_data): Likewise.
10553 (sin_test_data): Likewise.
10554 (sincos_test_data): Likewise.
10555 (sinh_test_data): Likewise.
10556 (sqrt_test_data): Likewise.
10557 (tan_test_data): Likewise.
10558 (tanh_test_data): Likewise.
10559 (tgamma_test_data): Likewise.
10560 (trunc_test_data): Likewise.
10561 (y0_test_data): Likewise.
10562 (y1_test_data): Likewise.
10563 (yn_test_data): Likewise.
10564
10565 * math/libm-test.inc: Update comment about NaN testing.
10566 (TEST_SNAN): New macro.
10567 (snan_value): Likewise.
10568 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10569 (fpclassify_test_data): Add sNaN tests.
10570 (isfinite_test_data): Likewise.
10571 (isinf_test_data): Likewise.
10572 (isnan_test_data): Likewise.
10573 (isnormal_test_data): Likewise.
10574 (issignaling_test_data): Likewise.
10575 (signbit_test_data): Likewise.
10576 * math/gen-libm-test.pl (%beautify): Add snan_value.
10577 (show_exceptions): Add argument $test_snan.
10578 (parse_args): Handle snan_value as non-finite. Update call to
10579 show_exceptions.
10580 * math/Makefile (libm-test-no-inline-cflags): Add
10581 -fsignaling-nans.
10582
10583 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10584
10585 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10586 (CFLAGS-oldsendmsg.c): Add rule.
10587 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10588 Correct recvmsg symbol name.
10589 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10590 Likewise.
10591
10592 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10593
10594 * sysdeps/unix/sysv/linux/Makefile
10595 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10596 oldsendmmsg.
10597 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10598 sendmmsg.
10599 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10602 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10607 Likewise.
10608 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10610 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10611 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10612 iovlen and controllen fields to adjust to POSIX specification.
10613 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10614
10615 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10616 and change to correct expected type.
10617 (msghdr.msg_controllen): Likewise.
10618 (cmsghdr.cmsg_len): Likewise.
10619 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10620 expected POSIX assumption about the size.
10621 (msghdr.msg_controllen): Likewise.
10622 (msghdr.__glibc_reserved1): Likewise.
10623 (msghdr.__glibc_reserved2): Likewise.
10624 (cmsghdr.cmsg_len): Likewise.
10625 (cmsghdr.__glibc_reserved1): Likewise.
10626 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10627 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10628 (CFLAGS-sendmsg.c): Remove rule.
10629 (CFLAGS-recvmsg.c): Likewise.
10630 (CFLAGS-oldsendmsg.c): Add rule.
10631 (CFLAGS-oldrecvmsg.c): Likewise.
10632 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10633 recvmsg and sendmsg.
10634 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10635 Likewise.
10636 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10637 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10638 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10639 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10640 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10641 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10642 Likewise.
10643 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10644 Likewise.
10645 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10646 Likewise.
10647 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10648 Likewise.
10649 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10650 Likewise.
10651 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10652 Likewise.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10654 (GLIBC_2.24): Likewise.
10655 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10656 Likewise.
10657 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10658 Likewise.
10659 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10661 Likewise.
10662 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10663 Likewise.
10664 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10665 Likewise.
10666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10667 (GLIBC_2.24): Likewise.
10668 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10669 Likewise.
10670 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10671 Likewise.
10672 * sysdeps/unix/sysv/linux/Makefile
10673 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10674 (CFLAGS-sendmsg.c): Add rule.
10675 (CFLAGS-recvmsg.c): Likewise.
10676 (CFLAGS-oldsendmsg.c): Likewise.
10677 (CFLAGS-oldrecvmsg.c): Likewise.
10678 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10679 initialization.
10680 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10681 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10682 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10683 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10684 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10685 iovlen and controllen fields to adjust to POSIX specification.
10686 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10688 added recvmsg and sendmsg.
10689 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10702 Likewise.
10703 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10705 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10706 Likewise.
10707 Likewise.
10708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10717 Likewise.
10718 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10720
10721 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10722 from auto-generation.
10723 (sendmsg): Likewise.
10724 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10725 (sendmsg): Likewise.
10726 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10727 (sendmsg): Likewise.
10728 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10729 (sendmsg): Likewise.
10730 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10731 (sendmsg): Likewise.
10732 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10733 (sendmsg): Likewise.
10734 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10735 Likewise.
10736 (sendmsg): Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10738 (sendmsg): Likewise.
10739 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10740 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10741 Remove.
10742 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10743 Likewise.
10744 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10745 Undefine.
10746 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10747 Likewise.
10748 * sysdeps/unix/sysv/linux/kernel-features.h
10749 (__ASSUME_SENDMSG_SYSCALL): Define.
10750 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10752 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10753 Remove.
10754 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10755 Likewise.
10756 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10757 Undefine.
10758 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10759 Likewise.
10760 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10761 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10762 Remove.
10763 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10764 Likewise.
10765 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10766 Undefine.
10767 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10768 Likewise.
10769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10770 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10771 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10773 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10774 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10775 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10776 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10777 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10778
10779 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10780
10781 * stdlib/gen-tst-strtod-round.c: Add backslash to
10782 compile command in comment.
10783 (printfp): Remove the literal suffix, and define an infinite
10784 value as INF to avoid expansion clash with INFINITY.
10785 (round_str): Remove the literal suffix.
10786 (round_for_all): Likewise, remove the now duplicate ldbl-64
10787 entry, and remove some magic constants.
10788
10789 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10790 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10791 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10792 (_CONCAT): New macro.
10793 (CONCAT): Likewise.
10794 (CHOOSE_ld): Likewise.
10795 (CHOOSE_f): Likewise.
10796 (CHOOSE_d): Likewise.
10797 (FTYPE_MEMBER): Likewise.
10798 (BOOL_MEMBER): Likewise.
10799 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10800 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10801 (_XNTRY): Likewise.
10802 (XNTRY): Likewise.
10803 (_ENTRY): Likewise.
10804 (ENTRY): Likewise.
10805 (test_exactness): Generate members via macro.
10806 (test_results): Likewise.
10807 (test): Update members.
10808 (TEST): Redefine using new macros.
10809 (INF): New macro.
10810 (fetestmodes): New structure.
10811 (do_test): Refactor to be type generic.
10812 (test_in_one_mode): Refactor duplicate code into
10813 (GEN_ONE_TEST): New macro.
10814
10815 * stdlib/tst-strtod-round-data.h: Regenerate.
10816
10817 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10818 Extend to pass additional arbitrary parameters to
10819 generators.
10820
10821 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10822
10823 [BZ #15479]
10824 * sysdeps/powerpc/powerpc64/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/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10829 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10830 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10831 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10832 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10833
10834 [BZ #15479]
10835 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10836 floating-point state after first floating-point operation on
10837 input. Restore full floating-point state instead of just rounding
10838 mode.
10839 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10840 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10841 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10842 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10843 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10844
10845 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10846
10847 [BZ #19727]
10848 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10849 valid high surrogate.
10850 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10851 of an utf16 surrogate.
10852 * iconv/gconv_simple.c (BODY): Likewise.
10853 * iconvdata/bug-iconv12.c: New file.
10854 * iconvdata/Makefile (tests): Add bug-iconv12.
10855
10856 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10857
10858 [BZ #19726]
10859 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10860 outptrp in case of an illegal input.
10861 * iconv/tst-iconv6.c: New file.
10862 * iconv/Makefile (tests): Add tst-iconv6.
10863
10864 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10865
10866 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10867 an error in case of a value in range of an utf16 low surrogate.
10868
10869 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10870
10871 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10872 an error in case of a value in range of an utf16 low surrogate.
10873
10874 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10875
10876 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10877 Move to ...
10878 * sysdeps/s390/Makefile: ... here.
10879 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10880 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10881 (BRANCH_ON_COUNT): New define.
10882 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10883 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10884 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10885 run on s390-32, too.
10886 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10887 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10888 run on s390-32, too.
10889 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10890 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10891 run on s390-32, too.
10892
10893 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10894
10895 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10896 etf3eh or new vector loop-variant.
10897
10898 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10899
10900 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10901 etf3eh or new vector loop-variant.
10902
10903 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10904
10905 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10906 or new vector loop-variant.
10907
10908 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10909
10910 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10911 Rename to TR_LOOP and usage of tr instead of troo instruction.
10912
10913 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10914
10915 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10916 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10917
10918 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10919
10920 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10921 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10922 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10923 New override define.
10924 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10925
10926 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10927
10928 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10929 * sysdeps/s390/configure.ac: Add test for S390 vector register
10930 support in gcc.
10931 * sysdeps/s390/configure: Regenerated.
10932
10933 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10934
10935 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10936 Install file from $(objpfx)gconv-modules.
10937 ($(objpfx)gconv-modules): Concatenate architecture specific file
10938 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10939 * sysdeps/s390/gconv-modules: New file.
10940 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10941 Deleted.
10942 ($(objpfx)gconv-modules-s390): Deleted.
10943 (sysdeps-gconv-modules): New variable.
10944
10945 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #15479]
10948 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10949 of immediate operand to rounding instruction.
10950 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10951 Likewise.
10952 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10953 Likewise.
10954 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10955 Likewise.
10956
10957 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10958
10959 * math/libm-test.inc (MIN_EXP): Directly define as
10960 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10961
10962 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10963
10964 * math/libm-test.inc (MANT_DIG): Directly define as
10965 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10966
10967 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10968
10969 * stdlib/gen-tst-strtod-round.c (main):
10970 Change usage to more closely match the generated
10971 output. Add usage and compilation instructions.
10972 (string_to_fp): Add and use FILE* parameter as
10973 output target.
10974 (print_fp): Likewise.
10975 (round_str): Likewise.
10976 (round_for_all): Likewise.
10977 * stdlib/tst-strtod-round.c (tests): Move into
10978 * stdlib/tst-strtod-round-data.h: New file.
10979
10980 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10981
10982 [BZ #15479]
10983 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10984 (__round): Do not force "inexact" exception.
10985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10986 variable.
10987 (__round): Do not force "inexact" exception.
10988 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10989 (__roundf): Do not force "inexact" exception.
10990 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10991 (__roundl): Do not force "inexact" exception.
10992 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10993 (__roundl): Do not force "inexact" exception.
10994 * math/libm-test.inc (round_test_data): Do not allow spurious
10995 "inexact" exceptions.
10996
10997 [BZ #15479]
10998 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10999 exception in comment.
11000 (huge): Remove variable.
11001 (__floor): Do not force "inexact" exception.
11002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11003 "inexact" exception in comment.
11004 (huge): Remove variable.
11005 (__floor): Do not force "inexact" exception.
11006 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11007 exception in comment.
11008 (huge): Remove variable.
11009 (__floorf): Do not force "inexact" exception.
11010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11011 exception in comment.
11012 (huge): Remove variable.
11013 (__floorl): Do not force "inexact" exception.
11014
11015 [BZ #15479]
11016 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11017 exception in comment.
11018 (huge): Remove variable.
11019 (__ceil): Do not force "inexact" exception.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11021 "inexact" exception in comment.
11022 (huge): Remove variable.
11023 (__ceil): Do not force "inexact" exception.
11024 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11025 (__ceilf): Do not force "inexact" exception.
11026 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11027 exception in comment.
11028 (huge): Remove variable.
11029 (__ceill): Do not force "inexact" exception.
11030
11031 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 * config.h.in (BIND_NOW): New.
11034 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
11035 * configure: Regenerated.
11036 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11037 indirect branch via the GOT slot.
11038
11039 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11040
11041 [BZ #19765]
11042 * sysdeps/s390/mempcpy.S: New File.
11043 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11044 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11045 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11046 Add mempcpy variants.
11047 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11048 (memcpy): Adjust to be usable from mempcpy entry point.
11049 (__memcpy_mvcle): Likewise.
11050 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11051 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11052 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11053 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11054 (__memcpy_z10): Likewise.
11055 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11056
11057 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11058
11059 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11060 Remove __GI_ symbol.
11061 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11062 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11063 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11064 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11065 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11066 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11067
11068 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11069
11070 * sysdeps/s390/s390-64/memcpy.S (memcpy):
11071 Use cghi instead of chi to compare 64bit value.
11072
11073 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11074
11075 * sysdeps/s390/s390-32/memcpy.S (memcpy):
11076 Jump to 1MB check before executing mvc-loop.
11077
11078 2016-05-24 Florian Weimer <fweimer@redhat.com>
11079
11080 [BZ #6527]
11081 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11082 unconditionally.
11083 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11084
11085 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11086
11087 * stdlib/tst-strtod6.c (do_test): Use new type generic
11088 invocation of the test function.
11089 (test): Refactor into ...
11090 (TEST_STRTOD): New macro base function.
11091
11092 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11093
11094 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11095 (TEST_STRTOD): New macro.
11096 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11097
11098 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11099
11100 * stdlib/tst-strtod6.c (do_test): Use new type generic
11101 invocation of the test function.
11102 (test): Refactor into ...
11103 (TEST_STRTOD): New macro base function.
11104
11105 2016-05-23 Florian Weimer <fweimer@redhat.com>
11106
11107 CVE-2016-4429
11108 [BZ #20112]
11109 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11110 payload.
11111
11112 2016-05-23 Florian Weimer <fweimer@redhat.com>
11113
11114 [BZ #20111]
11115 * bits/sockaddr.h (_SS_SIZE): Define.
11116 * bits/socket.h (_SS_SIZE): Remove.
11117 (_SS_PADSIZE): Adjust to account for all padding.
11118 (struct sockaddr_storage): Update comment. Avoid implicit
11119 padding.
11120 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11121 (_SS_PADSIZE): Adjust to account for all padding.
11122 (struct sockaddr_storage): Update comment. Avoid implicit
11123 padding.
11124 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11125 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11126 (_SS_PADSIZE): Adjust to account for all padding.
11127 (struct sockaddr_storage): Update comment. Avoid implicit
11128 padding.
11129 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11130 __SS_SIZE is 126 in this version.
11131 * inet/tst-sockaddr.c: New file.
11132 * inet/Makefile (tests): Add tst-sockaddr.c
11133 (tst-sockaddr.c): Compile with non-strict aliasing.
11134
11135 2016-05-23 Joseph Myers <joseph@codesourcery.com>
11136
11137 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11138 [XPG3 || XPG4].
11139 (NL_ARGMAX): Also expect for [XPG3].
11140 (NL_LANGMAX): Likewise.
11141 (NL_MSGMAX): Likewise.
11142 (NL_NMAX): Likewise.
11143 (NL_SETMAX): Likewise.
11144 (NL_TEXTMAX): Likewise.
11145 (NZERO): Likewise.
11146 (TMP_MAX): Likewise.
11147 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11148 variable.
11149
11150 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11151 (PF_MAX): Update value.
11152 (AF_KCM): New macro.
11153 (SOL_NETBEUI): Likewise.
11154 (SOL_LLC): Likewise.
11155 (SOL_DCCP): Likewise.
11156 (SOL_NETLINK): Likewise.
11157 (SOL_TIPC): Likewise.
11158 (SOL_RXRPC): Likewise.
11159 (SOL_PPPOL2TP): Likewise.
11160 (SOL_BLUETOOTH): Likewise.
11161 (SOL_PNPIPE): Likewise.
11162 (SOL_RDS): Likewise.
11163 (SOL_IUCV): Likewise.
11164 (SOL_CAIF): Likewise.
11165 (SOL_ALG): Likewise.
11166 (SOL_NFC): Likewise.
11167 (SOL_KCM): Likewise.
11168 (MSG_BATCH): New enum value and macro.
11169
11170 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
11171
11172 [BZ #18185]
11173 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11174 sharing L2 cache to 2 for Knights Landing.
11175
11176 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11177
11178 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11179 (FTW_DP): Do not expect for [XPG3 || XPG4].
11180 (FTW_SL): Do not expect for [XPG3].
11181 (FTW_SLN): Likewise.
11182 (FTW_PHYS): Likewise.
11183 (FTW_MOUNT): Likewise.
11184 (FTW_DEPTH): Likewise.
11185 (FTW_CHDIR): Likewise.
11186 (nftw): Likewise.
11187 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11188 variable.
11189
11190 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11191
11192 * manual/errno.texi: Fix various typos & grammar errors.
11193
11194 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11195
11196 * manual/intro.texi: Fix duplicated typo.
11197
11198 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11199
11200 [BZ #13304]
11201 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11202 <float.h>, <math_private.h> and <stdlib.h>.
11203 (add_split): New function.
11204 (mul_split): Likewise.
11205 (ext_val): New typedef.
11206 (store_ext_val): New function.
11207 (mul_ext_val): New function.
11208 (compare): New function.
11209 (add_split_ext): New function.
11210 (__fmal): After checking for Inf, NaN and zero, compute result as
11211 an exact sum of scaled double values in round-to-nearest before
11212 adding those up and adjusting for other rounding modes.
11213 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11214 tests of fma.
11215 * math/auto-libm-test-out: Regenerated.
11216
11217 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11218
11219 [BZ #20119]
11220 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11221 processor level type mask for CPUID with EAX == 11.
11222
11223 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11226 logical threads if the HTT bit is 0.
11227 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11228 (index_cpu_HTT): Likewise.
11229 (reg_HTT): Likewise.
11230
11231 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 [BZ #20115]
11234 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11235 Remove alignments on jump targets.
11236
11237 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11238
11239 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11240 (getpwent): Likewise.
11241 (setpwent): Likewise.
11242 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11243 variable.
11244
11245 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11246 (remque): Likewise.
11247 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11248 variable.
11249
11250 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11251
11252 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11253 not being tested.
11254
11255 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11258 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11259 call.
11260 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11261 (__condvar_cleanup1): Likewise.
11262
11263 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11264
11265 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11266 New
11267 (__pthread_unwind): Renamed to ...
11268 (PTHREAD_UNWIND): This.
11269 (__pthread_enable_asynccancel): Replace
11270 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11271
11272 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11273
11274 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11275 (CLONE_NEWCGROUP): New macro.
11276
11277 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11278 (Q_GETNEXTQUOTA): New macro.
11279
11280 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 [BZ #19907]
11283 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11284 buffer updated by the previous run.
11285 * string/test-memcpy.c (do_one_test): Likewise.
11286 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11287 * string/test-memmove.c (do_one_test): Likewise.
11288
11289 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11290
11291 [BZ #20094]
11292 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11293 not [__USE_XOPEN].
11294 (unlockpt): Likewise.
11295 (ptsname): Likewise.
11296 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11297 variable.
11298
11299 [BZ #20076]
11300 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11301 instead of [__USE_UNIX98].
11302 (S_ISSOCK): Likewise.
11303 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11304 variable.
11305
11306 [BZ #20074]
11307 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11308 [__USE_POSIX].
11309 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11310 variable.
11311
11312 [BZ #20051]
11313 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11314 (ttyslot): Do not declare.
11315 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11316 (ttyslot): New prototype.
11317 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11318 variable.
11319 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11320
11321 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11322
11323 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11324
11325 2016-05-13 Florian Weimer <fweimer@redhat.com>
11326
11327 Fix race condition in tst-mallocfork2, use fewer resources.
11328 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11329 to current process group.
11330 (signal_sender): Yield in the non-sleeping case.
11331
11332 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11333
11334 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11335 (ecvt): Likewise.
11336 (fcvt): Likewise.
11337 (gcvt): Likewise.
11338 (getsubopt): Likewise.
11339 (grantpt): Likewise.
11340 (initstate): Likewise.
11341 (l64a): Likewise.
11342 (mktemp): Likewise.
11343 (mkstemp): Likewise.
11344 (ptsname): Likewise.
11345 (random): Likewise.
11346 (realpath): Likewise.
11347 (setstate): Likewise.
11348 (srandom): Likewise.
11349 (ttyslot): Likewise.
11350 (unlockpt): Likewise.
11351 (valloc): Likewise.
11352
11353 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11354 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11355 variable.
11356
11357 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 [BZ #20072]
11360 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11361 init_cpu_features only if SHARED is defined.
11362 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11363
11364 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11365
11366 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11367 non-inclusive caches on Intel processors.
11368
11369 2016-05-13 Florian Weimer <fweimer@redhat.com>
11370
11371 * malloc/malloc.c (dumped_main_arena_start)
11372 (dumped_main_arena_end): New variables.
11373 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11374 (do_check_chunk): Skip dumped fake mmapped chunks.
11375 (munmap_chunk): Likewise.
11376 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11377 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11378 mmapped chunks.
11379 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11380 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11381 and dumped_main_arena_end to cover the dumped heap.
11382
11383 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11384
11385 * conform/data/time.h-data (getdate_err): Do not expect for
11386 [XPG3].
11387 (getdate): Likewise.
11388 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11389 variable.
11390
11391 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11392 (F_ULOCK): Likewise.
11393 (F_TEST): Likewise.
11394 (F_TLOCK): Likewise.
11395 (useconds_t): Likewise.
11396 (intptr_t): Do not expect for [XPG3] or [XPG4].
11397 (brk): Do not expect for [XPG3]
11398 (fchown): Likewise.
11399 (fchdir): Likewise.
11400 (ftruncate): Likewise.
11401 (getdtablesize): Likewise.
11402 (gethostid): Likewise.
11403 (getpagesize): Likewise.
11404 (getpgid): Likewise.
11405 (getsid): Likewise.
11406 (getwd): Likewise.
11407 (lchown): Likewise.
11408 (lockf): Likewise.
11409 (readlink): Likewise.
11410 (sbrk): Likewise.
11411 (setpgrp): Likewise.
11412 (setregid): Likewise.
11413 (setreuid): Likewise.
11414 (symlink): Likewise.
11415 (sync): Likewise.
11416 (truncate): Likewise.
11417 (ualarm): Likewise.
11418 (usleep): Likewise.
11419 (vfork): Likewise.
11420 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11421 variable.
11422
11423 [BZ #20054]
11424 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11425 not [__USE_UNIX98].
11426 * conform/data/unistd.h-data (gethostname): Do not expect for
11427 [XPG3].
11428
11429 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11430 [!POSIX] (S_IFBLK): Likewise.
11431 [!POSIX] (S_IFCHR): Likewise.
11432 [!POSIX] (S_IFIFO): Likewise.
11433 [!POSIX] (S_IFREG): Likewise.
11434 [!POSIX] (S_IFDIR): Likewise.
11435 [!POSIX] (S_IFLNK): Likewise.
11436 [!POSIX] (S_IFSOCK): Likewise.
11437 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11438 variable.
11439 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11440
11441 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11442
11443 * sysdeps/aarch64/memset.S (__memset):
11444 Rewrite of optimized memset.
11445
11446 2016-05-12 Florian Weimer <fweimer@redhat.com>
11447
11448 [BZ #19703]
11449 Partially async-signal-safe fork for single-threaded processes.
11450 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11451 variable. Do not acquire and reset/release malloc and libio locks
11452 in single-threaded processes.
11453 * malloc/tst-mallocfork2.c: New file.
11454 * malloc/Makefile (tests): Add it.
11455
11456 2016-05-12 Florian Weimer <fweimer@redhat.com>
11457
11458 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11459 argument. Use scratch buffer instead of extend_alloca.
11460 (gethosts): Use scratch buffer instead of extend_alloca.
11461 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11462 extend_alloca.
11463 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11464
11465 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11466
11467 [BZ #20055]
11468 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11469 instead of [__USE_UNIX98].
11470 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11471 [__USE_UNIX98].
11472 * conform/data/termios.h-data (tcgetsid): Do not expect for
11473 [XPG3].
11474 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11475 variable.
11476 (test-xfail-XPG4/termios.h/conform): Likewise.
11477
11478 2016-05-11 Florian Weimer <fweimer@redhat.com>
11479
11480 Do not use mcheck in localedef.
11481 * locale/programs/localedef.c (turn_on_mcheck)
11482 (__malloc_initialize_hook): Remove.
11483
11484 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11485
11486 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11487 * sysdeps/s390/s390-64/Makefile: Likewise.
11488
11489 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11492 Remove ifunc-defines.sym.
11493 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11494 Likewise.
11495 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11496 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11497 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11498 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11499 rtld-global-offsets.sym.
11500 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11501 * sysdeps/x86/cpu-features-offsets.sym: This.
11502 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11503 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11504
11505 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11506
11507 [BZ #20073]
11508 * io/sys/stat.h (fchmod): Declare for
11509 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11510 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11511 variable.
11512
11513 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11514 [XPG3] (S_IFSOCK): Likewise.
11515 [XPG3] (S_ISVTX): Likewise.
11516 [XPG3] (S_ISLNK): Likewise.
11517 [XPG3] (S_ISSOCK): Likewise.
11518 [XPG3] (fchmod): Likewise.
11519 [XPG3] (lstat): Likewise.
11520 [XPG3] (mknod): Likewise.
11521
11522 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11523 [XPG3]. Expect type long and XFAIL for [XPG4].
11524 (st_blocks): Likewise.
11525
11526 [BZ #20044]
11527 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11528 (pthread_atfork): New prototype.
11529 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11530 variable.
11531
11532 [BZ #20043]
11533 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11534 prototype.
11535
11536 2016-05-10 Florian Weimer <fweimer@redhat.com>
11537
11538 [BZ #20017]
11539 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11540 gmtime.
11541
11542 2016-05-10 Florian Weimer <fweimer@redhat.com>
11543
11544 [BZ #19994]
11545 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11546 flag in _res.options.
11547
11548 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11549
11550 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11551 [XPG3 || XPG4].
11552 (blksize_t): Likewise.
11553 (clockid_t): Likewise.
11554 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11555 variable.
11556 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11557
11558 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11559
11560 * sysdeps/unix/sysv/linux/s390/init-first.c:
11561 Add VDSO_SYMBOL(getcpu).
11562 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11563 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11564 Add VDSO_SYMBOL(getcpu).
11565 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11566 New define HAVE_GETCPU_VSYSCALL.
11567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11568
11569 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11572 instead of <sysdeps/x86_64/cacheinfo.c>.
11573 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11574 * sysdeps/x86/cacheinfo.c: Here.
11575
11576 2016-05-04 Florian Weimer <fweimer@redhat.com>
11577
11578 * malloc/malloc-internal.h: Adjust header file guard.
11579
11580 2016-05-04 Florian Weimer <fweimer@redhat.com>
11581
11582 [BZ #19787]
11583 * inet/getnameinfo.c (check_sprintf_result): New function.
11584 (CHECKED_SNPRINTF): New macro.
11585 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11586 to the host buffer.
11587 (gni_host_local): Use checked_copy to copy the host name.
11588 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11589 (gni_serv_local): Use checked_copy to copy the service name.
11590 (getnameinfo): Remove unnecessary truncation of result buffers.
11591
11592 2016-05-04 Florian Weimer <fweimer@redhat.com>
11593
11594 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11595 in case of inet_ntop failure.
11596
11597 2016-05-04 Florian Weimer <fweimer@redhat.com>
11598
11599 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11600 avoid long lines.
11601 (gni_host_inet_numeric): Likewise. Reduce scope of local
11602 variables.
11603 (gni_host_inet, gni_host_local): Add comment.
11604 (gni_host): Add comment. Use temporary to avoid long lines.
11605
11606 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11607
11608 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11609 registers specifiers where general purpose registers specifiers should
11610 have been used.
11611
11612 2016-05-04 Florian Weimer <fweimer@redhat.com>
11613
11614 [BZ #19779]
11615 CVE-2016-1234
11616 Avoid copying names of directory entries.
11617 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11618 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11619 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11620 (struct readdir_result): New type.
11621 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11622 (GL_READDIR): New macros.
11623 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11624 (convert_dirent, convert_dirent64): New functions.
11625 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11626 convert_dirent64. Adjust references to the readdir result.
11627 * sysdeps/unix/sysv/linux/i386/glob64.c:
11628 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11629 * posix/bug-glob2.c (LONG_NAME): Define.
11630 (filesystem): Add LONG_NAME.
11631 (my_DIR): Increase the size of room_for_dirent.
11632
11633 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11634
11635 [BZ #20041]
11636 * misc/sys/select.h (__need_timespec): Only define if
11637 [__USE_XOPEN2K].
11638 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11639 variable.
11640 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11641 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11642 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11643
11644 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11645 Segher Boessenkool <segher@gcc.gnu.org>
11646
11647 [BZ #20004]
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11649 (__novec_swapcontext): Add missing load.
11650
11651 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11652
11653 [BZ #20023]
11654 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11655 <time.h>.
11656 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11657 variable.
11658 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11659
11660 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11661
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11663 flags CLONE_VM compare.
11664
11665 2016-05-02 Florian Weimer <fweimer@redhat.com>
11666
11667 [BZ #20031]
11668 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11669 completely empty.
11670
11671 2016-05-02 Florian Weimer <fweimer@redhat.com>
11672
11673 [BZ #19573]
11674 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11675 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11676 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11677 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11678 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11679 (hesiod_free_list): Mark as hidden.
11680 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11681 res_set, res_get.
11682 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11683 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11684 (hesiod_init): Remove obsolete res_ninit call.
11685 (hesiod_end): Do not free resolver state. Do not invoke callback.
11686 (hesiod_bind): Do not call init.
11687 (get_txt_records): Use res_mkquery, res_send instead of
11688 res_nmkquery, res_nsend.
11689 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11690 instead of _nss_hesiod_init.
11691 (_nss_hesiod_initgroups_dyn): Likewise.
11692 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11693 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11694 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11695
11696 2016-05-02 Florian Weimer <fweimer@redhat.com>
11697
11698 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11699 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11700
11701 2016-05-02 Florian Weimer <fweimer@redhat.com>
11702
11703 * hesiod/hesiod.h: Remove RCS keyword.
11704 * hesiod/hesiod_p.h: Likewise.
11705
11706 * hesiod/hesiod.c: Likewise.
11707
11708 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11709
11710 [BZ #12450]
11711 * locale/iso-639.def: Add Samogitian/sgs.
11712
11713 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11716
11717 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11718
11719 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11720 Carlos O'Donell <carlos@redhat.com>
11721
11722 [BZ #19072]
11723 * grp/Makefile (headers): Add grp-merge.h
11724 (routines): Add grp-merge.
11725 * grp/getgrgid_r.c: Include grp-merge.h.
11726 (DEEPCOPY_FN): Define.
11727 (MERGE_FN): Define.
11728 * grp/getgrname_r.c: Include grp-merge.h.
11729 (DEEPCOPY_FN): Define.
11730 (MERGE_FN): Define.
11731 * grp/grp-merge.c: New file.
11732 * grp/grp-merge.h: New file.
11733 * include/grp-merge.h: New file.
11734 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11735 __copy_grp@GLIBC_PRIVATE.
11736 * manual/nss.texi (Actions in the NSS configuration): Describe
11737 return, continue, and merge.
11738 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11739 (DEEPCOPY_FN): Define.
11740 (MERGE_FN): Define.
11741 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11742 (DEEPCOPY_FN): Define.
11743 (MERGE_FN): Define.
11744 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11745 [!MERGE_FN]: Define __merge_einval.
11746 (CHECK_MERGE): Define.
11747 (REENTRANT_NAME): Process merge if do_merge is true.
11748 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11749 (__nss_getent_r): Likewise.
11750 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11751 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11752
11753 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11754
11755 [BZ #20012]
11756 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11757 length to calculate the buffer to read.
11758 (fmemopen_write): Set the buffer position based on bytes written.
11759 (fmemopen_seek): Return EINVAL for invalid whence modes.
11760
11761 [BZ #19957]
11762 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11763 tst-getpid2.
11764 (test): Add tst-clone2.
11765 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11766 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11767 pid/tid fields for CLONE_VM.
11768 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11769 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11770 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11771 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11772 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11773 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11774 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11775 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11777 Likewise.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11779 Likewise.
11780 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11781 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11782 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11784 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11785 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11786 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11787 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11788
11789 2016-04-29 Florian Weimer <fweimer@redhat.com>
11790
11791 [BZ #19642]
11792 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11793 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11794 (gni_serv_local, gni_serv): New functions extracted from
11795 getnameinfo.
11796 (getnameinfo): Call gni_host and gni_serv to perform the
11797 processing. Always free scratch buffer.
11798
11799 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11800
11801 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11802 remaining bytes in the dest string, with zeros.
11803
11804 2016-04-29 Florian Weimer <fweimer@redhat.com>
11805
11806 [BZ #20010]
11807 CVE-2016-3706
11808 * sysdeps/posix/getaddrinfo.c
11809 (convert_hostent_to_gaih_addrtuple): New function.
11810 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11811 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11812 AF_INET data.
11813
11814 2016-04-29 Florian Weimer <fweimer@redhat.com>
11815
11816 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11817 callback function gl_readdir.
11818 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11819 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11820 (glob_in_dir): Remove len. Use strdup instead of malloc and
11821 memcpy to copy the name.
11822 * manual/pattern.texi (Calling Glob): Document requirements for
11823 implementations of the gl_readdir callback function.
11824 * manual/examples/mkdirent.c: New example.
11825 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11826 per the manual guidance.
11827 * posix/tst-gnuglob.c (my_readdir): Likewise.
11828
11829 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11830
11831 [BZ #20014]
11832 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11833 not [__USE_POSIX].
11834 (getchar_unlocked): Likewise.
11835 (putc_unlocked): Likewise.
11836 (putchar_unlocked): Likewise.
11837 (flockfile): Likewise.
11838 (ftrylockfile): Likewise.
11839 (funlockfile): Likewise.
11840 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11841 variable.
11842 (test-xfail-XPG4/stdio.h/conform): Likewise.
11843
11844 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11845 Expect constant.
11846 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11847 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11848 variable.
11849 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11850 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11851
11852 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11853 [__USE_LARGEFILE64] (off64_t): Likewise.
11854 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11855 variable.
11856
11857 2016-04-28 Florian Weimer <fweimer@redhat.com>
11858
11859 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11860
11861 2016-04-28 Florian Weimer <fweimer@redhat.com>
11862
11863 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11864 * resolv/res_init.c: Likewise.
11865 * resolv/res_mkquery.c: Likewise.
11866
11867 2016-04-28 Florian Weimer <fweimer@redhat.com>
11868
11869 * resolv/res_init.c (isascii): Do not define. Use definition in
11870 <ctype.h>.
11871 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11872 (LOG_AUTH): Remove.
11873 (SPRINTF): Remove, adjust caller.
11874 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11875
11876 2016-04-28 Florian Weimer <fweimer@redhat.com>
11877
11878 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11879 SUNSECURITY conditional.
11880 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11881
11882 2016-04-28 Florian Weimer <fweimer@redhat.com>
11883
11884 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11885 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11886 Remove BSD-related preprocessor conditionals.
11887 * conf/portability.h: Remove.
11888
11889 2016-04-28 Florian Weimer <fweimer@redhat.com>
11890
11891 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11892 * resolv/res_data.c: Likewise.
11893
11894 2016-04-28 Florian Weimer <fweimer@redhat.com>
11895
11896 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11897 * resolv/res_data.c: Remove code conditional on ultrix.
11898
11899 2016-04-28 Florian Weimer <fweimer@redhat.com>
11900
11901 * resolv/res_init.c (RFC1535): Do not define. Remove
11902 RFC1535 preprocessor conditionals.
11903 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11904 because there configuration options which make the resolver
11905 behavior different.
11906
11907 2016-04-28 Florian Weimer <fweimer@redhat.com>
11908
11909 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11910 RESOLVSORT preprocessor conditionals.
11911 * resolv/nss_dns/dns-host.c: Likewise.
11912 * resolv/res_init.c: Likewise.
11913
11914 2016-04-28 Florian Weimer <fweimer@redhat.com>
11915
11916 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11917 is never defined.
11918
11919 2016-04-28 Florian Weimer <fweimer@redhat.com>
11920
11921 * inet/inet_lnaof.c: Remove SCSS keyword.
11922 * inet/inet_mkadr.c: Likewise.
11923 * inet/inet_net.c: Likewise.
11924 * inet/inet_netof.c: Likewise.
11925 * inet/rcmd.c: Likewise.
11926 * inet/rexec.c: Likewise.
11927 * inet/ruserpass.c: Likewise.
11928
11929 2016-04-28 Florian Weimer <fweimer@redhat.com>
11930
11931 * resolv/inet_addr.c: Remove _LIBC conditionals.
11932 * resolv/res_data.c: Likewise.
11933 * resolv/res_init.c: Likewise.
11934 * resolv/res_mkquery.c: Likewise.
11935 * resolv/res_libc.c: Update comment.
11936 * resolv/README: Update.
11937
11938 2016-04-28 Florian Weimer <fweimer@redhat.com>
11939
11940 * resolv/gethnamaddr.c: Remove SCSS keyword.
11941 * resolv/herror.c: Likewise.
11942 * resolv/inet_addr.c: Likewise.
11943 * resolv/inet_net_ntop.c: Likewise.
11944 * resolv/inet_net_pton.c: Likewise.
11945 * resolv/inet_neta.c: Likewise.
11946 * resolv/inet_ntop.c: Likewise.
11947 * resolv/inet_pton.c: Likewise.
11948 * resolv/ns_date.c: Remove RCS keyword.
11949 * resolv/ns_name.c: Likewise.
11950 * resolv/ns_netint.c: Likewise.
11951 * resolv/ns_parse.c: Likewise.
11952 * resolv/ns_print.c: Likewise.
11953 * resolv/ns_samedomain.c: Likewise.
11954 * resolv/ns_ttl.c: Likewise.
11955 * resolv/nsap_addr.c: Likewise.
11956 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11957 * resolv/res_data.c: Remove RCS keyword.
11958 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11959 * resolv/res_init.c: Likewise.
11960 * resolv/res_mkquery.c: Likewise.
11961 * resolv/res_query.c: Likewise.
11962 * resolv/res_send.c: Likewise.
11963
11964 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11965
11966 * conform/data/stdio.h-data (fdopen): Expect also for
11967 [XPG3 || XPG4].
11968
11969 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11970 (fseeko): Likewise.
11971 (ftello): Likewise.
11972 (ftrylockfile): Likewise.
11973 (funlockfile): Likewise.
11974 (getc_unlocked): Likewise.
11975 (getchar_unlocked): Likewise.
11976 (putc_unlocked): Likewise.
11977 (putchar_unlocked): Likewise.
11978
11979 2016-04-27 Florian Weimer <fweimer@redhat.com>
11980
11981 [BZ #19868]
11982 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11983 DNS packet syntax checks (which were not needed before). Skip
11984 over non-PTR records.
11985
11986 2016-04-27 Florian Weimer <fweimer@redhat.com>
11987
11988 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11989 definition. Include <stddef.h> instead.
11990
11991 2016-04-27 Florian Weimer <fweimer@redhat.com>
11992
11993 [BZ #19831]
11994 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11995 function.
11996 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11997 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11998
11999 2016-04-27 Florian Weimer <fweimer@redhat.com>
12000
12001 [BZ #19862]
12002 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12003 (getanswer_r): Do not call syslog.
12004 (gaih_getanswer_slice): Likewise.
12005 * resolv/gethnamaddr.c (AskedForGot): Remove.
12006 (getanswer): Do not call syslog.
12007 (gethostbyaddr): Likewise.
12008
12009 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12010
12011 * conform/data/signal.h-data (union sigval): Expect also if
12012 [XOPEN2K].
12013 (struct sigevent): Likewise.
12014 (SIGEV_NONE): Likewise.
12015 (SIGEV_SIGNAL): Likewise.
12016 (SIGEV_THREAD): Likewise.
12017 (SIGRTMIN): Likewise.
12018 (SIGRTMAX): Likewise.
12019 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12020 variable.
12021 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12022
12023 2016-04-27 Florian Weimer <fweimer@redhat.com>
12024
12025 [BZ #19830]
12026 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12027 (gaih_getanswer_slice): Likewise.
12028 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12029 Also check for availability of RR metadata.
12030
12031 2016-04-27 Florian Weimer <fweimer@redhat.com>
12032
12033 [BZ #19825]
12034 * resolv/res_send.c (send_vc): Remove early *resplen2
12035 initialization. Set *resplen2 on socket error. Call
12036 close_and_return_error for other errors.
12037
12038 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12039
12040 * sysdeps/unix/sysv/linux/netiucv/iucv.h
12041 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12042 (SCM_IUCV_TRGCLS): New define.
12043
12044 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12045
12046 [BZ #20005]
12047 * libio/fmemopen.c (fmemopen_write): Update internal position after
12048 write.
12049 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12050 * stdio-common/tst-fmemopen4.c: New file..
12051
12052 2016-04-26 Joseph Myers <joseph@codesourcery.com>
12053
12054 [BZ #19996]
12055 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12056 not [__USE_XOPEN2K].
12057 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12058 variable.
12059
12060 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12061 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12062 variable.
12063
12064 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12065 [__USE_XOPEN2K8].
12066 [__USE_LARGEFILE64] (off64_t): Likewise.
12067 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12068 variable.
12069
12070 2016-04-25 Joseph Myers <joseph@codesourcery.com>
12071
12072 [BZ #19989]
12073 * libio/stdio.h (cuserid): Do not declare if
12074 [__USE_XOPEN2K && !__USE_GNU].
12075 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12076 variable.
12077
12078 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12079
12080 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12081 (sysdep_routines): Add P8 and PPC64 strcspn targets.
12082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12083 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12084 ifunc'ed strcspn.
12085 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12086 [EALIGN]: Removed.
12087 [END]: Likewise
12088 [STRSPN]: Define instead of the above to control symbol name.
12089 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12090 New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12092 Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12094 Likewise.
12095 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12096 Likewise.
12097 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12098 [INITIAL_MASK]: New macro.
12099 [STRCSPN]: Likewise.
12100 [UPDATE_MASK]: Likewise.
12101 [USE_AS_STRCSPN]: Likewise.
12102
12103 2016-04-25 Florian Weimer <fweimer@redhat.com>
12104
12105 [BZ #19931]
12106 * stdio-common/tst-vfprintf-width-prec.c: New file.
12107 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12108 (tests-special): Add tst-vfprintf-width-prec-mem.out.
12109 (generated): Add mtrace-related files.
12110 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12111 (tst-%-mem.out): New pattern rule, replaces
12112 tst-printf-bz18872-mem.out.
12113 * stdio-common/vfprintf.c (vfprintf): When handling a precision
12114 specifier, deallocate any previously allocated work buffer.
12115
12116 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12117
12118 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12119 Add nop before __startcontext, add explaining comments.
12120
12121 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
12122
12123 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12124 any more. Notably since IPV6_PKTINFO has been reintroduced with a
12125 completely different API.
12126
12127 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12128 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12129 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12130 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12131 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12132 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12133 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12134 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12135 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12136 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12137
12138 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
12139
12140 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12141
12142 2016-04-23 Mike Frysinger <vapier@gentoo.org>
12143
12144 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12145 when it is the default of 0.
12146
12147 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12148
12149 * sysdeps/powerpc/locale-defines.sym: Add new macros.
12150 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12151 (sysdep_routines): Add new strcasestr targets.
12152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12153 (__libc_ifunc_impl_list): Likewise.
12154 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12155 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12157 * sysdeps/powerpc/powerpc64/power8/Makefile:
12158 New file to add strcasestr-ppc64 to sysdep_routines.
12159 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12160 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12161
12162 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
12163
12164 * benchtests/Makefile (wcsmbs-benchset): Include only for
12165 native builds and runs.
12166 (LOCALES): Likewise.
12167 (bench-build): Build timing-type here instead of the bench
12168 target. Generate locale only for native builds.
12169 * benchtests/README: Add note for cross-building.
12170
12171 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12172
12173 * benchtests/README: Update README to include instructions on
12174 using bench-build.
12175
12176 * Makefile.in (bench-build): New target.
12177 * Rules (PHONY): Add bench-build target.
12178 * benchtests/Makefile (bench): Depend on bench-build.
12179 (bench-build): New target.
12180
12181 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12182
12183 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12184 profil_reply_port.
12185 (profile_waiter): Do not initialize profil_reply_port.
12186 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12187 frequency instead of tick length in us.
12188
12189 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12190
12191 [BZ #18712]
12192 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12193 (__old_mempcpy_small): Likewise.
12194 (__old_strcpy_small): Likewise.
12195 (__old_stpcpy_small): Likewise.
12196 (__old_strpbrk_c2): Fix compat symbol name.
12197 (__old_strpbrk_c3): Likewise.
12198 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12199 (__mempcpy_small): Remove.
12200 (__strcpy_small): Remove.
12201 (__stpcpy_small): Remove.
12202
12203 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12204
12205 [BZ #19400]
12206 * locale/iso-639.def: Add the Talossan/tzl language.
12207
12208 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12209
12210 [BZ #16983]
12211 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12212 comment. Add "ln" to strchr check on postal_fmt.
12213
12214 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12215
12216 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12217 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12218 tel_dom_fmt.
12219
12220 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12221
12222 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12223 (sysdep_routines): Added __strlen_power8.
12224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12225 __strlen_power8 entry.
12226 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12227 Implementation for POWER8.
12228 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12229 for __strlen_power8.
12230 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12231 Implementation for POWER8.
12232
12233 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12234
12235 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12236
12237 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12238
12239 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12240 Goldmont and Airmont processors.
12241
12242 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12243
12244 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12245 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12246 (__STRING2_SMALL_GET32): Remove.
12247 (memset): Remove.
12248 (__memset_1): Remove.
12249 (__memset_gc): Remove.
12250 (__mempcpy): Remove.
12251 (mempcpy): Remove.
12252 (__mempcpy_args): Remove.
12253 (strchr): Remove.
12254 (strcpy): Remove.
12255 (strcpy_args): Remove.
12256 (__stpcpy_args): Remove.
12257 (__strcmp_cc): Remove.
12258 (__strcmp_gc): Remove.
12259 (strstr): Remove.
12260
12261 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12262
12263 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12264 * nis/nis_call.c (nis_server_cache_add): Likewise.
12265
12266 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12267
12268 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12269
12270 2016-04-14 Florian Weimer <fweimer@redhat.com>
12271
12272 * malloc/arena.c (__malloc_fork_lock_parent)
12273 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12274 internal_function attribute.
12275
12276 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12277
12278 * stdio-common/printf_fp.c (__printf_fp_l):
12279 Rename ___printf_fp_l to __printf_fp_l and
12280 remove strong alias. Use libc_hidden_def instead
12281 of ldbl_hidden_def macro.
12282
12283 2016-04-14 Florian Weimer <fweimer@redhat.com>
12284
12285 Remove malloc hooks from fork handler. They are no longer needed
12286 because malloc runs right before fork, and no malloc calls from
12287 other fork handlers are not possible anymore.
12288 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12289 declarations.
12290 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12291 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12292 (atfork_recursive_cntr): Remove.
12293 (__malloc_fork_lock_parent): Do not override malloc hooks and
12294 thread_arena.
12295 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12296 thread_arena.
12297 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12298 thread_arena instead of save_arena.
12299
12300 2016-04-14 Florian Weimer <fweimer@redhat.com>
12301
12302 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12303 (thread_atfork, thread_atfork_static): Remove.
12304 * sysdeps/mach/hurd/malloc-machine.h:
12305 (thread_atfork, thread_atfork_static): Remove.
12306
12307 2016-04-14 Florian Weimer <fweimer@redhat.com>
12308
12309 [BZ #19431]
12310 Run the malloc fork handler as late as possible to avoid deadlocks.
12311 * malloc/malloc-internal.h: New file.
12312 * malloc/malloc.c: Include it.
12313 * malloc/arena.c (ATFORK_MEM): Remove.
12314 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12315 Update comment.
12316 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12317 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12318 Remove outdated comment.
12319 (ptmalloc_init): Do not call thread_atfork. Remove
12320 thread_atfork_static.
12321 * malloc/tst-malloc-fork-deadlock.c: New file.
12322 * Makefile (tests): Add tst-malloc-fork-deadlock.
12323 (tst-malloc-fork-deadlock): Link against libpthread.
12324 * manual/memory.texi (Aligned Memory Blocks): Update safety
12325 annotation comments.
12326 * sysdeps/nptl/fork.c (__libc_fork): Call
12327 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12328 __malloc_fork_unlock_child.
12329 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12330
12331 2016-04-14 Florian Weimer <fweimer@redhat.com>
12332
12333 [BZ #19613]
12334 Remove union wait.
12335 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12336 (w_stopsig, w_stopval): Remove.
12337 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12338 stat_loc argument.
12339 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12340 (__WAIT_STATUS_DEFN): Remove.
12341 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12342 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12343 (wait, wait3, wait4): Use int * for the stat_loc argument.
12344 * posix/wait.c (__wait): Likewise.
12345 * posix/wait3.c (__wait3): Likewise.
12346 * posix/wait4.c (__wait4): Likewise.
12347 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12348 (__WAIT_STATUS_DEFN): Remove.
12349 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12350 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12351 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12352 argument.
12353 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12354 * sysdeps/posix/wait3.c (__wait3): Likewise.
12355 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12356 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12357 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12358 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12359 stat_loc argument.
12360 * manual/process.texi (BSD Wait Functions): Remove union wait.
12361
12362 2016-04-13 Andreas Schwab <schwab@suse.de>
12363
12364 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12365 (test-extras): Add tst-tlsalign-vars.
12366 * math/Makefile: Wrap long lines.
12367 (libm-vec-test-wrappers): Define.
12368 (test-extras): Add $(libm-vec-test-wrappers).
12369 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12370 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12371 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12372 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12373 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12374 (extra-test-objs): Add corresponding objects.
12375
12376 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12377
12378 [BZ #19928]
12379 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12380 New.
12381 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12382 times of shared cache size.
12383 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12384 (VMOVNT): New.
12385 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12386 (VMOVNT): Likewise.
12387 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12388 (VMOVNT): Likewise.
12389 (VMOVU): Changed to movups for smaller code sizes.
12390 (VMOVA): Changed to movaps for smaller code sizes.
12391 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12392 comments.
12393 (PREFETCH): New.
12394 (PREFETCH_SIZE): Likewise.
12395 (PREFETCHED_LOAD_SIZE): Likewise.
12396 (PREFETCH_ONE_SET): Likewise.
12397 Rewrite to use forward and backward loops, which move 4 vector
12398 registers at a time, to support overlapping addresses and use
12399 non temporal store if size is above the threshold and there is
12400 no overlap between destination and source.
12401
12402 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12403
12404 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12405 Include dl-vdso.
12406 * sysdeps/unix/sysv/linux/mips/Versions: Add
12407 __vdso_clock_gettime.
12408 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12409 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12410 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12411 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12412 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12413 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12414 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12415 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12416 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12417
12418 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12419
12420 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12421 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12423 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12424 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12425 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12428 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12430 syscalls generation.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12432 [__NR_pwrite64] (__NR_write): Remove define.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12434 [__NR_pwrite64] (__NR_write): Remove define.
12435 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12436 Remove define.
12437 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12438 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12439 Remove define.
12440 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12441 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12442 Linux implementation as base.
12443 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12444
12445 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12446 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12451 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12453 syscall generation.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12455 [__NR_pread64] (__NR_pread): Remove define.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12457 [__NR_pread64] (__NR_pread): Likewise.
12458 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12459 define.
12460 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12461 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12462 Remove define.
12463 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12464 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12465 Linux implementation as base.
12466 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12467 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12468 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12469
12470 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12471 definition.
12472 (__ALIGNMENT_COUNT): Likewise.
12473 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12474 (__ALIGNMENT_COUNT): Likewise.
12475 (SYSCALL_LL): New define.
12476 (SYSCALL_LL64): Likewise.
12477 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12478 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12479 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12480 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12481
12482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12483 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12484 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12485 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12486 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12487 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12488
12489 2016-04-11 Florian Weimer <fweimer@redhat.com>
12490
12491 [BZ #19865]
12492 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12493 original buffer before retry.
12494
12495 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12496
12497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12498 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12499 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12500 GLRO(dl_auxv) list.
12501 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12502 including <ldsodefs.h>.
12503 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12504
12505 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12506
12507 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12508 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12509 $(CPPFLAGS).
12510
12511 2016-04-09 Khem Raj <raj.khem@gmail.com>
12512
12513 [BZ #17950]
12514 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12515 Add -mfpmath=387.
12516
12517 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12518
12519 * sysdeps/i386/configure.ac: Change == to = when calling test.
12520 * sysdeps/x86_64/configure.ac: Likewise.
12521 * sysdeps/i386/configure: Regenerated.
12522 * sysdeps/x86_64/configure: Likewise.
12523
12524 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12525
12526 [BZ #16137]
12527 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12528 * benchtests/bench-strcoll.c (input_files): Likewise.
12529 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12530 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12531 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12532
12533 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12534
12535 [BZ #19929]
12536 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12537 [__USE_XOPEN2K8 && !__USE_GNU].
12538 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12539 variable.
12540
12541 [BZ #19925]
12542 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12543 define if [!__USE_MISC && __USE_XOPEN2K].
12544 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12545 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12546 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12547 Likewise.
12548 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12549 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12550 variable.
12551 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12552
12553 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12554
12555 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12556 (sysdep_routines): Add new strspn targets.
12557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12558 (__libc_ifunc_impl_list): Add strspn.
12559 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12560 New file.
12561 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12562 Likewise.
12563 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12564 Likewise.
12565 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12566 Likewise.
12567
12568 2016-04-07 Florian Weimer <fweimer@redhat.com>
12569
12570 * misc/hsearch_r.c: Include <limits.h>.
12571
12572 2016-04-07 Florian Weimer <fweimer@redhat.com>
12573
12574 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12575
12576 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12577
12578 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12579 (MEMCPY_SYMBOL): New.
12580 (MEMPCPY_SYMBOL): Likewise.
12581 (MEMMOVE_CHK_SYMBOL): Likewise.
12582 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12583 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12584 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12585 Provide alias for memcpy in libc.a and ld.so.
12586
12587 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12588
12589 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12590 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12591 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12592 Disabled fro now.
12593 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12594 symbols. Properly check USE_MULTIARCH on __memset symbols.
12595
12596 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 * benchtests/Makefile (string-benchset): Add memcpy-large,
12599 memmove-large and memset-large.
12600 * benchtests/bench-memcpy-large.c: New file.
12601 * benchtests/bench-memmove-large.c: Likewise.
12602 * benchtests/bench-memmove-large.c: Likewise.
12603 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12604
12605 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12606
12607 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12608 32-bit displacement to avoid long nop between instructions.
12609
12610 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12611
12612 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12613 a comment on VMOVU and VMOVA.
12614
12615 2016-04-04 Florian Weimer <fweimer@redhat.com>
12616
12617 [BZ #19633]
12618 Use specified locale for number formatting in strfmon_l.
12619 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12620 (__nl_lookup_word): New inline functions.
12621 * include/printf.h (__print_fp_l): Declare.
12622 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12623 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12624 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12625 (___printf_fp): New function.
12626 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12627 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12628 * stdlib/tst-strfmon_l.c (do_test): New test.
12629 * stdlib/Makefile (tests): Add kt.
12630 (LOCALES): Build additional locales.
12631 (tst-strfmon_l.out): Require locales.
12632
12633 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12636 if not in libc.
12637 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12638 Likewise.
12639 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12640 Likewise.
12641 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12642 Likewise.
12643
12644 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12645
12646 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12647 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12648 with unaligned_erms.
12649 (__memmove_erms): Skip if source == destination.
12650 (__memmove_unaligned_erms): Don't check source == destination
12651 first.
12652
12653 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12654
12655 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12656 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12657
12658 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12659
12660 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12661 * string/strspn.c (strspn): Likewise.
12662
12663 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * benchtests/bench-memset.c (do_test): Support 64-byte
12666 alignment.
12667 (test_main): Test 64-byte alignment.
12668
12669 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * benchtests/bench-memmove.c (test_main): Test 64-byte
12672 alignment.
12673
12674 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12677
12678 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12679
12680 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12681 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12682 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12683
12684 * string/strpbrk.c (strpbrk): Rewrite function.
12685 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12686 (__strpbrk_c2): Likewise.
12687 (__strpbrk_c3): Likewise.
12688 * string/string-inlines.c
12689 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12690 Likewise.
12691 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12692 Likewise.
12693
12694 * string/strspn.c (strcspn): Rewrite function.
12695 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12696 (__strspn_c1): Remove inline function.
12697 (__strspn_c2): Likewise.
12698 (__strspn_c3): Likewise.
12699 * string/string-inlines.c
12700 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12701 compatibility symbol.
12702 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12703 Likewise.
12704 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12705 Likewise.
12706 * string/string-inlines.c: Include generic version.
12707
12708 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12709 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12710
12711 * string/Version (libc): Add GLIBC_2.24.
12712 * string/strcspn.c (strcspn): Rewrite function.
12713 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12714 (__strcspn_c1): Remove inline function.
12715 (__strcspn_c2): Likewise.
12716 (__strcspn_c3): Likewise.
12717 * string/string-inline.c
12718 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12719 compatibility symbol.
12720 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12721 Likewise.
12722 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12723 Likewise.
12724 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12725
12726 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12727
12728 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12729 Use ahi instead of aghi to adjust stack pointer.
12730
12731 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12732
12733 [BZ #19853]
12734 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12735 TEST to take significant digits as second parameter.
12736 [TEST]: Redefine in terms of TEST_N taking 30
12737 significant digits.
12738 (do_test): Add test case to demonstrate precision
12739 failure in the ldbl-128ibm printf.
12740 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12741 (__mpn_extract_long_double): Carry 7 extra intermediate
12742 bits of precision to aide computing difference when
12743 signs differ.
12744
12745 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 [BZ #19881]
12748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12749 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12750 memset-avx512-unaligned-erms.
12751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12753 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12754 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12755 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12756 __memset_sse2_unaligned_erms, __memset_erms,
12757 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12758 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12759 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12760 file.
12761 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12762 Likewise.
12763 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12764 Likewise.
12765 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12766 Likewise.
12767
12768 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12769
12770 [BZ #19776]
12771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12772 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12773 memmove-avx512-unaligned-erms.
12774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12775 (__libc_ifunc_impl_list): Test
12776 __memmove_chk_avx512_unaligned_2,
12777 __memmove_chk_avx512_unaligned_erms,
12778 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12779 __memmove_chk_sse2_unaligned_2,
12780 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12781 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12782 __memmove_avx512_unaligned_erms, __memmove_erms,
12783 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12784 __memcpy_chk_avx512_unaligned_2,
12785 __memcpy_chk_avx512_unaligned_erms,
12786 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12787 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12788 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12789 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12790 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12791 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12792 __mempcpy_chk_avx512_unaligned_erms,
12793 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12794 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12795 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12796 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12797 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12798 __mempcpy_erms.
12799 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12800 file.
12801 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12802 Likewise.
12803 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12804 Likewise.
12805 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12806 Likewise.
12807
12808 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12809
12810 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12811 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12812 (La_s390_64_regs): Likewise.
12813 (La_s390_32_retval): Append vector register lrv_v24.
12814 (La_s390_64_retval): Likeweise.
12815 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12816 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12817 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12818 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12819
12820 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12821
12822 [BZ #19916]
12823 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12824 to create a non-vector/vector version for _dl_runtime_resolve and
12825 _dl_runtime_profile. Move implementation to ...
12826 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12827 (_dl_runtime_resolve) Save and restore fpr/vrs.
12828 (_dl_runtime_profile) Save and restore vrs and fix some issues
12829 if _dl_call_pltexit is called.
12830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12831 Choose the correct resolver function if running on a machine with vx.
12832 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12833 to create a non-vector/vector version for _dl_runtime_resolve and
12834 _dl_runtime_profile. Move implementation to ...
12835 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12836 (_dl_runtime_resolve) Save and restore fpr/vrs.
12837 (_dl_runtime_profile) Save and restore vrs and fix some issues
12838 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12839 Choose the correct resolver function if running on a machine with vx.
12840
12841 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12842
12843 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12844
12845 2016-03-31 Florian Weimer <fweimer@redhat.com>
12846
12847 [BZ #19509]
12848 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12849 skip_map != NULL.
12850 * elf/tst-dlsym-error.c: New file.
12851 * elf/Makefile (tests): Add tst-dlsym-error.
12852 (tst-dlsym-error): Link against libdl.
12853
12854 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12855
12856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12857 (__ASSUME_FUTIMESAT): Remove macro.
12858 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12859
12860 2016-03-29 Florian Weimer <fweimer@redhat.com>
12861
12862 [BZ #19879]
12863 CVE-2016-3075
12864 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12865 copy name.
12866
12867 2016-03-29 Florian Weimer <fweimer@redhat.com>
12868
12869 [BZ #19837]
12870 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12871 error if parse_line fails.
12872
12873 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12876 (index_cpu_ERMS): Likewise.
12877 (reg_ERMS): Likewise.
12878
12879 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12880
12881 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12882 PER_LINUX_FDPIC): Add.
12883
12884 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12885
12886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12887 memcpy-avx512-no-vzeroupper.
12888 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12889 to ...
12890 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12891 (MEMCPY): Don't define.
12892 (MEMCPY_CHK): Likewise.
12893 (MEMPCPY): Likewise.
12894 (MEMPCPY_CHK): Likewise.
12895 (MEMPCPY_CHK): Renamed to ...
12896 (__mempcpy_chk_avx512_no_vzeroupper): This.
12897 (MEMPCPY_CHK): Renamed to ...
12898 (__mempcpy_chk_avx512_no_vzeroupper): This.
12899 (MEMCPY_CHK): Renamed to ...
12900 (__memmove_chk_avx512_no_vzeroupper): This.
12901 (MEMCPY): Renamed to ...
12902 (__memmove_avx512_no_vzeroupper): This.
12903 (__memcpy_avx512_no_vzeroupper): New alias.
12904 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12905
12906 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 [BZ #18858]
12909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12910 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12911 and mempcpy-avx512-no-vzeroupper.
12912 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12913 New.
12914 (MEMPCPY): Likewise.
12915 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12916 (MEMPCPY_CHK): New.
12917 (MEMPCPY): Likewise.
12918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12919 (MEMPCPY): Likewise.
12920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12921 (MEMPCPY): Likewise.
12922 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12923 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12924 Likewise.
12925 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12926 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12927
12928 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12929 Amit Pawar <Amit.Pawar@amd.com>
12930
12931 [BZ #19583]
12932 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12933 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12934 processors. Set Fast_Copy_Backward for AMD Excavator
12935 processors.
12936 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12937 New.
12938 (index_arch_Fast_Unaligned_Copy): Likewise.
12939 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12940 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12941
12942 2016-03-25 Florian Weimer <fweimer@redhat.com>
12943
12944 [BZ #19791]
12945 * resolv/res_send.c (close_and_return_error): New function.
12946 (send_dg): Initialize *resplen2 after reopen failure. Call
12947 close_and_return_error for error returns. On error paths without
12948 __res_iclose, initialze *resplen2 explicitly. Update comment for
12949 successful return.
12950
12951 2016-03-25 Florian Weimer <fweimer@redhat.com>
12952
12953 [BZ# 19860]
12954 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12955 zero if the compiler does not provide the AVX512F bit.
12956
12957 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12958
12959 [BZ #19848]
12960 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12961 from 8 to 4.
12962 (__ieee754_powl): Compare integer exponent against 4 not 8.
12963 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12964 from 8 to 4.
12965 (__ieee754_powl): Compare integer exponent against 4 not 8.
12966 * math/auto-libm-test-in: Add more tests of pow.
12967 * math/auto-libm-test-out: Regenerated.
12968 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12970
12971 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12972
12973 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12974 Make code unconditional.
12975 [!__NR_utimensat]: Remove conditional code.
12976 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12977 Make code unconditional.
12978 [!__NR_utimensat]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12980 Make code unconditional.
12981 [!__NR_utimensat]: Remove conditional code.
12982
12983 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12984
12985 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12986 Make code unconditional.
12987
12988 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12989
12990 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12991 call-clobbered %eax on retry path.
12992 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12993
12994 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12995
12996 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12997 Don't set %rcx twice before "rep movsb".
12998
12999 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13000
13001 [BZ #19583]
13002 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13003 inline. Check family before setting family, model and
13004 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
13005 bits here.
13006 (init_cpu_features): Replace HAS_CPU_FEATURE and
13007 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13008 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
13009 for Intel processors with usable AVX2. Call get_common_indeces
13010 for other processors with family == NULL.
13011 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13012 (CPU_FEATURES_ARCH_P): Likewise.
13013 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13014 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13015
13016 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13017
13018 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13019 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13020 $(shared-thread-library) instead of hardcoding the path to libpthread.
13021
13022 2016-03-22 Joseph Myers <joseph@codesourcery.com>
13023
13024 * sysdeps/unix/sysv/linux/kernel-features.h
13025 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13026 * sysdeps/unix/sysv/linux/getdents.c
13027 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13028 [!have_no_getdents64_defined]: Likewise.
13029 (__GETDENTS): Remove __have_no_getdents64 conditional.
13030
13031 2016-03-21 Joseph Myers <joseph@codesourcery.com>
13032
13033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13034 Remove macro.
13035 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13036 <kernel-features.h>.
13037 (signalfd) [__NR_signalfd4]: Make code unconditional.
13038 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13039
13040 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13041
13042 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13043 style.
13044
13045 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
13046
13047 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13048 (__pthread_enable_asynccancel): Use JUMPTARGET to call
13049 __pthread_unwind.
13050 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13051 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13052 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13053 (__condvar_cleanup1): Likewise.
13054
13055 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
13056
13057 [BZ #19822]
13058 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13059 move it to the final $@ location.
13060
13061 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13062
13063 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13064 access where posix_spawn success and pid argument is null.
13065 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13066 success case.
13067
13068 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
13069
13070 * sysdeps/mach/hurd/i386/c++-types.data: New file.
13071
13072 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13073
13074 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13075 and __fcntl.
13076 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13077 __fcntl only.
13078 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13079 adding attribute_hidden to __open and __fcntl.
13080
13081 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13082 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13083 depend on libc-modules.h,
13084 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13085
13086 2016-03-17 Joseph Myers <joseph@codesourcery.com>
13087
13088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13089 Remove macro.
13090 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13091 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13092 entry.
13093
13094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13095 Remove macro.
13096 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13097 include <kernel-features.h>.
13098 [!__ASSUME_FALLOCATE]: Remove conditional code.
13099 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13100
13101 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
13102
13103 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13104 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13106 (_ZGVdN4v_cos_avx2): Likewise.
13107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13108 (_ZGVdN4v_cos): Likewise.
13109 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13110 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13111 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13112 (_ZGVdN4v_exp_avx2): Likewise.
13113 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13114 (_ZGVdN4v_exp): Likewise.
13115 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13116 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13117 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13118 (_ZGVdN4v_log_avx2): Likewise.
13119 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13120 (_ZGVdN4v_log): Likewise.
13121 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13122 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13124 (_ZGVdN4vv_pow_avx2): Likewise.
13125 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13126 (_ZGVdN4vv_pow): Likewise.
13127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13128 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13129 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13130 (_ZGVdN4v_sin_avx2): Likewise.
13131 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13132 (_ZGVdN4v_sin): Likewise.
13133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13134 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13136 (_ZGVdN4vvv_sincos_avx2): Likewise.
13137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13138 (_ZGVdN4vvv_sincos): Likewise.
13139 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13140 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13141 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13142 (_ZGVbN4v_cosf_sse4): Likewise.
13143 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13144 (_ZGVdN8v_cosf_avx2): Likewise.
13145 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13146 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13147 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13148 (_ZGVbN4v_expf_sse4): Likewise.
13149 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13150 (_ZGVdN8v_expf_avx2): Likewise.
13151 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13152 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13153 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13154 (_ZGVbN4v_logf_sse4): Likewise.
13155 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13156 (_ZGVdN8v_logf_avx2): Likewise.
13157 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13158 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13159 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13160 (_ZGVbN4vv_powf_sse4): Likewise.
13161 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13162 (_ZGVdN8vv_powf_avx2): Likewise.
13163 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13164 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13165 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13166 (_ZGVbN4vvv_sincosf_sse4): Likewise.
13167 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13168 (_ZGVdN8vvv_sincosf_avx2): Likewise.
13169 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13170 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13171 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13172 (_ZGVbN4v_sinf_sse4): Likewise.
13173 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13174 (_ZGVdN8v_sinf_avx2): Likewise.
13175 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13176 Use JUMPTARGET to call callee.
13177 (WRAPPER_IMPL_SSE2_ff): Likewise.
13178 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13179 (WRAPPER_IMPL_AVX): Likewise.
13180 (WRAPPER_IMPL_AVX_ff): Likewise.
13181 (WRAPPER_IMPL_AVX_fFF): Likewise.
13182 (WRAPPER_IMPL_AVX512): Likewise.
13183 (WRAPPER_IMPL_AVX512_ff): Likewise.
13184 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13185 Likewise.
13186 (WRAPPER_IMPL_SSE2_ff): Likewise.
13187 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13188 (WRAPPER_IMPL_AVX): Likewise.
13189 (WRAPPER_IMPL_AVX_ff): Likewise.
13190 (WRAPPER_IMPL_AVX_fFF): Likewise.
13191 (WRAPPER_IMPL_AVX512): Likewise.
13192 (WRAPPER_IMPL_AVX512_ff): Likewise.
13193 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13194
13195 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13196
13197 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13198 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13199 qualifier.
13200 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13201 internal_function qualifiers.
13202
13203 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13204
13205 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13206 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13207 * math/atest-exp.c (exp_mpn): Mark chk unused.
13208 * math/atest-exp2.c (exp_mpn): Likewise.
13209 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13210 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13211
13212 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13213
13214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13215 Remove macro.
13216 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13217 <kernel-features.h>.
13218 [__NR_ppoll]: Make code unconditional.
13219 [!__ASSUME_PPOLL]: Remove conditional code.
13220
13221 * sysdeps/unix/sysv/linux/kernel-features.h
13222 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13223 (__ASSUME_ACCEPT4): Likewise.
13224 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13225 Define.
13226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13227 Likewise.
13228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13229 Likewise.
13230 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13233 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13235 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13236 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13237 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13238 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13239 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13240 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13241 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13242 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13243 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13244 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13245 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13246 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13248 Likewise.
13249 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13250 Likewise.
13251 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13252 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13253 0x040300].
13254 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13255 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13256 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13257 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13258 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13259 0x030300].
13260 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13261 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13262 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13263 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13264 0x040300].
13265 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13266 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13268 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13269 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13270 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13271 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13272 0x030300].
13273 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13274 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13275 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13276 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13277 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13278 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13279 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13280 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13281 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13282 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13283 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13284 0x040300].
13285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13286 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13287 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13288 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13289 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13290 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13292 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13293 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13296 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13297 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13298 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13300 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13302 Likewise.
13303 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13304 Likewise.
13305
13306 2016-03-15 Andreas Schwab <schwab@suse.de>
13307
13308 [BZ #19257]
13309 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13310 statp->_u._ext.nscount as loop count.
13311
13312 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13313
13314 * math/test-signgam-finite-c99.c: Also #undef
13315 __LIBC_INTERNAL_MATH_INLINES.
13316 * math/test-signgam-main.c: Likewise.
13317
13318 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13319
13320 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13321 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13322 (MADV_FREE): Likewise.
13323 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13324 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13325 EPOLLEXCLUSIVE.
13326
13327 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13328
13329 * timezone/README: Remove mention of checktab.awk. Mention wiki
13330 SharedSourceFiles.
13331
13332 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13333
13334 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13335 WUNTRACED.
13336
13337 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13338
13339 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13340 order to match the type of p when calling atomic_exchange_acq().
13341
13342 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13343
13344 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13345 cfi_offset calls.
13346 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13347 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13348 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13349 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13350 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13351
13352 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13353
13354 * timezone/checktab.awk: Removed.
13355
13356 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13357
13358 * manual/math.texi (Errors in Math Functions): Document relaxed
13359 accuracy goals for IBM long double.
13360 * math/libm-test.inc (test_exceptions): Always allow spurious
13361 "underflow" and "inexact" exceptions for IBM long double.
13362
13363 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 [BZ #19762]
13366 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13367 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13368 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13369 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13370 (bit_arch_*): This for feature array.
13371 (bit_*): Renamed to ...
13372 (bit_cpu_*): This for cpu array.
13373 (index_*): Renamed to ...
13374 (index_arch_*): This for feature array.
13375 (index_*): Renamed to ...
13376 (index_cpu_*): This for cpu array.
13377 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13378 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13379 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13380 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13381 bit_##name with index_cpu_##name and bit_cpu_##name.
13382 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13383 bit_##name with index_arch_##name and bit_arch_##name.
13384
13385 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13386
13387 [BZ #19792]
13388 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13389 Terminate FDE before return label.
13390
13391 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13392
13393 [BZ #19790]
13394 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13395 (rintl): Define as macro.
13396 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13397 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13398 of fesetround. Ensure results are evaluated before end of scope.
13399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13400 USE_AS_NEARBYINTL and include s_rintl.c.
13401 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13402 Disable exception traps in new environment.
13403 (libc_feholdsetround_ppc_ctx): Likewise.
13404
13405 2016-03-08 Roland McGrath <roland@hack.frob.com>
13406
13407 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13408 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13409 (tst_audit10_aux) [__AVX512F__]: ... here.
13410
13411 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13412
13413 * include/sys/auxv.h: New file.
13414
13415 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 [BZ #19759]
13418 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13419
13420 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13421
13422 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13423 operand modifier.
13424 (feclearexcept): Likewise.
13425
13426 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13427
13428 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13429 to reflect the entire 32-bit HWCAP.
13430 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13431 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13432
13433 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 [BZ #19783]
13436 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13437 $(test-via-rtld-prefix).
13438 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13439
13440 2016-03-08 Florian Weimer <fweimer@redhat.com>
13441
13442 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13443 union wait. Report any non-zero exit status as error.
13444
13445 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13446
13447 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13448 configured with --enable-hardcoded-path-in-tests.
13449
13450 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13451
13452 [BZ #19677]
13453 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13454 (__ieee754_remainderl): Put zero low parts in canonical form.
13455 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13456 file. Based on
13457 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13458 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13459 with wrapper round test-fmodrem-ldbl-128ibm.c.
13460 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13461 file.
13462 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13463 Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13465 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13466
13467 2016-03-07 Florian Weimer <fweimer@redhat.com>
13468
13469 [BZ #19610]
13470 * elf/ldconfig.c (opt_link): Update comment.
13471 (options): Update help string for option -X.
13472 (search_dir): Unlink stale symbolic link only if updating symbolic
13473 links.
13474 * elf/tst-ldconfig-X.sh: New file.
13475 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13476 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13477
13478 2016-03-07 Andreas Schwab <schwab@suse.de>
13479
13480 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13481 needed arguments.
13482
13483 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13484
13485 [BZ #15333]
13486 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13487 to lstat64.
13488
13489 2016-03-07 Florian Weimer <fweimer@redhat.com>
13490
13491 * libio/filedoalloc.c (isatty): Remove.
13492 (local_isatty): Add comment. Call __isatty directly.
13493 (_IO_file_doallocate): Update comment. Assume _LIBC.
13494 * libio/wfiledoalloc.c (isatty): Remove.
13495 (_IO_wfile_doallocate): Update comment.
13496
13497 2016-03-07 Florian Weimer <fweimer@redhat.com>
13498
13499 [BZ #19269]
13500 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13501 tst-audit4-aux.o.
13502 (tst-audit10): Depend on tst-audit10-aux.o.
13503 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13504 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13505 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13506 instead of inline AVX code.
13507 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13508 instead of inline AVX512 code.
13509 * sysdeps/x86_64/tst-audit4-aux.c: New file
13510 * sysdeps/x86_64/tst-audit10-aux.c: New file
13511
13512 [BZ #19648]
13513 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13514
13515 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13516
13517 [BZ #14750]
13518 [BZ #10354]
13519 [BZ #18433]
13520 * include/sched.h (__clone): Add hidden prototype.
13521 (__clone2): Likewise.
13522 * include/unistd.h (__dup): Likewise.
13523 * posix/Makefile (tests): Add tst-spawn2.
13524 * posix/tst-spawn2.c: New file.
13525 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13526 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13527 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13528 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13529 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13530 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13531 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13532 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13533 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13534 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13535 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13537 Likewise.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13541 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13542 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13543 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13545 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13546 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13547 * sysdeps/unix/sysv/linux/nptl-signals.h
13548 (____nptl_is_internal_signal): New function.
13549 * sysdeps/unix/sysv/linux/spawni.c: New file.
13550
13551 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13552 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13553 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13554 * posix/tst-execvp2.c (do_test): Likewise.
13555 * posix/tst-execvp3.c (do_test): Likewise.
13556 * posix/tst-execvp4.c (do_test): Likewise.
13557 * posix/tst-execvpe1.c: New file.
13558 * posix/tst-execvpe2.c: Likewise.
13559 * posix/tst-execvpe3.c: Likewise.
13560 * posix/tst-execvpe4.c: Likewise.
13561 * posix/tst-execvpe5.c: Likewise.
13562 * posix/tst-execvpe6.c: Likewise.
13563
13564 [BZ #19534]
13565 * posix/execl.c (execl): Remove dynamic memory allocation.
13566 * posix/execle.c (execle): Likewise.
13567 * posix/execlp.c (execlp): Likewise.
13568
13569 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13572 Replace .text with .text.avx512.
13573 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13574 Likewise.
13575
13576 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13577
13578 * sysdeps/generic/libnsl.abilist: New file.
13579 * sysdeps/generic/libutil.abilist: New file.
13580
13581 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13582
13583 [BZ #19762]
13584 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13585 HAS_ARCH_FEATURE with Fast_Rep_String.
13586 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13587 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13588 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13589 Likewise.
13590 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13591 Likewise.
13592 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13593 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13594 Likewise.
13595 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13596 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13597 Likewise.
13598
13599 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13600
13601 [BZ #19745]
13602 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13603 with *%rax in call.
13604
13605 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13606
13607 [BZ #19745]
13608 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13609 with *__libc_start_main@GOTPCREL(%rip) in call.
13610
13611 2016-03-04 Roland McGrath <roland@hack.frob.com>
13612
13613 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13614 inside conditional for nonempty $(CXX).
13615
13616 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13617 nonempty.
13618
13619 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13620 to test for empty $(CXX) rather than $(CXX) of "no".
13621
13622 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13623
13624 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13625
13626 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13627 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 [BZ #18880]
13630 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13631 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13632 enable __memcpy_ssse3_back.
13633
13634 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13635
13636 [BZ #19758]
13637 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13638 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13639
13640 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13641
13642 [BZ #19490]
13643 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13644 (__fentry__): Likewise.
13645
13646 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13649 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13650
13651 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13654 __mcount_internal directly.
13655 (C_LABEL(__fentry__)): Likewise.
13656 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13657 directly.
13658
13659 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13660
13661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13662 (__start_context): Call __setcontext directly.
13663
13664 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13665
13666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13667 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13668 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13669 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13671 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13672 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13673 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13674 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13675 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13676 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13677 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13678 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13679 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13680 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13681 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13682 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13684 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13685 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13686 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13687 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13688 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13689 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13690 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13691 Remove conditional code.
13692 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13693 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13694 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13695 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13696 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13697 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13698 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13699 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13700 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13701 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13702 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13703 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13704
13705 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13706
13707 * NEWS (2.23): Fix typo in bug 19048 text.
13708
13709 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13710
13711 [BZ #14259]
13712 * Makeconfig: Rename msgcatdir to localedir.
13713 Rename inst_msgcatdir to inst_localedir.
13714 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13715 * config.make.in: Add localedir.
13716 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13717 (ldd-rewrite): Likewise.
13718 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13719 (install-others): Use inst_localedir.
13720 (CPPFLAGS): Use localedir.
13721 * locale/Makefile (locale-CPPFLAGS): Likewise.
13722 * po/Makefile (mo-installed): Use inst_localedir.
13723
13724 [BZ #19575]
13725 * localedata/charmaps/GB18030: Update comments regarding PAU to
13726 non-PUA mappings.
13727
13728 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13729
13730 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13731 test for header.
13732 * sysdeps/unix/sysv/linux/configure: Regenerated.
13733 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13734 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13735 Remove conditional code.
13736 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13737
13738 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13739 Define to 3.2.0.
13740 (arch_minimum_kernel): Likewise.
13741 * sysdeps/unix/sysv/linux/configure: Regenerated.
13742 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13743 Define to 2.6.32.
13744 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13745 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13746 (arch_minimum_kernel): Define to 2.6.32.
13747 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13748 * README: Document Linux 3.2 requirement.
13749 * manual/install.texi (Linux): Document Linux 3.2 headers
13750 requirement.
13751 * INSTALL: Regenerated.
13752
13753 2016-02-24 Andreas Schwab <schwab@suse.de>
13754
13755 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13756 if !NO_LONG_DOUBLE.
13757
13758 2016-02-22 Roland McGrath <roland@hack.frob.com>
13759
13760 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13761 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13762
13763 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13764
13765 [BZ #19512]
13766 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13767
13768 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13769
13770 * posix/tst-dir.c: Include libc-internal.h.
13771
13772 2016-02-20 Florian Weimer <fweimer@redhat.com>
13773
13774 [BZ #19056]
13775 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13776 * manual/filesys.texi (Reading/Closing Directory): Mention
13777 deprecaion.
13778 * posix/tst-dir.c (main): Disable deprecation warning in test.
13779
13780 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 [BZ #19679]
13783 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13784 Renamed to ...
13785 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13786 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13787 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13788 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13789 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13790 * sysdeps/x86_64/dl-trampoline.h
13791 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13792 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13793
13794 2016-02-19 Mark Wielaard <mjw@redhat.com>
13795
13796 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13797
13798 2016-02-19 Mark Wielaard <mjw@redhat.com>
13799
13800 * elf/elf.h (R_386_GOT32X): New.
13801 (R_386_NUM): Update.
13802 (R_X86_64_GOTPCRELX: New.
13803 (R_X86_64_REX_GOTPCRELX): New.
13804 (R_X86_64_NUM): Update.
13805
13806 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13807
13808 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13809
13810 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13811
13812 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13813 assign attr->stackaddr to it, and adjust it down when
13814 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13815 [_STACK_GROWS_UP]: Delete assert.
13816 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13817 Implement stack grows up logic.
13818 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13819 stack grows up logic.
13820
13821 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13822
13823 * NEWS: Update with 2.24 template.
13824
13825 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13826
13827 [BZ #19678]
13828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13829 Ensure +0.0 is returned when taking the next value below the least
13830 positive value.
13831
13832 2016-02-19 Florian Weimer <fweimer@redhat.com>
13833
13834 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13835 available. Do not define NO_THREADS.
13836 * malloc/malloc.c: Do not check NO_THREADS.
13837 * malloc/arena.c: Likewise.
13838
13839 2016-02-19 Florian Weimer <fweimer@redhat.com>
13840
13841 * malloc/malloc.c (__libc_mallinfo): Update comment.
13842 (struct malloc_par): Remove max_total_mem member, it was always 0.
13843 (int_mallinfo): Store 0 into usmblks (no functional change).
13844 * malloc/hooks.c (struct malloc_state): Document that
13845 max_total_mem is always 0.
13846 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13847 always 0.
13848 * manual/memory.texi (Statistics of Malloc): Likewise.
13849
13850 2016-02-19 Florian Weimer <fweimer@redhat.com>
13851
13852 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13853 * malloc/arena.c (arena_max): Remove.
13854 (heap_trim, _int_new_arena): Do not update arena_max.
13855
13856 2016-02-19 Florian Weimer <fweimer@redhat.com>
13857
13858 * resolv/res_init.c (res_ninit): Update comment.
13859
13860 2016-02-19 Florian Weimer <fweimer@redhat.com>
13861
13862 [BZ #19505]
13863 * posix/spawn_int.h: Add headers and include guard.
13864 (__spawn_valid_fd): New function.
13865 * posix/spawn_faction_addopen.c
13866 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13867 * posix/spawn_faction_addclose.c
13868 (posix_spawn_file_actions_addclose): Likewise.
13869 * posix/spawn_faction_adddup2.c
13870 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13871 second file descriptor.
13872 * posix/spawn_valid_fd.c: New file.
13873 * posix/tst-posix_spawn-fd.c: New file.
13874 * posix/Makefile (routines): Add spawn_valid_fd.
13875 (tests): Add tst-posix_spawn-fd.
13876
13877 2016-02-19 Florian Weimer <fweimer@redhat.com>
13878
13879 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13880 (do_test): Limit the number of arenas, so that we can use fewer
13881 outer threads. Limit timeout to 3 seconds, in preparation for a
13882 larger TIMEOUT value.
13883
13884 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13885
13886 [BZ #19674]
13887 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13888 sign in overflowing and underflowing results when overflow or
13889 underflow is detected early. Include sign in result before rather
13890 than after scaling.
13891
13892 [BZ #19603]
13893 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13894 (__ieee754_remainderl): Adjust sign of integer version of low part
13895 when taking absolute value of high part.
13896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13897 * math/libm-test.inc (remainder_test_data): Add another test.
13898 (remquo_test_data): Likewise.
13899
13900 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13901
13902 [BZ #19602]
13903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13904 equal high parts and both low parts zero specially.
13905 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13906 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13907 Add test-fmodl-ldbl-128ibm.
13908
13909 [BZ #19595]
13910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13911 common logic for all cases of shifting subnormal results. Do not
13912 insert sign bit in shifted mantissa. Always pass -1023 as biased
13913 exponent to ldbl_insert_mantissa in subnormal case.
13914
13915 [BZ #19594]
13916 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13917 on high and low parts then adjust result and use
13918 ldbl_canonicalize_int if needed.
13919
13920 [BZ #19593]
13921 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13922 on high part and __floor or __ceil on low part then use
13923 ldbl_canonicalize_int if needed.
13924
13925 [BZ #19592]
13926 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13927 high and low parts then use ldbl_canonicalize_int if needed.
13928
13929 [BZ #17899]
13930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13931 New function.
13932 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13933 on high and low parts then use ldbl_canonicalize_int if needed.
13934
13935 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13936
13937 * configure: Regenerated.
13938
13939 * po/libc.pot: Regenerated.
13940
13941 * po/be.po: Updated translation.
13942 * po/bg.po: Likewise.
13943 * po/ca.po: Likewise.
13944 * po/cs.po: Likewise.
13945 * po/da.po: Likewise.
13946 * po/el.po: Likewise.
13947 * po/eo.po: Likewise.
13948 * po/es.po: Likewise.
13949 * po/fi.po: Likewise.
13950 * po/fr.po: Likewise.
13951 * po/gl.po: Likewise.
13952 * po/hr.po: Likewise.
13953 * po/hu.po: Likewise.
13954 * po/ia.po: Likewise.
13955 * po/id.po: Likewise.
13956 * po/it.po: Likewise.
13957 * po/ja.po: Likewise.
13958 * po/lt.po: Likewise.
13959 * po/nb.po: Likewise.
13960 * po/nl.po: Likewise.
13961 * po/pt_BR.po: Likewise.
13962 * po/rw.po: Likewise.
13963 * po/sk.po: Likewise.
13964 * po/sl.po: Likewise.
13965 * po/sv.po: Likewise.
13966 * po/tr.po: Likewise.
13967 * po/zh_CN.po: Likewise.
13968 * po/zh_TW.po: Likewise.
13969
13970 * version.h (RELEAES): Set to "development".
13971 (VERSION): Set to 2.23.90.
13972
13973 * version.h (RELEASE): Set to "stable".
13974 (VERSION): Set to 2.23.
13975 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13976
13977 * NEWS: Updated fixed bugs.
13978
13979 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13980 Wilco Dijkstra <wdijkstr@arm.com>
13981
13982 [BZ #19462]
13983 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13984 (_STRING_INLINE_unaligned): This.
13985 * include/string.h: Include <string_private.h>.
13986 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13987 _STRING_INLINE_unaligned.
13988 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13989 (_STRING_INLINE_unaligned): New.
13990 * sysdeps/aarch64/string_private.h: New file.
13991 * sysdeps/generic/string_private.h: Likewise.
13992 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13993 * sysdeps/s390/string_private.h: Likewise.
13994 * sysdeps/x86/string_private.h: Likewise.
13995 * sysdeps/m68k/m680x0/m68020/bits/string.h
13996 (_STRING_ARCH_unaligned): Renamed to ...
13997 (_STRING_INLINE_unaligned): This.
13998 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13999 to ...
14000 (_STRING_INLINE_unaligned): This.
14001 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14002 to ...
14003 (_STRING_INLINE_unaligned): This.
14004 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14005 to ...
14006 (_STRING_INLINE_unaligned): This.
14007
14008 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
14009 H.J. Lu <hongjiu.lu@intel.com>
14010
14011 [BZ #19590]
14012 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14013 relocation.
14014
14015 2016-02-15 Carlos O'Donell <carlos@redhat.com>
14016
14017 [BZ #18665]
14018 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14019 *herrno_p.
14020 (gaih_getanswer): Document functional behviour. Return tryagain
14021 if any result is tryagain.
14022 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14023 when freed.
14024 * resolv/res_send.c: Add copyright text.
14025 (__libc_res_nsend): Document that MAXPACKET is expected.
14026 (send_vc): Document. Remove buffer reuse.
14027 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14028 size of the buffer. Add Dprint for truncated UDP buffer.
14029
14030 2016-02-14 Carlos O'Donell <carlos@redhat.com>
14031
14032 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14033 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14034 * INSTALL: Regenerate.
14035
14036 2016-02-14 Jakub Jelinek <jakub@redhat.com>
14037 Jonathan Wakely <jwakely@redhat.com>
14038 Carlos O'Donell <carlos@redhat.com>
14039
14040 [BZ 19439]
14041 * math/Makefile (tests): Add test-math-isinff.
14042 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14043 * math/bits/mathcalls.h [__USE_MISC]: Use
14044 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14045 functions not in C++11 and which don't conflict e.g. isinff,
14046 isinfl etc.
14047 * math/test-math-isinff.cc: New file.
14048
14049 2016-02-12 Florian Weimer <fweimer@redhat.com>
14050
14051 * misc/bug18240.c (do_test): Set RLIMIT_AS.
14052
14053 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
14054
14055 [BZ #19529]
14056 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14057
14058 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14059
14060 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14061
14062 2016-02-01 Joseph Myers <joseph@codesourcery.com>
14063
14064 [BZ #19550]
14065 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14066 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14067 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14068 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14069 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14070 New syscall entry.
14071 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14072 New syscall entry.
14073 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14074 syscall entry.
14075
14076 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
14077
14078 [BZ #18240]
14079 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14080 unsigned int wraparound.
14081
14082 2016-01-27 Florian Weimer <fweimer@redhat.com>
14083
14084 [BZ #18240]
14085 * misc/bug18240.c: New test.
14086 * misc/Makefile (tests): Add it.
14087
14088 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
14089 Joseph Myers <joseph@codesourcery.com>
14090
14091 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14092 load in branch delay slot when less than a word of input left.
14093
14094 2016-01-27 Andreas Schwab <schwab@suse.de>
14095
14096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14098 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14099 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14100
14101 2016-01-26 David S. Miller <davem@davemloft.net>
14102
14103 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14104
14105 2016-01-25 David S. Miller <davem@davemloft.net>
14106
14107 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14108 __sqrtl_finite.
14109 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14110 instead using versioned_symbol.
14111 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14112 of entries.
14113
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14115 __sqrtl_finite to GLIBC_2.23
14116
14117 2016-01-25 Ricchard Henderson <rth@redhat.com>
14118
14119 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14120
14121 2016-01-25 Andreas Schwab <schwab@suse.de>
14122
14123 [BZ #17514]
14124 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14125 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14126 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14127 * nptl/tst-mutex-errorcheck.c: New file.
14128
14129 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14130
14131 [BZ #18560]
14132 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14133 (IPCOP_semop): Likewise.
14134 (IPCOP_semget): Likewise.
14135 (IPCOP_semctl): Likewise.
14136 (IPCOP_msgsnd): Likewise.
14137 (IPCOP_msgrcv): Likewise.
14138 (IPCOP_msgget): Likewise.
14139 (IPCOP_msgctl): Likewise.
14140 (IPCOP_shmat): Likewise.
14141 (IPCOP_shmdt): Likewise.
14142 (IPCOP_shmget): Likewise.
14143 (IPCOP_shmctl): Likewise.
14144
14145 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14146
14147 * string/tst-endian.c: Include <libc-internal.h>.
14148 (do_test): Ignore tautological-compare warnings around
14149 "htobeXX (beXXtoh (i)) != i" and
14150 "htoleXX (leXXtoh (i)) != i" if-statements.
14151
14152 2016-01-24 David S. Miller <davem@davemloft.net>
14153
14154 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14155 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14156 alias.
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14158 __sqrtl_finite.
14159
14160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14161
14162 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
14163
14164 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14165 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14166 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14167
14168 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14169
14170 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14171 (thread_func): Use new function to simplify barrier check.
14172 (do_test): Use new function to simplify checking barrier exit
14173 code, and actually join the child thread.
14174
14175 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14176
14177 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14178 semicolon.
14179 (__libc_tend): Likewise.
14180 (__libc_tabort): Likewise.
14181
14182 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14183
14184 * sysdeps/nios2/libm-test-ulps: Update.
14185 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14186 (__gtsf2): Likewise.
14187 (__unorddf2): Likewise.
14188 (__unordsf2): Likewise.
14189 (__ledf2): Likewise.
14190
14191 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14192
14193 * nis/nis_table.c (__follow_path): Disable diagnostic for
14194 uninitialized variable that is a false positive for gcc 4.7.
14195 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14196
14197 2016-01-20 Roland McGrath <roland@hack.frob.com>
14198
14199 * sysdeps/nacl/lowlevellock-futex.h
14200 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14201 Always evaluate PRIVATE argument.
14202
14203 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14204
14205 [BZ #19490]
14206 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14207 (pthread_cond_broadcast): Use ENTRY/END
14208 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14209 (pthread_cond_signal): Likewise.
14210 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14211 Likewise.
14212 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14213 Likewise.
14214 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14215 Likewise.
14216
14217 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14218
14219 * sysdeps/ieee754/dbl-64/s_finite.c
14220 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14221 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14222 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14224 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14225
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14227 (__gtsf2): Add as optional for libc.so.
14228 (__unordsf2): Likewise.
14229 (__signbit): Remove for libc.so.
14230 (__signbitl): Likewise.
14231
14232 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14233
14234 * iconvdata/bug-iconv11.c (test_ibm93x):
14235 Use %zu printf format specifier for size_t argument.
14236
14237 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14238
14239 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14240 already-recorded ulps.
14241 * sysdeps/arm/libm-test-ulps: Regenerated.
14242 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14243 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14244 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14245
14246 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14247 Paul Pluzhnikov <ppluzhnikov@google.com>
14248
14249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14250 assembler not supporting AVX-512.
14251
14252 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14253
14254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14255
14256 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14257
14258 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14259 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14260
14261 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14262
14263 * sysdeps/arm/libm-test-ulps: Regenerated.
14264
14265 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14266
14267 [BZ #19451]
14268 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14269
14270 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14271
14272 [BZ #19486]
14273 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14274 * sysdeps/generic/fix-fp-int-convert-overflow.h
14275 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14276 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14277 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14278 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14279 Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14281 Avoid conversions to long int where inexact exceptions
14282 could be raised.
14283 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14284 Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14286 Avoid conversions to long long int where inexact exceptions
14287 could be raised.
14288 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14289 Likewise.
14290
14291 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14292
14293 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14294 * configure: Regenerated.
14295
14296 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14297
14298 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14299
14300 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14301
14302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14303 outside of comment.
14304
14305 2016-01-15 Torvald Riegel <triegel@redhat.com>
14306
14307 * nptl/tst-barrier1.c: Add description on first line.
14308 * nptl/tst-barrier2.c: Likewise.
14309 * nptl/tst-barrier3.c: Likewise.
14310 * nptl/tst-barrier4.c: Likewise.
14311 * nptl/tst-barrier5.c: Likewise.
14312
14313 2016-01-15 Torvald Riegel <triegel@redhat.com>
14314
14315 [BZ #18868]
14316 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14317
14318 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14319
14320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14322 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14323 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14324 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14325 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14326 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14327 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14328 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14329 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14330 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14331
14332 2016-01-15 Torvald Riegel <triegel@redhat.com>
14333
14334 [BZ #13065]
14335 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14336 new implementation.
14337 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14338 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14339 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14340 (BARRIER_IN_THRESHOLD): New macro.
14341 * nptl/pthread_barrierattr_setpshared.c
14342 (pthread_barrierattr_setpshared): Clean up.
14343 * nptl/tst-barrier4.c: Correct comment.
14344 * nptl/tst-barrier5.c: New file.
14345 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14346 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14347 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14348 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14349 * nptl/lowlevelbarrier.sym: Remove.
14350 * nptl/DESIGN-barrier.txt: Remove.
14351 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14352 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14353 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14354 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14355 error.
14356 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14357 implementation.
14358
14359 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14360
14361 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14362 (do_child): Mask SIGRTMIN while thr is running.
14363
14364 2016-01-15 Martin Sebor <msebor@redhat.com>
14365
14366 [BZ #19432]
14367 * iconvdata/Makefile: Add bug-iconv11.
14368 * iconvdata/bug-iconv11.c: New test.
14369 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14370 * iconvdata/ibm933.c: Same.
14371 * iconvdata/ibm935.c: Same.
14372 * iconvdata/ibm937.c: Same.
14373 * iconvdata/ibm939.c: Same.
14374
14375 2016-01-15 Martin Sebor <msebor@redhat.com>
14376
14377 [BZ #19443]
14378 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14379 [DEBUG] (_ufc_set_bits): Declare used.
14380 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14381 [DEBUG] (print_all): Declare used.
14382 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14383 operands of the ternary ?: expression to target type.
14384 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14385 calling the undeclared abort.
14386 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14387
14388 2016-01-15 Martin Sebor <msebor@redhat.com>
14389
14390 [BZ #18755]
14391 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14392 warnings.
14393 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14394 (__gai_create_helper_thread): Same.
14395 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14396 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14397 to suppress -Wmaybe-uninitialized warnings.
14398
14399 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14400
14401 [BZ #19465]
14402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14403 inside if.
14404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14407
14408 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14409
14410 [BZ #19466]
14411 * time/tst-mktime2.c (time_t_max): Removed.
14412 (time_t_min): Likewise.
14413 (TYPE_SIGNED): New.
14414 (TYPE_MINIMUM): Likewise.
14415 (TYPE_MAXIMUM): Likewise.
14416 (TIME_T_MIN): Likewise.
14417 (TIME_T_MAX): Likewise.
14418 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14419 and TIME_T_MIN.
14420 (do_test): Likewise.
14421
14422 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14423
14424 [BZ #19467]
14425 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14426 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14427
14428 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14429
14430 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14431
14432 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14433
14434 * benchtests/Makefile (PYTHON): Define.
14435 (bench-func): Use $(PYTHON) to run python scripts.
14436 ($(objpfx)bench-%.c): Likewise.
14437
14438 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14439
14440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14441 leading slash when `file_name' is "/".
14442
14443 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14444
14445 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14446 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14447 Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14449 Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14451 Likewise.
14452 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14453 enum constant and macro.
14454 (PTRACE_SETSIGMASK): Likewise.
14455 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14456 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14457 (PTRACE_GETSIGMASK): Likewise.
14458 (PTRACE_SETSIGMASK): Likewise.
14459 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14460 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14461 Likewise.
14462 (PTRACE_SETSIGMASK): Likewise.
14463 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14465 (PTRACE_GETSIGMASK): Likewise.
14466 (PTRACE_SETSIGMASK): Likewise.
14467 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14469 Likewise.
14470 (PTRACE_SETSIGMASK): Likewise.
14471 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14473 Likewise.
14474 (PTRACE_SETSIGMASK): Likewise.
14475 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14476 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14477 Likewise.
14478 (PTRACE_SETSIGMASK): Likewise.
14479 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14480
14481 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14482 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14483
14484 [BZ #19439]
14485 * math/bits/mathcalls.h
14486 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14487 prototype.
14488 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14489
14490 2016-01-11 Andreas Schwab <schwab@suse.de>
14491
14492 [BZ #19253]
14493 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14494 cache when TZDEFRULES was used.
14495 * time/tst-tzname.c: New file.
14496 * time/Makefile (test): Add tst-tzname.
14497 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14498 * timezone/Makefile (test-zones): Add $(posixrules-file).
14499 ($(testdata)/$(posixrules-file)): New rule.
14500
14501 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14502
14503 Fix doc quoting problems with Texinfo 5
14504 Without this change, in the info file output, Texinfo 5 quotes code
14505 in text with undirected single quotes 'like this' and generates
14506 code examples that with many PDF readers cannot be cut out of PDFs
14507 and pasted into code.
14508 * manual/libc.texinfo: Configure the libc manual like the GNU
14509 Emacs manual, by using @documentencoding and setting
14510 txicodequoteundirected and txicodequotebacktick. This way,
14511 Texinfo 5 quotes code in text with directed single quotes ‘like
14512 this’ and produces examples that can be cut out of PDFs. This
14513 change causes Texinfo 5 to generate info files that contain UTF-8
14514 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14515 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14516
14517 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14518
14519 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14520 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14521 barriers to their respective compiler built-ins.
14522 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14523 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14524 * sysdeps/powerpc/sysdep.h: Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14526 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14528
14529 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14530
14531 * scripts/config.guess: Revert previous shebang change.
14532 * scripts/config.sub: Likewise.
14533 * scripts/mkinstalldirs: Likewise.
14534
14535 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14536
14537 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14538 PPC_FEATURE2_HAS_IEEE128.
14539 * sysdeps/powerpc/dl-procinfo.c:
14540 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14541
14542 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14543
14544 [BZ #19415]
14545 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14546 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14547 (_dl_lookup_address): Rewrite using function resolver trampoline.
14548 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14549 two bits in address.
14550
14551 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14552
14553 * longlong.h: Change !__SHMEDIA__ to
14554 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14555 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14556
14557 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14558 Joseph Myers <joseph@codesourcery.com>
14559 Mark Shinwell <shinwell@codesourcery.com>
14560 Andrew Stubbs <ams@codesourcery.com>
14561 Rich Felker <dalias@libc.org>
14562
14563 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14564
14565 2016-01-07 Richard Henderson <rth@redhat.com>
14566
14567 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14568
14569 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14570
14571 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14572 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14573 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14574 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14575 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14576
14577 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14578 Joseph Myers <joseph@codesourcery.com>
14579
14580 * timezone/private.h: Update from tzcode 2015g.
14581 * timezone/tzfile.h: Likewise.
14582 * timezone/tzselect.ksh: Likewise.
14583 * timezone/zdump.c: Likewise.
14584 * timezone/zic.c: Likewise.
14585 * timezone/ialloc.c: Remove file.
14586 * timezone/scheck.c: Likewise.
14587 * timezone/Makefile (extra-objs): Remove variable.
14588 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14589 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14590 -Wno-maybe-uninitialized.
14591 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14592 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14593 (CFLAGS-ialloc.c): Remove variable.
14594 (CFLAGS-scheck.c): Likewise.
14595 * timezone/README: Update list of files from tzcode.
14596
14597 2016-01-07 Khem Raj <raj.khem@gmail.com>
14598
14599 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14600 instead of __fxprintf when _LIBC is undefined.
14601
14602 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14603
14604 * catgets/test-gencat.sh: Remove space after shebang.
14605 * conform/GlibcConform.pm: Likewise.
14606 * conform/check-header-lists.sh: Likewise.
14607 * conform/conformtest.pl: Likewise.
14608 * conform/linknamespace.pl: Likewise.
14609 * conform/list-header-symbols.pl: Likewise.
14610 * debug/catchsegv.sh: Likewise.
14611 * elf/genrtldtbl.awk: Likewise.
14612 * elf/tst-pathopt.sh: Likewise.
14613 * elf/tst-rtld-load-self.sh: Likewise.
14614 * grp/tst_fgetgrent.sh: Likewise.
14615 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14616 * iconvdata/gen-8bit-gap.sh: Likewise.
14617 * iconvdata/gen-8bit.sh: Likewise.
14618 * iconvdata/run-iconv-test.sh: Likewise.
14619 * intl/tst-gettext.sh: Likewise.
14620 * intl/tst-gettext2.sh: Likewise.
14621 * intl/tst-gettext4.sh: Likewise.
14622 * intl/tst-gettext6.sh: Likewise.
14623 * intl/tst-translit.sh: Likewise.
14624 * io/ftwtest-sh: Likewise.
14625 * libio/test-freopen.sh: Likewise.
14626 * locale/gen-translit.pl: Likewise.
14627 * malloc/tst-mtrace.sh: Likewise.
14628 * manual/check-safety.sh: Likewise.
14629 * manual/libc-texinfo.sh: Likewise.
14630 * manual/tsort.awk: Likewise.
14631 * manual/xtract-typefun.awk: Likewise.
14632 * nptl/tst-cancel-wrappers.sh: Likewise.
14633 * nptl/tst-tls6.sh: Likewise.
14634 * posix/globtest.sh: Likewise.
14635 * posix/tst-getconf.sh: Likewise.
14636 * posix/wordexp-tst.sh: Likewise.
14637 * scripts/check-c++-types.sh: Likewise.
14638 * scripts/check-local-headers.sh: Likewise.
14639 * scripts/config.guess: Likewise.
14640 * scripts/config.sub: Likewise.
14641 * scripts/cpp: Likewise.
14642 * scripts/cross-test-ssh.sh: Likewise.
14643 * scripts/documented.sh: Likewise.
14644 * scripts/evaluate-test.sh: Likewise.
14645 * scripts/gen-libc-abis: Likewise.
14646 * scripts/gen-sorted.awk: Likewise.
14647 * scripts/list-fixed-bugs.py: Likewise.
14648 * scripts/merge-test-results.sh: Likewise.
14649 * scripts/mkinstalldirs: Likewise.
14650 * scripts/rellns-sh: Likewise.
14651 * scripts/test-installation.pl: Likewise.
14652 * scripts/update-copyrights: Likewise.
14653 * stdio-common/tst-printf.sh: Likewise.
14654 * stdio-common/tst-unbputc.sh: Likewise.
14655 * stdlib/tst-fmtmsg.sh: Likewise.
14656 * stdlib/tst-setcontext3.sh: Likewise.
14657 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14658 * sysdeps/unix/make-syscalls.sh: Likewise.
14659
14660 2016-01-06 John David Anglin <dave.anglin@bell.net>
14661
14662 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14663 asm stw with atomic_exchange_rel. Add explanatory comment.
14664 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14665 Likewise.
14666
14667 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14668
14669 [BZ #19122]
14670 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14671 * sysdeps/generic/dl-unistd.h: New file.
14672 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14673
14674 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 [BZ #19122]
14677 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14678 * sysdeps/generic/dl-mman.h: New file.
14679 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14680
14681 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14682
14683 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14684 trailing whitespace removed.
14685 * scripts/config.guess: Update to version 2016-01-01.
14686 * scripts/config.sub: Update to version 2016-01-01.
14687 * scripts/move-if-change: Update from gnulib.
14688
14689 2016-01-04 Anton Blanchard <anton@samba.org>
14690
14691 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14692 for array indices.
14693 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14694
14695 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14696
14697 * NEWS: Update copyright dates.
14698 * catgets/gencat.c (print_version): Likewise.
14699 * csu/version.c (banner): Likewise.
14700 * debug/catchsegv.sh: Likewise.
14701 * debug/pcprofiledump.c (print_version): Likewise.
14702 * debug/xtrace.sh (do_version): Likewise.
14703 * elf/ldconfig.c (print_version): Likewise.
14704 * elf/ldd.bash.in: Likewise.
14705 * elf/pldd.c (print_version): Likewise.
14706 * elf/sotruss.sh: Likewise.
14707 * elf/sprof.c (print_version): Likewise.
14708 * iconv/iconv_prog.c (print_version): Likewise.
14709 * iconv/iconvconfig.c (print_version): Likewise.
14710 * locale/programs/locale.c (print_version): Likewise.
14711 * locale/programs/localedef.c (print_version): Likewise.
14712 * login/programs/pt_chown.c (print_version): Likewise.
14713 * malloc/memusage.sh (do_version): Likewise.
14714 * malloc/memusagestat.c (print_version): Likewise.
14715 * malloc/mtrace.pl: Likewise.
14716 * manual/libc.texinfo: Likewise.
14717 * nptl/version.c (banner): Likewise.
14718 * nscd/nscd.c (print_version): Likewise.
14719 * nss/getent.c (print_version): Likewise.
14720 * nss/makedb.c (print_version): Likewise.
14721 * posix/getconf.c (main): Likewise.
14722 * scripts/test-installation.pl: Likewise.
14723 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14724
14725 * All files with FSF copyright notices: Update copyright dates
14726 using scripts/update-copyrights.
14727 * intl/plural.c: Regenerated.
14728 * locale/programs/charmap-kw.h: Likewise.
14729 * locale/programs/locfile-kw.h: Likewise.
14730
14731 2016-01-02 Helge Deller <deller@gmx.de>
14732
14733 [BZ #19285]
14734 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14735 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14736 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14737 (MADV_xxK_PAGES): Remove.
14738
14739 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14740
14741 [BZ #15421]
14742 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14743 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14744 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14745 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14746
14747 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14748
14749 [BZ #19408]
14750 * sysdeps/unix/sysv/linux/personality.c: New file.
14751 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14752 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14753 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14754 (sysdep_routines): Add personality.
14755 (tests): Add tst-personality.
14756 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14758 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14759 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14760 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14761 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14762 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14763 Likewise.
14764 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14765 Likewise.
14766 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14767 Likewise.
14768 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14769 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14770 Likewise.
14771
14772 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14773
14774 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14775 (PATH_ARM_SYSTYPE): Remove.
14776 (PATH_CPUINFO): Likewise.
14777 (IO_BASE_FOOTBRIDGE): Likewise.
14778 (IO_SHIFT_FOOTBRIDGE): Likewise.
14779 (struct platform): Likewise.
14780 (init_iosys): Remove compatibility code for 2.4 kernels.
14781 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14782
14783 2015-12-29 Florian Weimer <fweimer@redhat.com>
14784
14785 * malloc/tst-malloc-thread-fail.c: New file.
14786 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14787 (tst-malloc-thread-fail): Link against libpthread.
14788
14789 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14790
14791 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14792 (get_parser): New function.
14793 (main): New function.
14794
14795 2015-12-29 Rob Wu <rob@robwu.nl>
14796
14797 [BZ #19369]
14798 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14799
14800 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14801
14802 [BZ #19270]
14803 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14804
14805 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14806
14807 [BZ #15421]
14808 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14809
14810 2015-12-23 Torvald Riegel <triegel@redhat.com>
14811
14812 [BZ #13690]
14813 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14814 after releasing it.
14815 (__lll_robust_unlock): Likewise.
14816 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14817 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14818 (lll_robust_unlock): Likewise.
14819 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14820 Prevent warnings in callers.
14821
14822 2015-12-23 Florian Weimer <fweimer@redhat.com>
14823
14824 * malloc/arena.c (list_lock): Update comment.
14825
14826 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14827
14828 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14829 __parse_hwcap_and_convert_at_platform to libc.a.
14830
14831 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14832
14833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14834 platform and feature support for POWER9.
14835 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14836 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14837 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14838 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14839 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14840 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14841 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14842 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14843
14844 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14845
14846 Harmonize generic stdio-lock support with nptl
14847
14848 This fixes build when _IO_funlockfile is a macro, fixes build where
14849 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14850 stack unwind.
14851
14852 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14853 _IO_release_lock ): Use cleanup attribute on new
14854 _IO_acquire_lock_file variable instead of assuming that
14855 _IO_release_lock will be called.
14856 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14857 _IO_acquire_lock_needs_exceptions_enabled.
14858 (_IO_acquire_lock_clear_flags2): New macro.
14859
14860 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14861
14862 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14863
14864 2015-12-21 Florian Weimer <fweimer@redhat.com>
14865
14866 [BZ #19182]
14867 * malloc/arena.c (list_lock): Document lock ordering requirements.
14868 (free_list_lock): New lock.
14869 (ptmalloc_lock_all): Comment on free_list_lock.
14870 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14871 (detach_arena): Update comment. free_list_lock is now needed.
14872 (_int_new_arena): Use free_list_lock around detach_arena call.
14873 Acquire arena lock after list_lock. Add comment, including FIXME
14874 about incorrect synchronization.
14875 (get_free_list): Switch to free_list_lock.
14876 (reused_arena): Acquire free_list_lock around detach_arena call
14877 and attached threads counter update. Add two FIXMEs about
14878 incorrect synchronization.
14879 (arena_thread_freeres): Switch to free_list_lock.
14880 * malloc/malloc.c (struct malloc_state): Update comments to
14881 mention free_list_lock.
14882
14883 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14884
14885 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14886 Remove functions.
14887 (sloww, sloww1): Accept argument to offset quadrant.
14888 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14889 quadrant.
14890 (__sin, __cos): Consolidate common code into new functions.
14891 (reduce_sincos_1, do_sincos_1): New functions.
14892 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14893
14894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14895 code to new functions.
14896 (reduce_sincos_2, do_sincos_2): New functions.
14897 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14898
14899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14900 common code for sincos.
14901 (__cos) [!IN_SINCOS]: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14903 New function.
14904 (__sincos): Use it.
14905
14906 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14907
14908 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14909 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14910 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14911
14912 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14913
14914 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14917 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14919 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14920 index_Prefer_No_VZEROUPPER): New feature.
14921 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14922 Prefer_No_VZEROUPPER for Knights Landing.
14923
14924 015-12-18 Torvald Riegel <triegel@redhat.com>
14925
14926 * math/atest-exp2.c (mp_exp_m1): Remove.
14927
14928 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14929
14930 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14931 syscalls.
14932 (__SYSCALL0): New macro.
14933 (__SYSCALL1): Likewise.
14934 (__SYSCALL2): Likewise.
14935 (__SYSCALL3): Likewise.
14936 (__SYSCALL4): Likewise.
14937 (__SYSCALL5): Likewise.
14938 (__SYSCALL6): Likewise.
14939 (__SYSCALL_CONCAT_X): Likewise.
14940 (__SYSCALL_CONCAT): Likewise.
14941 (__SYSCALL_DIST): Likewise.
14942 (__SYSCALL_CALL): Likewise.
14943
14944 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 [BZ #19363]
14947 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14948
14949 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14950
14951 [BZ #19375]
14952 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14953 negative subnormals.
14954
14955 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14958 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14959 (INTERNAL_SYSCALL_NCS): Use it.
14960 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14961
14962 2015-12-16 Florian Weimer <fweimer@redhat.com>
14963
14964 [BZ #19243]
14965 * malloc/arena.c (get_free_list): Remove assert and adjust
14966 reference count handling. Add comment about reused_arena
14967 interaction.
14968 (reused_arena): Add comments abount get_free_list interaction.
14969 * malloc/tst-malloc-thread-exit.c: New file.
14970 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14971 (tst-malloc-thread-exit): Link against libpthread.
14972
14973 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14974
14975 [BZ #19367]
14976 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14977 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14978 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14979 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14980 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14981
14982 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14983
14984 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14985 Silvermont optimizations for Knights Landing.
14986
14987 2015-12-15 Andreas Schwab <schwab@suse.de>
14988
14989 [BZ #17197]
14990 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14991 immediately after emitting SI.
14992 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14993 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14994 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14995 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14996 * iconvdata/bug-iconv10.c: New file.
14997 * iconvdata/Makefile (tests): Add bug-iconv10.
14998 ($(objpfx)bug-iconv10.out): New rule.
14999
15000 2015-12-15 Florian Weimer <fweimer@redhat.com>
15001
15002 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15003 aliasing violation.
15004
15005 2015-12-14 Joseph Myers <joseph@codesourcery.com>
15006
15007 [BZ #18472]
15008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15009 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15010 conditionals for them.
15011 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15012 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15014 sys/kdaemon.h.
15015 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15016 compat-only syscall, obsoleted in glibc 2.23.
15017 (create_module): Likewise.
15018 (get_kernel_syms): Likewise.
15019 (query_module): Likewise.
15020 (uselib): Likewise.
15021 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15022
15023 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
15024
15025 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15026 <linux/version.h>.
15027 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15028 conditional code.
15029 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15030 and ioshift_name initialization.
15031
15032 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15033
15034 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15035 Fix indentation.
15036
15037 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15038
15039 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15040
15041 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15042
15043 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15044
15045 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
15046 Jakub Wilk <jwilk@debian.org>
15047
15048 [BZ #19347]
15049 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15050 to change the group of the device to the tty group.
15051
15052 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
15053
15054 Split large string section; add truncation advice
15055 * manual/examples/strncat.c: Remove.
15056 This example was misleading, as the code would have undefined
15057 behavior if "hello" was longer than SIZE. Anyway, the manual
15058 shouldn't encourage strncpy+strncat for this sort of thing.
15059 * manual/string.texi (Copying Strings and Arrays): Split into
15060 three sections Copying Strings and Arrays, Concatenating Strings,
15061 and Truncating Strings, as this section was way too long. All
15062 cross-referenced changed. Add advice about string-truncation
15063 functions. Remove misleading strncat example.
15064
15065 2015-12-10 Carlos O'Donell <carlos@redhat.com>
15066
15067 * manual/nss.texi (NSS Modules Interface): Document
15068 NSS_STATUS_NOTFOUND and SUCCESS.
15069
15070 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15071
15072 [BZ 18568]
15073 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15074 201505L, for Unicode 8.
15075
15076 2015-12-09 Carlos O'Donell <carlos@redhat.com>
15077
15078 * locale/C-translit.h: Regenerate.
15079
15080 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15081
15082 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15083 and U+0153.
15084
15085 2015-12-09 Joseph Myers <joseph@codesourcery.com>
15086
15087 [BZ #19351]
15088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15089 expanding log(1+z), compare z rather than its square with epsilon
15090 to determine when to avoid evaluating the expansion.
15091
15092 [BZ #19350]
15093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15094 Increase overflow threshold.
15095
15096 [BZ #19349]
15097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15098 when small.
15099
15100 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15101 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15102 New macro.
15103 [__LINUX_KERNEL_VERSION >= 0x040300]
15104 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15105 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15106 Likewise.
15107 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15108 Likewise.
15109 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15110 Likewise.
15111 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15112 Likewise.
15113 [__LINUX_KERNEL_VERSION >= 0x040300]
15114 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15115 [__LINUX_KERNEL_VERSION >= 0x040300]
15116 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15117 [__LINUX_KERNEL_VERSION >= 0x040300]
15118 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15119 [__LINUX_KERNEL_VERSION >= 0x040300]
15120 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15121 [__LINUX_KERNEL_VERSION >= 0x040300]
15122 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15123 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15124 Likewise.
15125 [__LINUX_KERNEL_VERSION >= 0x040300]
15126 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15127 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15128 Likewise.
15129 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15130 Likewise.
15131 [__LINUX_KERNEL_VERSION >= 0x040300]
15132 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15133 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15134 Likewise.
15135 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15136 Likewise.
15137 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15138 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15139 Likewise.
15140 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15141 Likewise.
15142 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15143 Likewise.
15144 [__LINUX_KERNEL_VERSION >= 0x040300]
15145 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15146 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15147 Likewise.
15148 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15149 Likewise.
15150 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15151 Likewise.
15152 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15153 Likewise.
15154 [__LINUX_KERNEL_VERSION >= 0x040300]
15155 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15156 [__LINUX_KERNEL_VERSION >= 0x040300]
15157 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15158 [__LINUX_KERNEL_VERSION >= 0x040300]
15159 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15160 [__LINUX_KERNEL_VERSION >= 0x040300]
15161 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15162 [__LINUX_KERNEL_VERSION >= 0x040300]
15163 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15164 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15165 Likewise.
15166 [__LINUX_KERNEL_VERSION >= 0x040300]
15167 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15168 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15169 Likewise.
15170 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15171 Likewise.
15172 [__LINUX_KERNEL_VERSION >= 0x040300]
15173 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15174 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15175 Likewise.
15176 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15177 Likewise.
15178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15179 (__ASSUME_SOCKET_SYSCALL): Likewise.
15180 (__ASSUME_BIND_SYSCALL): Likewise.
15181 (__ASSUME_CONNECT_SYSCALL): Likewise.
15182 (__ASSUME_LISTEN_SYSCALL): Likewise.
15183 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15184 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15185 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15186 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15187 (__ASSUME_SEND_SYSCALL): Likewise.
15188 (__ASSUME_SENDTO_SYSCALL): Likewise.
15189 (__ASSUME_RECV_SYSCALL): Likewise.
15190 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15191 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15192 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15193 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15194 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15195 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15196 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15197 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15198 Likewise.
15199 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15200 Likewise.
15201 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15202 Likewise.
15203 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15204 Likewise.
15205 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15206 Likewise.
15207 [__LINUX_KERNEL_VERSION >= 0x020625]
15208 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15209 [__LINUX_KERNEL_VERSION >= 0x020625]
15210 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15211 [__LINUX_KERNEL_VERSION >= 0x020625]
15212 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15213 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15214 Likewise.
15215 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15216 Likewise.
15217 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15218 Likewise.
15219 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15220 Likewise.
15221 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15222 Likewise.
15223 [__LINUX_KERNEL_VERSION >= 0x020625]
15224 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15225 [__LINUX_KERNEL_VERSION >= 0x020625]
15226 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15227 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15228 Likewise.
15229 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15230 Likewise.
15231
15232 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15233
15234 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15235 record the current if the current ABI and CPU support the FP64
15236 extension.
15237 (has-modd-spreg): Define to record the current if the current ABI and
15238 CPU support 32-bit floating point values in odd FPU registers.
15239 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15240 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15241 $(has-modd-spreg) equals yes.
15242 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15243 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15244 $(has-modd-spreg) equal yes.
15245
15246 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15247
15248 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15249 basename.
15250
15251 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15252
15253 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15254 (bench-string): ... here.
15255 (bench): Add bench-string.
15256 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15257 to *-benchset to reflect what they are.
15258 (benchset): Adjust.
15259
15260 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15261 cos-inputs.
15262
15263 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15264
15265 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15266 __attribute__ ((__simd__)) for vector math function declarations.
15267
15268 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15269
15270 Fix typo in strncat, wcsncat manual entries
15271 * manual/string.texi (Copying and Concatenation): Fix typos in
15272 sample implementations of strncat and wcsncat, by having them use
15273 the old value of the destination length, not the new one.
15274
15275 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15276
15277 [BZ #16961]
15278 [BZ #16962]
15279 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15280 string on the stack for strtod.
15281 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15282 a string on the stack for strtof.
15283 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15284 constructing a string on the stack for strtold.
15285 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15286 __strtold_nan to GLIBC_PRIVATE.
15287 * math/test-nan-overflow.c: New file.
15288 * math/test-nan-payload.c: Likewise.
15289 * math/Makefile (tests): Add test-nan-overflow and
15290 test-nan-payload.
15291
15292 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15293
15294 Consistency about byte vs character in string.texi
15295 * manual/string.texi (String and Array Utilities):
15296 Distinguish more carefully among bytes, multibyte characters,
15297 and wide characters. Use "byte" when talking about C 'char',
15298 to distinguish it more clearly from multibyte characters.
15299 Say "wide character" or "multibyte character" instead of
15300 "character", when a wide or multibyte character is intended.
15301 Similarly for "multibyte string" versus "string".
15302 Define these terms more carefully.
15303
15304 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15305
15306 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15307 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15308 Likewise.
15309 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15310 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15311 * sysdeps/sh/math_private.h: New file.
15312 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15313 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15314 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15315 long double function name.
15316 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15322 Remove __finitel, __isinfl, and __isnanl.
15323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15324 Likewise.
15325 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15327 Remove __finitel.
15328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15329 Likewise.
15330 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15331
15332 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15333
15334 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15335 installed libmvec_nonshared.a.
15336
15337 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15338
15339 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15340 (sysdep_routines): Likewise.
15341 (sysdep-rtld-routines): Likewise.
15342 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15343 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15344 * sysdeps/powerpc/Versions: Added new
15345 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15346 * sysdeps/powerpc/hwcapinfo.c: New file.
15347 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15348 and parse hwcap, hwcap2 and platform number information.
15349 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15350 to store HWCAP+HWCAP2 and platform number.
15351 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15352 for HWCAP+HWCAP2 and platform number in the TCB.
15353 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15354 the HWCAP, HWCAP2 and platform number in the TCB.
15355 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15356 (TLS_INIT_TP): Included calls to add the hwcap and
15357 at_platform values in the TCB in TP initialization.
15358 (TLS_DEFINE_INIT_TP): Likewise.
15359 (THREAD_GET_HWCAP): New macro.
15360 (THREAD_SET_HWCAP): Likewise.
15361 (THREAD_GET_AT_PLATFORM): Likewise.
15362 (THREAD_SET_AT_PLATFORM): Likewise.
15363 * sysdeps/powerpc/powerpc32/dl-machine.h:
15364 (dl_platform_init): New function that calls
15365 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15366 powerpc32.
15367 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15368 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15369 this functionality, static linking case.
15370 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15371 linking case.
15372 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15373 __parse_hwcap_and_convert_at_platform for the static linking case.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15375 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15376 ABI list for GLIBC 2.23.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15378 Likewise.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15380 Likewise.
15381
15382 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15383
15384 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15385 * configure: Regenerate.
15386 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15387 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15388
15389 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15390
15391 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15392 * iconvdata/ibm933.c: Likewise.
15393 * iconvdata/ibm935.c: Likewise.
15394 * iconvdata/ibm937.c: Likewise.
15395 * iconvdata/ibm939.c: Likewise.
15396
15397 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15398
15399 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15400 pthread_join.
15401 * nptl/tst-cancel21.c (tf): Likewise.
15402
15403 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 [BZ #19313]
15406 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15407 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15408 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15409 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15410 Likewise.
15411 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15412 Likewise.
15413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15414 Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15416 Likewise.
15417 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15418 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15419 unsigned long int with __CPU_MASK_TYPE.
15420
15421 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15422
15423 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15424
15425 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15426
15427 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15428 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15429 t512.x.
15430 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15431
15432 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15433
15434 [BZ #19214]
15435 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15436 argument to return extended model. Update family and model
15437 with extended family and model when family == 0x0f.
15438 (init_cpu_features): Updated.
15439
15440 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15441
15442 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15443 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15444
15445 * sysdeps/mach/hurd/mmap64.c: New file.
15446
15447 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15448
15449 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15450 rights for its main user thread in NEWTASK.
15451
15452 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15453
15454 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15455 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15456
15457 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15458
15459 [BZ #14259]
15460 * Makeconfig: Rename localedir to complocaledir.
15461 Rename inst_localedir to inst_complocaledir.
15462 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15463 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15464 * configure.ac: Use libc_cv_complocaledir.
15465 * configure: Regenerate.
15466 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15467 -DCOMPLOCALEDIR.
15468 * locale/findlocale.c: Use COMPLOCALEDIR.
15469 * locale/loadarchive.c: Likewise.
15470 * locale/programs/locale.c: Likewise.
15471 * locale/programs/localedef.c: Likewise.
15472 * locale/programs/locarchive.c: Likewise.
15473 * localedata/Makefile: Use inst_complocaledir.
15474 * sysdeps/gnu/configure: Regenerate.
15475 * sysdeps/hppa/configure: Regenerate.
15476 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15477 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15479 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15480 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15481 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15482 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15483
15484 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15485
15486 [BZ #19058]
15487 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15488 AS_NEEDED.
15489 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15490 workaround.
15491 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15492 libmvec-static-only-routines): Added new file.
15493 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15494
15495 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15496
15497 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15498 of interrupted RPC instead of restoring it.
15499
15500 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15501 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15502 libc_hidden_def.
15503 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15504 into initialized data instead of common. Define rtld_hidden_data_def.
15505 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15506 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15507 libc_hidden_def.
15508 (if_freenameindex): Add libc_hidden_weak.
15509 (if_nameindex): Add libc_hidden_weak.
15510 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15511 __open64.
15512 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15513 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15514 * sysdeps/mach/nanosleep.c: Include <time.h>
15515 (__nanosleep): Rename to __libc_nanosleep.
15516 (__nanosleep): Add weak_alias.
15517 (nanosleep): Update alias.
15518
15519 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15520
15521 * stdlib/strtod_nan.c: New file.
15522 * stdlib/strtod_nan_double.h: Likewise.
15523 * stdlib/strtod_nan_float.h: Likewise.
15524 * stdlib/strtod_nan_main.c: Likewise.
15525 * stdlib/strtod_nan_narrow.h: Likewise.
15526 * stdlib/strtod_nan_wide.h: Likewise.
15527 * stdlib/strtof_nan.c: Likewise.
15528 * stdlib/strtold_nan.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15531 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15532 * wcsmbs/wcstod_nan.c: Likewise.
15533 * wcsmbs/wcstof_nan.c: Likewise.
15534 * wcsmbs/wcstold_nan.c: Likewise.
15535 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15536 strtold_nan.
15537 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15538 wcstof_nan.
15539 * include/stdlib.h (__strtof_nan): Declare and use
15540 libc_hidden_proto.
15541 (__strtod_nan): Likewise.
15542 (__strtold_nan): Likewise.
15543 (__wcstof_nan): Likewise.
15544 (__wcstod_nan): Likewise.
15545 (__wcstold_nan): Likewise.
15546 * include/wchar.h (____wcstoull_l_internal): Declare.
15547 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15548 (____strtoull_l_internal): Remove declaration.
15549 (STRTOF_NAN): Define macro.
15550 (SET_MANTISSA): Remove macro.
15551 (STRTOULL): Likewise.
15552 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15553 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15554 (STRTOF_NAN): Define macro.
15555 (SET_MANTISSA): Remove macro.
15556 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15557 (SET_MANTISSA): Remove macro.
15558 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15559 macro.
15560 (SET_MANTISSA): Remove macro.
15561 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15562 macro.
15563 (SET_MANTISSA): Remove macro.
15564 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15565 (SET_MANTISSA): Remove macro.
15566 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15567 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15568 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15569
15570 [BZ #19266]
15571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15572 upper case and lower case letters inside NAN(), not using TOLOWER.
15573 * stdlib/tst-strtod-nan-locale-main.c: New file.
15574 * stdlib/tst-strtod-nan-locale.c: Likewise.
15575 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15576 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15577 Depend on $(gen-locales).
15578 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15579 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15580 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15581 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15582 Depend on $(gen-locales).
15583 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15584
15585 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15586
15587 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15588
15589 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15591 __finitel, __isinfl, and __isnanl.
15592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15593 Likewise.
15594 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15596 __finitel.
15597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15598 Likewise.
15599 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15600
15601 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15602
15603 * malloc/memusage.c (me): Remove redundant getenv call.
15604
15605 2015-10-24 Florian Weimer <fweimer@redhat.com>
15606
15607 [BZ #19143]
15608 [BZ #19164]
15609 * nptl/check-cpuset.h: Remove.
15610 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15611 Remove CPU set size check.
15612 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15613 Likewise.
15614 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15615 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15616 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15617 (__pthread_setaffinity_new): Remove CPU set size check.
15618 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15619 (__kernel_cpumask_size): Remove.
15620 (__sched_setaffinity_new): Remove CPU set size check.
15621 * manual/threads.texi (Default Thread Attributes): Remove stale
15622 reference to check_cpuset_attr, determine_cpumask_size in comment.
15623 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15624 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15625 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15626 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15627 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15628 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15629 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15630 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15631 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15632 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15633 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15634 skeleton test file.
15635 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15636 tst-affinity-pid.
15637
15638 2015-11-24 Florian Weimer <fweimer@redhat.com>
15639
15640 * scripts/update-abilist.sh: New file.
15641 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15642 * Makerules (update-all-abi-%, update-all-abi)
15643 (subdir_update-all-abi): New targets.
15644 * elf/Makefile (update-all-abi): New target.
15645
15646 2015-11-24 Florian Weimer <fweimer@redhat.com>
15647
15648 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15649 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15650 (__libc_lock_define_initialized): Use it.
15651 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15652 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15653 * malloc/malloc.c (main_arena): Likewise.
15654 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15655 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15656
15657 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15658
15659 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15660 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15661 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15662 (PTRACE_O_MASK): Update value.
15663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15664 New value in enum __ptrace_setoptions.
15665 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15666 (PTRACE_O_MASK): Update value.
15667 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15668 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15669 (PTRACE_O_MASK): Update value.
15670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15671 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15672 (PTRACE_O_MASK): Update value.
15673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15674 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15675 (PTRACE_O_MASK): Update value.
15676 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15677 New value in enum __ptrace_setoptions.
15678 (PTRACE_O_MASK): Update value.
15679 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15680 New value in enum __ptrace_setoptions.
15681 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15682 (PTRACE_O_MASK): Update value.
15683
15684 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15685 New macro.
15686 (PACKET_AUXDATA): Likewise.
15687 (PACKET_ORIGDEV): Likewise.
15688 (PACKET_VERSION): Likewise.
15689 (PACKET_HDRLEN): Likewise.
15690 (PACKET_RESERVE): Likewise.
15691 (PACKET_TX_RING): Likewise.
15692 (PACKET_LOSS): Likewise.
15693 (PACKET_VNET_HDR): Likewise.
15694 (PACKET_TX_TIMESTAMP): Likewise.
15695 (PACKET_TIMESTAMP): Likewise.
15696 (PACKET_FANOUT): Likewise.
15697 (PACKET_TX_HAS_OFF): Likewise.
15698 (PACKET_QDISC_BYPASS): Likewise.
15699 (PACKET_ROLLOVER_STATS): Likewise.
15700 (PACKET_FANOUT_DATA): Likewise.
15701 (PACKET_MR_UNICAST): Likewise.
15702
15703 [BZ #19242]
15704 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15705 (TOUPPER): Likewise.
15706 * stdlib/tst-strtol-locale-main.c: New file.
15707 * stdlib/tst-strtol-locale.c: Likewise.
15708 * stdlib/Makefile (tests): Add tst-strtol-locale.
15709 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15710 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15711 Depend on $(gen-locales).
15712 * wcsmbs/tst-wcstol-locale.c: New file.
15713 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15714 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15715 tr_TR.ISO-8859-9.
15716 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15717 Depend on $(gen-locales).
15718
15719 2015-11-20 Roland McGrath <roland@hack.frob.com>
15720
15721 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15722 __glibc_likely instead of __builtin_expect. After falling back to
15723 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15724 system interface to register the code pages as occupied.
15725
15726 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15727
15728 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15729 [!ARM_MATH_PRIVATE_H].
15730 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15731 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15732 [!HPPA_MATH_PRIVATE_H].
15733 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15734 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15735 to [!I386_MATH_PRIVATE_H].
15736 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15737 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15738 Change guard to [!M68K_MATH_PRIVATE_H].
15739 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15740 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15741 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15742 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15743 macro.
15744 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15745 [!MIPS_MATH_PRIVATE_H].
15746 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15747 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15748 [!NIO2_MATH_PRIVATE_H].
15749 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15750 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15751 [!TILE_MATH_PRIVATE_H].
15752 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15753
15754 [BZ #15421]
15755 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15756 initialize with 0 and define as weak alias of __signgam.
15757 * include/math.h [!_ISOMAC] (__signgam): Declare.
15758 * math/Makefile (libm-calls): Add w_lgamma_compat.
15759 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15760 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15761 test-signgam-ullong-init.
15762 (tests-static): Add test-signgam-uchar-static,
15763 test-signgam-uchar-init-static, test-signgam-uint-static,
15764 test-signgam-uint-init-static, test-signgam-ullong-static and
15765 test-signgam-ullong-init-static.
15766 (CFLAGS-test-signgam-uchar.c): New variable.
15767 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15768 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15769 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15770 (CFLAGS-test-signgam-uint.c): Likewise.
15771 (CFLAGS-test-signgam-uint-init.c): Likewise.
15772 (CFLAGS-test-signgam-uint-static.c): Likewise.
15773 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15774 (CFLAGS-test-signgam-ullong.c): Likewise.
15775 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15776 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15777 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15778 * math/Versions (libm): Add GLIBC_2.23.
15779 * math/lgamma-compat.h: New file.
15780 * math/test-signgam-main.c: Likewise.
15781 * math/test-signgam-uchar-init-static.c: Likewise.
15782 * math/test-signgam-uchar-init.c: Likewise.
15783 * math/test-signgam-uchar-static.c: Likewise.
15784 * math/test-signgam-uchar.c: Likewise.
15785 * math/test-signgam-uint-init-static.c: Likewise.
15786 * math/test-signgam-uint-init.c: Likewise.
15787 * math/test-signgam-uint-static.c: Likewise.
15788 * math/test-signgam-uint.c: Likewise.
15789 * math/test-signgam-ullong-init-static.c: Likewise.
15790 * math/test-signgam-ullong-init.c: Likewise.
15791 * math/test-signgam-ullong-static.c: Likewise.
15792 * math/test-signgam-ullong.c: Likewise.
15793 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15794 wrapper of w_lgamma_main.c.
15795 * math/w_lgamma_compat.c: New file.
15796 * math/w_lgamma_compatf.c: Likewise.
15797 * math/w_lgamma_compatl.c: Likewise.
15798 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15799 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15800 defining compatibility symbols.
15801 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15802 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15803 wrapper of w_lgammaf_main.c.
15804 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15805 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15806 defining compatibility symbols.
15807 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15808 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15809 wrapper of w_lgammal_main.c.
15810 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15811 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15812 defining compatibility symbols.
15813 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15814 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15815 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15816 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15817 <lgamma-compat.h>.
15818 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15819 (__ieee754_gamma): Define as alias.
15820 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15821 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15822 <lgamma-compat.h>.
15823 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15824 (__ieee754_gammaf): Define as alias.
15825 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15826 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15827 <lgamma-compat.h>.
15828 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15829 (__ieee754_gammal): Define as alias.
15830 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15831 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15832 <math/w_lgamma_compat.c>.
15833 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15834 Define as alias of __lgamma_compat and use in defining lgammal.
15835 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15836 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15837 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15838 (USE_AS_COMPAT): New macro.
15839 (LGAMMA_OLD_VER): Undefine and redefine.
15840 (lgammal): Do not define here.
15841 (gammal): Only define here if [GAMMA_ALIAS].
15842 * conform/linknamespace.pl (@whitelist): Remove signgam.
15843 * sysdeps/nacl/libm.abilist: Update.
15844 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15857 Likewise.
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15859 Likewise.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15861 Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15863 Likewise.
15864 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15870 Likewise.
15871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15872 Likewise.
15873 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15876
15877 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15878
15879 [BZ #16364]
15880 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15881 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15882
15883 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15884
15885 * sysdeps/s390/fpu/bits/mathinline.h:
15886 Use __asm__ [__volatile__] instead of asm [volatile].
15887 * sysdeps/s390/abort-instr.h: Likewise.
15888 * sysdeps/s390/atomic-machine.h: Likewise.
15889 * sysdeps/s390/bits/string.h: Likewise.
15890 * sysdeps/s390/dl-tls.h: Likewise.
15891 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15892 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15893 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15894 * sysdeps/s390/fpu/fesetround.c: Likewise.
15895 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15896 * sysdeps/s390/fpu/s_fma.c: Likewise.
15897 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15898 * sysdeps/s390/memusage.h: Likewise.
15899 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15900 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15901 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15902 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15903 * sysdeps/s390/nptl/tls.h: Likewise.
15904 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15905 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15906 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15907 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15908 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15909 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15910 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15911 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15912 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15913 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15914 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15915 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15916 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15917 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15918 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15919 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15920 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15921 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15922 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15924 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15926 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15927
15928 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15929 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15930
15931 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15932 Add lwarx hint, and use macro for acquire instruction.
15933 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15934 Likewise.
15935 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15936 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15937 update to use new atomic macros.
15938
15939 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15940
15941 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15942 (__lll_trylock_elision): Fix setting of adapt_count.
15943 * sysdeps/unix/sysv/linux/powerpc/htm.h
15944 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15945 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15946 (_ABORT_SYSCALL): Renumber, and clarify definition.
15947 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15948
15949 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15950
15951 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15952 after system headers to prevent MIN/MAX redefinition. Define
15953 HAVE_ALLOCA to preserve builtin alloca usage.
15954
15955 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15956
15957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15958 static and don't set or restore rounding.
15959 (__cos)[IN_SINCOS]: Likewise.
15960 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15961 (__sincos): Set and restore rounding mode. Remove check for infinite
15962 or NaN input.
15963
15964 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15965
15966 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15967 as used.
15968
15969 2015-11-16 Florian Weimer <fweimer@redhat.com>
15970
15971 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15972
15973 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * config.make.in (have-glob-dat-reloc): New.
15976 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15977 target supports GLOB_DAT relocaton. AC_SUBST.
15978 * configure: Regenerated.
15979 * elf/Makefile (tests): Add tst-prelink.
15980 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15981 (tst-prelink-ENV): New.
15982 ($(objpfx)tst-prelink-conflict.out): Likewise.
15983 ($(objpfx)tst-prelink-cmp.out): Likewise.
15984 * sysdeps/x86/tst-prelink.c: Moved to ...
15985 * elf/tst-prelink.c: Here.
15986 * sysdeps/x86/tst-prelink.exp: Moved to ...
15987 * elf/tst-prelink.exp: Here.
15988 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15989 (tst-prelink-ENV): Removed.
15990 ($(objpfx)tst-prelink-conflict.out): Likewise.
15991 ($(objpfx)tst-prelink-cmp.out): Likewise.
15992 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15993
15994 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15995
15996 [BZ #14551]
15997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15998 (__mpn_construct_long_double): If high part overflows to infinity,
15999 set errno and recompute overflowed result of the correct sign.
16000 * sysdeps/ieee754/ldbl-128ibm/Makefile
16001 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16002 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16003 $(libm).
16004 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16005
16006 2015-11-12 Joseph Myers <joseph@codesourcery.com>
16007
16008 [BZ #15479]
16009 [BZ #19238]
16010 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16011 floating-point state after first operation on input. Restore full
16012 state rather than just rounding mode.
16013 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16014 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16015 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16016
16017 [BZ #19235]
16018 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16019 add 0.5 to integer arguments.
16020 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16021 Likewise.
16022 (.LC2): New object.
16023
16024 2015-11-11 Mike Frysinger <vapier@gentoo.org>
16025
16026 * scripts/pylintrc (reports): Set to no.
16027
16028 2015-11-10 Roland McGrath <roland@hack.frob.com>
16029
16030 * elf/dl-load.c (open_verify): Take new argument FD.
16031 Skip __open call if passed FD is not -1.
16032 (_dl_map_object, open_path): Update callers.
16033 * elf/dl-sysdep-open.h: New file.
16034 * elf/dl-load.c: Include it.
16035 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16036 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16037 * sysdeps/nacl/dl-sysdep-open.h: New file.
16038 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16039 from libc to rtld.
16040
16041 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16042
16043 [BZ #19228]
16044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16045 and restore full floating-point state.
16046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16047 Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16049 Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16051 Likewise.
16052 * math/test-nearbyint-except-2.c: New file.
16053 * math/Makefile (tests): Add test-nearbyint-except-2.
16054
16055 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
16056
16057 [BZ #19178]
16058 * sysdeps/x86/Makefile (tests): Add tst-prelink.
16059 (tst-prelink-ENV): New.
16060 ($(objpfx)tst-prelink-conflict.out): Likewise.
16061 ($(objpfx)tst-prelink-cmp.out): Likewise.
16062 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16063 * sysdeps/x86/tst-prelink.c: New file.
16064 * sysdeps/x86/tst-prelink.exp: Likewise.
16065
16066 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16067
16068 * math/auto-libm-test-in: Add another test of pow.
16069 * math/auto-libm-test-out: Regenerated.
16070 * math/libm-test.inc (pow_test_data): Add another test.
16071
16072 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16073
16074 [BZ #19219]
16075 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16076 weak_alias to nearbyintl.
16077
16078 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16079
16080 * sysdeps/aarch64/bits/string.h: New file.
16081 (_STRING_ARCH_unaligned): Define.
16082
16083 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16084
16085 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16086 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16087 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16088 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16090
16091 2015-11-09 Ulrich Drepper <drepper@gmail.com>
16092
16093 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16094 for original name of the DSO. Add it to the name list of the DSO
16095 if it is actually given.
16096 (_dl_map_object): Keep track of whether an audit module rewrote
16097 the file name. If yes, pass the original name to
16098 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
16099 debugging is enabled, log the change of the file name.
16100 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16101 _dl_map_object_from_fd.
16102 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16103 * elf/tst-audit11.c: New file
16104 * elf/tst-auditmod11.c: New file.
16105 * elf/tst-audit11mod1.c: New file.
16106 * elf/tst-audit11mod2.c: New file.
16107 * elf/tst-audit11mod2.map: New file.
16108 * elf/tst-audit12.c: New file
16109 * elf/tst-auditmod12.c: New file.
16110 * elf/tst-audit12mod1.c: New file.
16111 * elf/tst-audit12mod2.c: New file.
16112 * elf/tst-audit12mod2.map: New file.
16113 * elf/tst-audit12mod3.c: New file.
16114
16115 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16116
16117 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16118 Don't create weak aliases,
16119 because versioned symbols are created later.
16120 * sysdeps/s390/s390-32/setjmp.S
16121 (setjmp, _setjmp): Remove weak and rename to an unique name
16122 in SHARED case due to existing versioned symbols.
16123 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16125 (getcontext): Create weak alias only in non SHARED case.
16126 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16127
16128 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16129
16130 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16131 (__ASSUME_*_SYSCALL) Define new macros.
16132 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16133 Remove socketcall syscalls.
16134 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16135 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16136 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16137 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16138 * sysdeps/unix/sysv/linux/send.c (__libc_send):
16139 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16140
16141 2015-11-09 Florian Weimer <fweimer@redhat.com>
16142
16143 [BZ #12926]
16144 Terminate process on invalid netlink response.
16145 * sysdeps/unix/sysv/linux/netlinkaccess.h
16146 (__netlink_assert_response): Declare.
16147 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16149 (sysdep_routines): Add netlink_assert_response.
16150 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16151 __netlink_assert_response.
16152 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16153 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16154 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16155 __netlink_assert_response.
16156
16157 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
16158
16159 [BZ #19178]
16160 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16161 (RTYPE_CLASS_PLT): Likewise.
16162 (RTYPE_CLASS_COPY): Likewise.
16163 (RTYPE_CLASS_TLS): Likewise.
16164 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16165 to set relocation type class for DL_DEBUG_PRELINK. Keep only
16166 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16167 DL_DEBUG_PRELINK.
16168
16169 2015-11-06 Joseph Myers <joseph@codesourcery.com>
16170
16171 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16172 calls with argument -0.5.
16173 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16174
16175 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16176 (libc_cv_z_nodlopen): Likewise.
16177 (libc_cv_z_initfirst): Likewise.
16178 * configure: Regenerated.
16179
16180 2015-11-06 Florian Weimer <fweimer@redhat.com>
16181
16182 Simplify abilist format to be line-based.
16183 * scripts/abilist.awk: Collect descriptors in the descs variable.
16184 (emit): Write descs variable and sort it
16185 externally, with sort.
16186 * sysdeps/**/*.abilist: Convert to new format.
16187
16188 2015-11-06 Mark Wielaard <mjw@redhat.com>
16189
16190 [BZ #11460]
16191 * io/Makefile (routines): Add fts64.
16192 (tests): Add tst-fts and tst-fts-lfs.
16193 (CFLAGS-fts64.c): New.
16194 * io/Versions (GLIBC_2.23): New.
16195 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16196 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16197 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16198 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16199 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16200 (FTSENT64): Likewise.
16201 (fts64_children): Likewise.
16202 (fts64_close): Likewise.
16203 (fts64_open): Likewise.
16204 (fts64_read): Likewise.
16205 (fts64_set): Likewise.
16206 * io/fts64.c: New file.
16207 * io/tst-fts.c: New test.
16208 * io/tst-fts-lfs.c: Likewise.
16209 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16210 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16211 fts64_set.
16212 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16226 Likewise.
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16228 Likewise.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16241 * sysdeps/wordsize-64/fts.c: New file.
16242 * sysdeps/wordsize-64/fts64.c: Likewise.
16243 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16244 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16245 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16246 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16247
16248 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16249
16250 * math/libm-test.inc (NON_FINITE): New macro.
16251 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16252 * math/gen-libm-test.pl (show_exceptions): Add argument
16253 $non_finite.
16254 (parse_args): Update call to show_exceptions.
16255 * math/test-math-finite.h: New file.
16256 * math/test-math-no-finite.h: Likewise.
16257 * math/test-double-finite.c: Likewise.
16258 * math/test-float-finite.c: Likewise.
16259 * math/test-ldouble-finite.c: Likewise.
16260 * math/test-double.c: Include "test-math-no-finite.h".
16261 * math/test-float.c: Include "test-math-no-finite.h".
16262 * math/test-ldouble.c: Include "test-math-no-finite.h".
16263 * math/test-math-inline.h (TEST_FINITE): New macro.
16264 * math/test-math-vector.h (TEST_FINITE): Likewise.
16265 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16266 (libm-tests): Add test-float-finite and test-double-finite.
16267 ($(objpfx)test-float-finite.o): New dependency on
16268 $(objpfx)libm-test.stmp.
16269 ($(objpfx)test-double-finite.o): Likewise.
16270 ($(objpfx)test-ldouble-finite.o): Likewise.
16271 (libm-test-no-inline-cflags): New variable.
16272 (libm-test-finite-cflags): Likewise.
16273 (CFLAGS-test-float-finite.c): Likewise.
16274 (CFLAGS-test-double-finite.c): Likewise.
16275 (CFLAGS-test-ldouble-finite.c): Likewise.
16276 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16277 (CFLAGS-test-double.c): Likewise.
16278 (CFLAGS-test-ldouble.c): Likewise.
16279
16280 2015-11-05 Roland McGrath <roland@hack.frob.com>
16281
16282 * io/fcntl.c (__fcntl): Add ... to prototype.
16283 * misc/ioctl.c (__ioctl): Likewise.
16284 * misc/syscall.c (syscall): Likewise.
16285
16286 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16287
16288 * scripts/list-fixed-bugs.py: New file.
16289
16290 [BZ #19213]
16291 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16292 returned for argument 1.
16293 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16294 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16295 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16296 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16297 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16298 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16299
16300 [BZ #19211]
16301 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16302 __USE_XOPEN], not if [!__USE_ISOC99].
16303 (lgammaf): Likewise.
16304 (lgammal): Likewise.
16305 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16306 (gammaf): Likewise.
16307 (gammal): Likewise.
16308 * math/test-signgam-finite-c11.c: New file.
16309 * math/test-signgam-finite-c99.c: Likewise.
16310 * math/test-signgam-finite.c: Likewise.
16311 * math/Makefile (tests): Add test-signgam-finite,
16312 test-signgam-finite-c99 and test-signgam-finite-c11.
16313 (CFLAGS-test-signgam-finite.c): New variable.
16314 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16315 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16316
16317 [BZ #19212]
16318 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16319 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16320 500].
16321 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16322 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16323 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16324 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16325 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16326 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16327 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16328 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16329 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16330 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16331
16332 [BZ #19209]
16333 * math/bits/math-finite.h (ldexp): Remove declaration.
16334 (ldexpf): Likewise.
16335 (ldexpl): Likewise.
16336
16337 [BZ #19205]
16338 * math/bits/math-finite.h (acosf): Condition declaration on
16339 [__USE_ISOC99].
16340 (acosl): Likewise.
16341 (acoshf): Likewise.
16342 (acoshl): Likewise.
16343 (asinf): Likewise.
16344 (asinl): Likewise.
16345 (atan2f): Likewise.
16346 (atan2l): Likewise.
16347 (atanhf): Likewise.
16348 (atanhl): Likewise.
16349 (coshf): Likewise.
16350 (coshl): Likewise.
16351 (expf): Likewise.
16352 (expl): Likewise.
16353 (fmodf): Likewise.
16354 (fmodl): Likewise.
16355 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16356 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16357 (j0l): Likewise.
16358 (y0f): Likewise.
16359 (y0l): Likewise.
16360 (j1f): Likewise.
16361 (j1l): Likewise.
16362 (y1f): Likewise.
16363 (y1l): Likewise.
16364 (jnf): Likewise.
16365 (jnl): Likewise.
16366 (ynf): Likewise.
16367 (ynl): Likewise.
16368 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16369 (lgammal_r): Likewise.
16370 (__lgamma_r_finite): New declaration.
16371 (__lgammaf_r_finite): Likewise.
16372 (__lgammal_r_finite): Likewise.
16373 (lgamma): Use __lgamma_r_finite.
16374 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16375 __lgammaf_r_finite.
16376 (lgammal): Condition definition on [__USE_ISOC99]. Use
16377 __lgammal_r_finite.
16378 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16379 __lgamma_r_finite.
16380 (gammaf): Condition definition on [__USE_ISOC99]. Use
16381 __lgammaf_r_finite.
16382 (gammal): Condition definition on [__USE_ISOC99]. Use
16383 __lgammal_r_finite.
16384 (logf): Condition declaration on [__USE_ISOC99].
16385 (logl): Likewise.
16386 (log10f): Likewise.
16387 (log10l): Likewise.
16388 (ldexpf): Likewise.
16389 (ldexpl): Likewise.
16390 (powf): Likewise.
16391 (powl): Likewise.
16392 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16393 __USE_ISOC99].
16394 (remainderf): Condition declaration on [__USE_ISOC99].
16395 (remainderl): Likewise.
16396 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16397 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16398 (scalbl): Likewise.
16399 (sinhf): Condition declaration on [__USE_ISOC99].
16400 (sinhl): Likewise.
16401 (sqrtf): Likewise.
16402 (sqrtl): Likewise.
16403
16404 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16405
16406 * sysdeps/arm/atomic-machine.h
16407 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16408 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16409 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16410 Remove conditional code.
16411 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16412 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16413 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16414 Change conditional to [__ASSEMBLER__].
16415 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16416 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16417 [!__ASSEMBLER__].
16418 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16419 code.
16420 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16421 conditional macro definitions.
16422 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16423 (__arch_compare_and_exchange_val_16_acq): Likewise.
16424 (__arch_compare_and_exchange_val_32_acq): Likewise.
16425 (atomic_exchange_and_add): Likewise.
16426 (atomic_add): Likewise.
16427 (atomic_add_negative): Likewise.
16428 (atomic_add_zero): Likewise.
16429 (atomic_bit_set): Likewise.
16430 (atomic_bit_test_set): Likewise.
16431 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16432 code unconditional.
16433 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16434
16435 * math/test-math-errno.h: New file.
16436 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16437 empty.
16438 (TEST_ERRNO): New macro.
16439 (TEST_EXCEPTIONS): Likewise.
16440 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16441 (TEST_EXCEPTIONS): Likewise.
16442 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16443 * math/test-double.c: Include "test-math-errno.h".
16444 * math/test-float.c: Likewise.
16445 * math/test-ldouble.c: Likewise.
16446 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16447 code unconditional.
16448 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16449 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16450 unconditional.
16451 (test_errno): Only run code if TEST_ERRNO.
16452 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16453
16454 2015-11-04 Florian Weimer <fweimer@redhat.com>
16455
16456 * nptl/tst-once5.cc: Remove attribution.
16457
16458 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16459
16460 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16461 sqrt, tan, tanh, y0, y1 and yn.
16462 * math/auto-libm-test-out: Regenerated.
16463 * math/libm-test.inc (scalb_test_data): Add more tests.
16464 (scalbn_test_data): Likewise.
16465 (scalbln_test_data): Likewise.
16466 (signbit_test_data): Likewise.
16467 (sin_test_data): Likewise.
16468 (sincos_test_data): Likewise.
16469 (sinh_test_data): Likewise.
16470 (sqrt_test_data): Likewise.
16471 (tan_test_data): Likewise.
16472 (tanh_test_data): Likewise.
16473 (tgamma_test_data): Likewise.
16474 (y0_test_data): Likewise.
16475 (y1_test_data): Likewise.
16476 (yn_test_data): Likewise.
16477 (significand_test_data): Likewise.
16478 * sysdeps/i386/fpu/libm-test-ulps: Update.
16479
16480 2015-11-03 David Kastrup <dak@gnu.org>
16481
16482 [BZ #18604]
16483 * assert/assert.h (assert): Don't macro-expand failed assertion
16484 expression in error message.
16485 * malloc/malloc.c (assert): Likewise.
16486
16487 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16488
16489 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16490 test.
16491 * configure: Regenerated.
16492
16493 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16494
16495 * math/libm-test.inc (modf_test_data): Add more tests.
16496 (nearbyint_test_data): Likewise.
16497 (nextafter_test_data): Likewise.
16498 (nexttoward_test_data): Likewise.
16499 (pow_test_data): Likewise.
16500 (remainder_test_data): Likewise.
16501 (remquo_test_data): Likewise.
16502 (rint_test_data): Likewise.
16503
16504 [BZ #19201]
16505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16506 Check for zero remainder in case of large exponents and ensure
16507 correct sign of result in that case.
16508 * math/libm-test.inc (remainder_test_data): Add more tests.
16509
16510 [BZ #6799]
16511 * math/s_nextafter.c: Include <errno.h>.
16512 (__nextafter): Set errno on overflow and underflow.
16513 * math/s_nexttowardf.c: Include <errno.h>.
16514 (__nexttowardf): Set errno on overflow and underflow.
16515 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16516 (__nextafterl): Set errno on overflow and underflow.
16517 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16518 (__nexttoward): Set errno on overflow and underflow.
16519 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16520 (__nexttowardf): Set errno on overflow and underflow.
16521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16522 (__nextafterf): Set errno on overflow and underflow.
16523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16524 (__nextafterl): Set errno on overflow and underflow.
16525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16526 (__nexttoward): Set errno on overflow and underflow.
16527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16528 (__nexttowardf): Set errno on overflow and underflow.
16529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16530 (__nextafterl): Set errno on overflow and underflow.
16531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16532 (__nexttoward): Set errno on overflow and underflow.
16533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16534 (__nexttowardf): Set errno on overflow and underflow.
16535 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16536 (__nexttoward): Set errno on overflow and underflow.
16537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16538 (__nexttowardf): Set errno on overflow and underflow.
16539 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16540 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16541 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16542 (__nextafterl): Set errno on overflow and underflow.
16543 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16544 setting to be missing on overflow. Add more tests.
16545 (nexttoward_test_data): Likewise.
16546
16547 * configure.ac (libc_cv_initfini_array): Remove configure test.
16548 * configure: Regenerated.
16549
16550 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16551
16552 [BZ #19189]
16553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16554 non-finite argument handle arguments with negative sign.
16555
16556 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16557 result from infinite argument.
16558 (j1_test_data): Likewise.
16559 (jn_test_data): Likewise.
16560 (y0_test_data): Likewise.
16561 (y1_test_data): Likewise.
16562 (yn_test_data): Likewise.
16563
16564 [BZ #16171]
16565 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16566 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16567 * math/w_remainderf.c (dremf): Define as weak alias of
16568 __remainderf.
16569 * math/w_remainderl.c (dreml): Define as weak alias of
16570 __remainderl.
16571 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16572 __remainder.
16573 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16574 __remainderf.
16575 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16576 __remainderl.
16577 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16578 weak alias of remainderl.
16579 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16580 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16581 alias of __remainder.
16582 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16583 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16584 strong alias of __remainderl.
16585 (dreml): Use long_double_symbol.
16586 * math/Makefile (libm-calls): Remove w_drem.
16587 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16588 (CFLAGS-nldbl-drem.c): Remove variable.
16589 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16590 * math/w_drem.c: Remove file.
16591 * math/w_dremf.c: Likewise.
16592 * math/w_dreml.c: Likewise.
16593 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16594 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16595 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16596
16597 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16598 * sysdeps/i386/configure: Regenerated.
16599 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16600 * sysdeps/x86_64/configure: Regenerated.
16601
16602 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16603 test.
16604 (libc_cv_visibility_attribute): Likewise.
16605 (libc_cv_protected_data): Test unconditionally.
16606 (libc_cv_broken_visibility_attribute): Remove configure test.
16607 (libc_cv_have_sdata_section): Test unconditionally.
16608 * configure: Regenerated.
16609
16610 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16611 * include/scratch_buffer.h: Include <stddef.h> instead of
16612 <libc-internal.h>.
16613 (struct scratch_buffer): Use max_align_t instead of
16614 libc_max_align_t.
16615
16616 2015-10-29 Florian Weimer <fweimer@redhat.com>
16617
16618 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16619 instead of extend_alloca. Change control flow to avoid a goto.
16620 Remove assert which is trivially always true.
16621
16622 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16623
16624 [BZ #16068]
16625 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16626 (FE_ALL_EXCEPT_X86): New macro.
16627 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16628 FE_ALL_EXCEPT. Ensure precision control is included in
16629 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16630 handle "denormal operand exception" and clear FZ and DAZ bits.
16631 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16632 (FE_ALL_EXCEPT_X86): New macro.
16633 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16634 FE_ALL_EXCEPT. Ensure precision control is included in
16635 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16636 handle "denormal operand exception" and clear FZ and DAZ bits.
16637 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16638 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16639 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16640 test-fenv-x87 and test-fenv-sse-2.
16641 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16642
16643 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16644 * math/test-double.h (BUILD_COMPLEX): New macro.
16645 * math/test-float.h (BUILD_COMPLEX): Likewise.
16646 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16647
16648 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16649 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16650 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16652 instead of DBL_DENORM_MIN in comment.
16653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16654 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16656 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16658 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16659
16660 2015-10-28 Florian Weimer <fweimer@redhat.com>
16661
16662 [BZ# 19048]
16663 * malloc/malloc.c (struct malloc_state): Update comment. Add
16664 attached_threads member.
16665 (main_arena): Initialize attached_threads.
16666 * malloc/arena.c (list_lock): Update comment.
16667 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16668 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16669 (deattach_arena): New function.
16670 (_int_new_arena): Initialize arena reference count and deattach
16671 replaced arena.
16672 (get_free_list, reused_arena): Update reference count and deattach
16673 replaced arena.
16674 (arena_thread_freeres): Update arena reference count and only put
16675 unreferenced arenas on the free list.
16676
16677 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16678
16679 [BZ #19181]
16680 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16681 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16682 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16683 * math/test-fenv-clear-main.c: New file.
16684 * math/test-fenv-clear.c: Likewise.
16685 * math/Makefile (tests): Add test-fenv-clear.
16686 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16687 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16688 test-fenv-clear-sse.
16689 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16690
16691 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16692 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16693 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16694
16695 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16696
16697 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16698 static libc.
16699
16700 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16701
16702 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16703 test.
16704 * sysdeps/i386/configure: Regenerated.
16705 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16706 test.
16707 * sysdeps/x86_64/configure: Regenerated.
16708 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16710 memset-avx2 unconditionally instead of conditionally on
16711 [$(config-cflags-avx2) = yes].
16712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16713 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16714 unconditional.
16715 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16716 * sysdeps/x86_64/multiarch/memset_chk.S
16717 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16718 to [IS_IN (libc) && SHARED].
16719
16720 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16721
16722 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16723 configure test.
16724 * sysdeps/arm/configure: Regenerated.
16725 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16726 Define variable if not already defined.
16727
16728 [BZ #17404]
16729 * sysdeps/mips/atomic-machine.h
16730 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16731 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16732 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16733
16734 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16735 unconditional.
16736 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16737 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16738 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16739 unconditional.
16740 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16741 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16742 unconditional.
16743 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16744 * stdlib/setenv.c
16745 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16746 code unconditional.
16747 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16748 Remove conditional code.
16749 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16750 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16751 unconditional.
16752 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16753 code.
16754 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16755 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16756 unconditional.
16757 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16758 code.
16759 * sysdeps/ieee754/ldbl-128/k_tanl.c
16760 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16761 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16762 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16763 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16764 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16766 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16767 unconditional.
16768 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16769 code.
16770 * sysdeps/ieee754/ldbl-96/k_tanl.c
16771 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16772 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16773
16774 * nptl/tst-initializers1-c11.c: New file.
16775 * nptl/tst-initializers1-gnu11.c: Likewise.
16776 * nptl/Makefile (tests): Add these new tests.
16777 (CFLAGS-tst-initializers1-c11.c): New variable.
16778 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16779
16780 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16781 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16782 instead of -std=gnu99.
16783 * configure.ac (systemtap): Test with -std=gnu11 instead of
16784 -std=gnu99.
16785 * configure: Regenerated.
16786 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16787 in compilation command in comment.
16788
16789 * sysdeps/nptl/configure.ac: Remove file.
16790 * sysdeps/nptl/configure: Remove generated file.
16791 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16792 * configure: Regenerated.
16793 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16794 * config.make.in (have-forced-unwind): Remove variable.
16795 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16796 unconditional.
16797 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16798 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16799 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16800 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16801 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16802 unconditional.
16803
16804 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16805
16806 [BZ #19174]
16807 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16808 .skip_lock_out_of_tbegin_retries.
16809 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16810 (__lll_lock_elision): Likewise, and respect a value of
16811 try_tbegin <= 0.
16812
16813 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16814
16815 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16816 statement.
16817
16818 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16819
16820 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16821 variable.
16822 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16823 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16824
16825 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16826 of -std=c1x -D_ISOC11_SOURCE.
16827
16828 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16829 * configure: Regenerated.
16830 * manual/install.texi (Tools for Compilation): Document
16831 requirement for GCC 4.7 or later.
16832 * INSTALL: Regenerated.
16833
16834 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16835
16836 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16837 on CNT to a conditional jump to 'puntdata'.
16838
16839 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16840
16841 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16842 (libc_cv_gcc_tls_model_attr): Likewise.
16843 * configure: Regenerated.
16844
16845 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16846 * configure: Regenerated.
16847 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16848
16849 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16850
16851 * configure.ac (old_glibc_headers): Remove configure test.
16852 * configure: Regenerated.
16853 * config.make.in (old-glibc-headers): Remove variable.
16854 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16855 (install): Remove dependency on remove-old-headers.
16856 (headers2_0): Remove variable.
16857 (remove-old-headers): Remove rule.
16858
16859 * configure.ac (libc_cv_dot_text): Remove configure test.
16860 (libc_cv_asm_set_directive): Use .text instead of
16861 ${libc_cv_dot_text} in configure test.
16862 * configure: Regenerated.
16863
16864 2015-10-26 Florian Weimer <fweimer@redhat.com>
16865
16866 [BZ #19168]
16867 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16868
16869 2015-10-26 Florian Weimer <fweimer@redhat.com>
16870
16871 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16872 not support static linking.
16873 * configure: Regenerate.
16874
16875 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16876
16877 * math/libm-test.inc (check_float_internal): Do not special-case
16878 errors up to 0.5 ulp.
16879
16880 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16881 log2.
16882 * math/auto-libm-test-out: Regenerated.
16883 * math/libm-test.inc (MAX_EXP): New macro.
16884 (ilogb_test_data): Add more tests.
16885 (isfinite_test_data): Likewise.
16886 (isgreater_test_data): Likewise.
16887 (isgreaterequal_test_data): Likewise.
16888 (isinf_test_data): Likewise.
16889 (isless_test_data): Likewise.
16890 (islessequal_test_data): Likewise.
16891 (islessgreater_test_data): Likewise.
16892 (isnan_test_data): Likewise.
16893 (isnormal_test_data): Likewise.
16894 (issignaling_test_data): Likewise.
16895 (isunordered_test_data): Likewise.
16896 (j0_test_data): Likewise.
16897 (j1_test_data): Likewise.
16898 (jn_test_data): Likewise.
16899 (lgamma_test_data): Likewise.
16900 (log_test_data): Likewise.
16901 (log10_test_data): Likewise.
16902 (log1p_test_data): Likewise.
16903 (log2_test_data): Likewise.
16904 (logb_test_data): Likewise.
16905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16906
16907 [BZ #18611]
16908 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16909 avoid excess range and precision on underflow.
16910 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16911 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16912 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16913 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16914 underflow.
16915 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16917 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16919 * math/auto-libm-test-in: Do not allow missing errno setting for
16920 tests of j1 and jn.
16921 * math/auto-libm-test-out: Regenerated.
16922
16923 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16924
16925 [BZ #15491]
16926 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16927 floating-point environment instead of clearing all exceptions.
16928 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16929 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16930 merging in "invalid" exceptions from frndint.
16931 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16932 * math/test-nearbyint-except.c: New file.
16933 * math/Makefile (tests): Add test-nearbyint-except.
16934
16935 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16936
16937 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16938
16939 * sysdeps/tile/libm-test-ulps: Regenerated.
16940
16941 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16942
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16944 (__NR_sync_file_range2): Assume it is always defined.
16945 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16946 (__NR_sync_file_range): Assume it is always defined.
16947
16948 2015-10-22 Andreas Schwab <schwab@suse.de>
16949
16950 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16951 INTERNAL_SYSCALL_ERRNO.
16952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16953 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16955 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16956 Likewise.
16957 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16958
16959 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16960
16961 * io/tst-fcntl.c (fd): New static variable.
16962 (do_prepare): Open temporary file here....
16963 (do_test): ...not here.
16964
16965 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16966
16967 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16968
16969 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16970 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16971 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16972 Moved before "#ifdef __ASSEMBLER__".
16973
16974 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16975
16976 [BZ #19156]
16977 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16978 arguments very close to 0.
16979
16980 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16981
16982 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16983 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16984
16985 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16988 New. Defined for GCC 5 and above when not compiling for
16989 profiling.
16990 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16991
16992 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16993 Renamed to ...
16994 (CFLAGS-epoll_pwait.o): This.
16995 (CFLAGS-mmap.c): Renamed to ...
16996 (CFLAGS-mmap.o): This.
16997 (CFLAGS-mmap64.c): Renamed to ...
16998 (CFLAGS-mmap64.o): This.
16999 (CFLAGS-epoll_pwait.os): New.
17000 (CFLAGS-mmap.os): Likewise.
17001 (CFLAGS-mmap64.os): Likewise.
17002 (CFLAGS-semtimedop.os): Likewise.
17003 (CFLAGS-semtimedop.c): Renamed to ...
17004 (CFLAGS-semtimedop.o): This.
17005
17006 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17007
17008 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17009 warning message.
17010
17011 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17012
17013 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17014 * Makefile ($(objpfx)c++-types-check.out): Filter out
17015 $(+gccwarn-c) instead of -Wstrict-prototypes.
17016
17017 * io/fts.c (fts_open): Convert to prototype-style function
17018 definition.
17019 * malloc/mcheck.c (mcheck): Likewise.
17020 (mcheck_pedantic): Likewise.
17021 * posix/regexec.c (re_search_2_stub): Likewise. Use
17022 internal_function.
17023 (re_search_internal): Likewise.
17024 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17025 prototype-style function definition.
17026 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17027 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17028 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17029 (xdr_utmpptr): Likewise.
17030 (xdr_utmparr): Likewise.
17031 (xdr_utmpidle): Likewise.
17032 (xdr_utmpidleptr): Likewise.
17033 (xdr_utmpidlearr): Likewise.
17034
17035 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17036 log, log10 and log2.
17037 * math/auto-libm-test-out: Regenerated.
17038 * math/libm-test.inc (fmod_test_data): Add more tests.
17039 (fpclassify_test_data): Likewise.
17040 (frexp_test_data): Likewise.
17041 (hypot_test_data): Likewise.
17042 (ilogb_test_data): Likewise.
17043
17044 2015-10-20 Joseph Myers <joseph@codesourcery.com>
17045
17046 * debug/fortify_fail.c (__fortify_fail): Convert to
17047 prototype-style function definition. Use internal_function.
17048 * libio/genops.c (save_for_backup): Convert to prototype-style
17049 function definition.
17050 * libio/wgenops.c (save_for_wbackup): Likewise.
17051 * login/grantpt.c (grantpt): Likewise.
17052 * login/ptsname.c (ptsname): Likewise.
17053 (__ptsname_r): Likewise.
17054 * login/unlockpt.c (unlockpt): Likewise.
17055 * mach/msgserver.c (__mach_msg_server): Likewise.
17056 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17057 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17058 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17059 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17060 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17061 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17062 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17063 Likewise.
17064 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
17065 internal_function.
17066 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17067 prototype-style function definition.
17068 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17069 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17070 (__pthread_create_2_0): Likewise.
17071 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17072 * nptl/register-atfork.c (__register_atfork): Likewise.
17073 * posix/glob.c (glob): Likewise.
17074 * posix/regcomp.c (re_comp): Likewise.
17075 * posix/regexec.c (re_exec): Likewise.
17076 * stdlib/add_n.c [__STDC__]: Make code unconditional.
17077 [!__STDC__]: Remove conditional code.
17078 * stdlib/cmp.c [__STDC__]: Make code unconditional.
17079 [!__STDC__]: Remove conditional code.
17080 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17081 [!__STDC__]: Remove conditional code.
17082 * stdlib/divrem.c [__STDC__]: Make code unconditional.
17083 [!__STDC__]: Remove conditional code.
17084 * stdlib/lshift.c [__STDC__]: Make code unconditional.
17085 [!__STDC__]: Remove conditional code.
17086 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17087 [!__STDC__]: Remove conditional code.
17088 * stdlib/mul.c [__STDC__]: Make code unconditional.
17089 [!__STDC__]: Remove conditional code.
17090 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17091 [!__STDC__]: Remove conditional code.
17092 * stdlib/rshift.c [__STDC__]: Make code unconditional.
17093 [!__STDC__]: Remove conditional code.
17094 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17095 function definition.
17096 (STRTOF): Likewise.
17097 * stdlib/strtod_l.c (__STRTOF): Likewise.
17098 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17099 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17100 (__strtol_l): Likewise.
17101 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17102 [!__STDC__]: Remove conditional code.
17103 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17104 definition.
17105 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17106 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17107 type.
17108 (__strcasecmp): Convert to prototype-style function definition.
17109 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17110 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17111 type.
17112 (__strncasecmp): Convert to prototype-style function definition.
17113 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17114 * sunrpc/xdr.c (xdr_union): Likewise.
17115 * sunrpc/xdr_array.c (xdr_array): Likewise.
17116 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17117 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17118 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17119 Likewise.
17120 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17121 Likewise.
17122 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17123 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17124 Likewise.
17125 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17126 (LOCALE_PARAM_PROTO): Likewise.
17127 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17128 argument type.
17129 (ut_argument_spec): Remove macro.
17130 (ut_argument_spec_iso): Rename to ut_argument_spec.
17131 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
17132 prototype-style function definition.
17133 (memcpy_uppcase): Likewise.
17134 (__strftime_internal): Likewise.
17135 (my_strftime): Likewise.
17136 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17137 (LOCALE_PARAM_DECL): Likewise.
17138 [_LIBC] (LOCALE_PARAM): Include argument type.
17139 (__strptime_internal): Convert to prototype-style function
17140 definition.
17141 (strptime): Likewise.
17142 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17143 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17144 type.
17145 (__wcscasecmp): Convert to prototype-style function definition.
17146 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17147 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17148 type.
17149 (__wcsncasecmp): Convert to prototype-style function definition.
17150
17151 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17152 function definition.
17153 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17154 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17155 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17156 * elf/dl-minimal.c (_itoa): Likewise.
17157 * hurd/hurdmalloc.c (malloc): Likewise.
17158 (free): Likewise.
17159 (realloc): Likewise.
17160 * inet/inet6_option.c (inet6_option_space): Likewise.
17161 (inet6_option_init): Likewise.
17162 (inet6_option_append): Likewise.
17163 (inet6_option_alloc): Likewise.
17164 (inet6_option_next): Likewise.
17165 (inet6_option_find): Likewise.
17166 * io/ftw.c (FTW_NAME): Likewise.
17167 (NFTW_NAME): Likewise.
17168 (NFTW_NEW_NAME): Likewise.
17169 (NFTW_OLD_NAME): Likewise.
17170 * libio/iofwide.c (_IO_fwide): Likewise.
17171 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17172 (_IO_str_init_static): Likewise.
17173 (_IO_str_init_readonly): Likewise.
17174 (_IO_str_overflow): Likewise.
17175 (_IO_str_underflow): Likewise.
17176 (_IO_str_count): Likewise.
17177 (_IO_str_seekoff): Likewise.
17178 (_IO_str_pbackfail): Likewise.
17179 (_IO_str_finish): Likewise.
17180 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17181 (_IO_wstr_overflow): Likewise.
17182 (_IO_wstr_underflow): Likewise.
17183 (_IO_wstr_count): Likewise.
17184 (_IO_wstr_seekoff): Likewise.
17185 (_IO_wstr_pbackfail): Likewise.
17186 (_IO_wstr_finish): Likewise.
17187 * locale/programs/localedef.c (normalize_codeset): Likewise.
17188 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17189 (add_locales_to_archive): Likewise.
17190 (delete_locales_from_archive): Likewise.
17191 * malloc/malloc.c (__libc_mallinfo): Likewise.
17192 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17193 * misc/tsearch.c (__tfind): Likewise.
17194 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17195 * nptl/pthread_attr_getdetachstate.c
17196 (__pthread_attr_getdetachstate): Likewise.
17197 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17198 Likewise.
17199 * nptl/pthread_attr_getinheritsched.c
17200 (__pthread_attr_getinheritsched): Likewise.
17201 * nptl/pthread_attr_getschedparam.c
17202 (__pthread_attr_getschedparam): Likewise.
17203 * nptl/pthread_attr_getschedpolicy.c
17204 (__pthread_attr_getschedpolicy): Likewise.
17205 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17206 Likewise.
17207 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17208 Likewise.
17209 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17210 Likewise.
17211 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17212 Likewise.
17213 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17214 (__pthread_attr_init_2_0): Likewise.
17215 * nptl/pthread_attr_setdetachstate.c
17216 (__pthread_attr_setdetachstate): Likewise.
17217 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17218 Likewise.
17219 * nptl/pthread_attr_setinheritsched.c
17220 (__pthread_attr_setinheritsched): Likewise.
17221 * nptl/pthread_attr_setschedparam.c
17222 (__pthread_attr_setschedparam): Likewise.
17223 * nptl/pthread_attr_setschedpolicy.c
17224 (__pthread_attr_setschedpolicy): Likewise.
17225 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17226 Likewise.
17227 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17228 Likewise.
17229 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17230 Likewise.
17231 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17232 Likewise.
17233 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17234 Likewise.
17235 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17236 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17237 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17238 use internal_function.
17239 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17240 prototype-style function definition.
17241 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17242 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17243 internal_function.
17244 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17245 Convert to prototype-style function definition.
17246 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17247 Likewise.
17248 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17249 Likewise.
17250 (__pthread_mutex_unlock): Likewise.
17251 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17252 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17253 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17254 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17255 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17256 * nss/makedb.c (process_input): Likewise.
17257 * posix/fnmatch.c (__strchrnul): Likewise.
17258 (__wcschrnul): Likewise.
17259 (fnmatch): Likewise.
17260 * posix/fnmatch_loop.c (FCT): Likewise.
17261 * posix/glob.c (globfree): Likewise.
17262 (__glob_pattern_type): Likewise.
17263 (__glob_pattern_p): Likewise.
17264 * posix/regcomp.c (re_compile_pattern): Likewise.
17265 (re_set_syntax): Likewise.
17266 (re_compile_fastmap): Likewise.
17267 (regcomp): Likewise.
17268 (regerror): Likewise.
17269 (regfree): Likewise.
17270 * posix/regexec.c (regexec): Likewise.
17271 (re_match): Likewise.
17272 (re_search): Likewise.
17273 (re_match_2): Likewise.
17274 (re_search_2): Likewise.
17275 (re_search_stub): Likewise. Use internal_function
17276 (re_copy_regs): Likewise.
17277 (re_set_registers): Convert to prototype-style function
17278 definition.
17279 (prune_impossible_nodes): Likewise. Use internal_function.
17280 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17281 prototype-style function definition.
17282 (inet_net_pton_ipv4): Likewise.
17283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17284 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17285 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17286 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17287 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17288 Make variadic.
17289 * time/strptime_l.c (localtime_r): Convert to prototype-style
17290 function definition.
17291 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17292 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17293 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17294 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17295
17296 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17297 definition.
17298 (_ufc_doit_r): Likewise.
17299 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17300 (_ufc_output_conversion_r): Likewise.
17301 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17302 * inet/rcmd.c (rcmd_af): Likewise.
17303 (rcmd): Likewise.
17304 (ruserok_af): Likewise.
17305 (ruserok): Likewise.
17306 (ruserok2_sa): Likewise.
17307 (ruserok_sa): Likewise.
17308 (iruserok_af): Likewise.
17309 (iruserok): Likewise.
17310 (__ivaliduser): Likewise.
17311 (__validuser2_sa): Likewise.
17312 * inet/rexec.c (rexec_af): Likewise.
17313 (rexec): Likewise.
17314 * inet/ruserpass.c (ruserpass): Likewise.
17315 * locale/programs/xmalloc.c (xcalloc): Likewise.
17316 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17317 * math/w_drem.c (__drem): Likewise.
17318 * math/w_dremf.c (__dremf): Likewise.
17319 * math/w_dreml.c (__dreml): Likewise.
17320 * misc/daemon.c (daemon): Likewise.
17321 * resolv/res_debug.c (p_fqnname): Likewise.
17322 * stdlib/div.c (div): Likewise.
17323 * string/memcmp.c (memcmp_bytes): Likewise.
17324 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17325 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17326
17327 * crypt/cert.c (main): Convert to prototype-style function
17328 definition.
17329 * io/pipe.c (__pipe): Likewise.
17330 * io/pipe2.c (__pipe2): Likewise.
17331 * misc/futimesat.c (futimesat): Likewise.
17332 * misc/utimes.c (__utimes): Likewise.
17333 * posix/execve.c (__execve): Likewise.
17334 * posix/execvp.c (execvp): Likewise.
17335 * posix/execvpe.c (__execvpe): Likewise.
17336 * posix/fexecve.c (fexecve): Likewise.
17337 * socket/socketpair.c (socketpair): Likewise.
17338 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17339 * stdlib/erand48.c (erand48): Likewise.
17340 * stdlib/erand48_r.c (__erand48_r): Likewise.
17341 * stdlib/jrand48.c (jrand48): Likewise.
17342 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17343 * stdlib/lcong48.c (lcong48): Likewise.
17344 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17345 * stdlib/nrand48.c (nrand48): Likewise.
17346 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17347 * stdlib/seed48.c (seed48): Likewise.
17348 * stdlib/seed48_r.c (__seed48_r): Likewise.
17349 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17350 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17351 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17352
17353 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17354
17355 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17356 * configure: Regenerated.
17357 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17358 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17359 unconditional.
17360 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17361 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17362 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17363 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17364 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17365 unconditional.
17366 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17367
17368 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17369 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17370
17371 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17372 function definition.
17373 * crypt/crypt_util.c (__encrypt_r): Likewise.
17374 * libio/genops.c (_IO_no_init): Likewise.
17375 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17376 (_IO_old_fopencookie): Likewise.
17377 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17378 * libio/iogetline.c (_IO_getline): Likewise.
17379 (_IO_getline_info): Likewise.
17380 * libio/iogetwline.c (_IO_getwline): Likewise.
17381 (_IO_getwline_info): Likewise.
17382 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17383 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17384 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17385 (find_entry): Likewise.
17386 (iterate_table): Likewise.
17387 (lookup): Likewise.
17388 * login/forkpty.c (forkpty): Likewise.
17389 * misc/hsearch_r.c (__hsearch_r): Likewise.
17390 * misc/select.c (__select): Likewise.
17391 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17392 Likewise.
17393 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17394 Likewise.
17395 * nptl/old_pthread_cond_timedwait.c
17396 (__pthread_cond_timedwait_2_0): Likewise.
17397 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17398 * nptl/pthread_barrierattr_getpshared.c
17399 (pthread_barrierattr_getpshared): Likewise.
17400 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17401 Likewise.
17402 * nptl/pthread_mutex_setprioceiling.c
17403 (pthread_mutex_setprioceiling): Likewise.
17404 * nptl/pthread_mutexattr_getprioceiling.c
17405 (pthread_mutexattr_getprioceiling): Likewise.
17406 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17407 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17408 Likewise.
17409 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17410 Likewise.
17411 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17412 Likewise.
17413 * socket/recvfrom.c (__recvfrom): Likewise.
17414 * socket/sendto.c (__sendto): Likewise.
17415 * socket/setsockopt.c (__setsockopt): Likewise.
17416 * stdio-common/_itoa.c (_itoa): Likewise.
17417 * stdio-common/_itowa.c (_itowa): Likewise.
17418 * stdio-common/reg-printf.c (__register_printf_specifier):
17419 Likewise.
17420 (__register_printf_function): Likewise.
17421 * stdio-common/tempname.c (__path_search): Likewise.
17422 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17423 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17424 * stdlib/random_r.c (__initstate_r): Likewise.
17425 * stdlib/setenv.c (__add_to_environ): Likewise.
17426 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17427 * streams/getpmsg.c (getpmsg): Likewise.
17428 * streams/putmsg.c (putmsg): Likewise.
17429 * streams/putpmsg.c (putpmsg): Likewise.
17430 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17431 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17432 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17433 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17434 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17435 * sunrpc/svc_udp.c (cache_get): Likewise.
17436 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17437 * sysdeps/mach/hurd/getcwd.c
17438 (__canonicalize_directory_name_internal): Likewise.
17439 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17440 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17441 * sysdeps/mach/hurd/select.c (__select): Likewise.
17442 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17443 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17444 * sysdeps/sparc/nptl/pthread_barrier_init.c
17445 (__pthread_barrier_init): Likewise.
17446 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17447 (__pthread_cond_timedwait): Likewise.
17448 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17449 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17450 Likewise.
17451 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17452 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17453 Likewise.
17454 * sysvipc/semtimedop.c (semtimedop): Likewise.
17455 * time/setitimer.c (__setitimer): Likewise.
17456 * time/strftime_l.c (emacs_strftime): Likewise.
17457
17458 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17459
17460 * config.make.in (have-ssp): Delete.
17461 (stack-protector): New variable.
17462 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17463 cache test for -fstack-protector-strong. Export stack_protector to
17464 the best ssp flag.
17465 * configure: Regenerated.
17466 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17467 * nscd/Makefile (CFLAGS-nscd): Likewise.
17468 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17469
17470 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17471
17472 [BZ #19122]
17473 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17474 attribute_hidden.
17475
17476 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17477
17478 [BZ #18743]
17479 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17480 code to...
17481 (ELIDE_LOCK): ...here.
17482 (__get_new_count): New function with part of the code from
17483 __elide_lock that updates the value of adapt_count after a
17484 transaction abort.
17485 (__elided_trylock): Moved this code to...
17486 (ELIDE_TRYLOCK): ...here.
17487
17488 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17489
17490 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17491 * configure: Regenerate.
17492 * INSTALL: Regenerate.
17493 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17494 and tweak grammar.
17495
17496 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17497
17498 * login/programs/pt_chown.c: Include signal.h
17499 (main): Clear any signal mask from the parent process.
17500
17501 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17502
17503 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17504 * configure: Regenerated.
17505 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17506 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17507 $(gnu89-inline-CFLAGS).
17508
17509 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17510 test.
17511 (libc_cv_asm_weakext_directive): Likewise.
17512 * configure: Regenerated.
17513 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17514 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17515 * include/libc-symbols.h
17516 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17517 #error.
17518 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17519 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17520
17521 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17522 prototype-style function definition.
17523 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17524 * sysdeps/i386/ffs.c (__ffs): Likewise.
17525 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17526 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17527 Likewise.
17528 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17529 Likewise.
17530 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17532 Likewise.
17533 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17534 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17535 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17536 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17537 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17538 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17539 * sysdeps/mach/hurd/access.c (__access): Likewise.
17540 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17541 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17542 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17543 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17544 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17545 (cthread_getspecific): Likewise.
17546 (cthread_setspecific): Likewise.
17547 (__libc_getspecific): Likewise.
17548 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17549 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17550 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17551 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17552 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17553 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17554 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17555 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17556 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17557 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17558 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17559 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17560 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17561 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17562 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17563 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17564 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17565 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17566 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17567 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17568 * sysdeps/mach/hurd/link.c (__link): Likewise.
17569 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17570 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17571 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17572 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17573 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17574 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17575 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17576 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17577 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17578 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17579 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17580 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17581 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17582 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17583 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17584 * sysdeps/mach/hurd/send.c (__send): Likewise.
17585 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17586 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17587 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17588 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17589 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17590 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17591 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17592 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17593 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17594 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17595 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17596 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17597 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17598 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17599 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17600 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17601 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17602 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17603 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17604 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17605 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17606 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17607 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17608 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17609 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17610 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17611 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17612 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17613 * sysdeps/posix/alarm.c (alarm): Likewise.
17614 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17615 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17616 * sysdeps/posix/dup.c (__dup): Likewise.
17617 * sysdeps/posix/dup2.c (__dup2): Likewise.
17618 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17619 (main): Likewise.
17620 * sysdeps/posix/flock.c (__flock): Likewise.
17621 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17622 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17623 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17624 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17625 * sysdeps/posix/isatty.c (__isatty): Likewise.
17626 * sysdeps/posix/killpg.c (killpg): Likewise.
17627 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17628 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17629 * sysdeps/posix/raise.c (raise): Likewise.
17630 * sysdeps/posix/remove.c (remove): Likewise.
17631 * sysdeps/posix/rename.c (rename): Likewise.
17632 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17633 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17634 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17635 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17636 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17637 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17638 * sysdeps/posix/sigset.c (sigset): Likewise.
17639 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17640 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17641 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17642 * sysdeps/posix/time.c (time): Likewise.
17643 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17644 (ttyname): Likewise.
17645 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17646 * sysdeps/posix/utime.c (utime): Likewise.
17647 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17648 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17649 Likewise.
17650 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17651 (pthread_spin_trylock): Likewise.
17652 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17653 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17654 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17655 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17656 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17657 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17658 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17659 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17660 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17661 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17662 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17663 * sysdeps/s390/ffs.c (__ffs): Likewise.
17664 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17665 Likewise.
17666 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17667 Likewise.
17668 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17669 Likewise.
17670 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17671 (pthread_barrier_destroy): Likewise.
17672 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17673 (__pthread_barrier_wait): Likewise.
17674 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17675 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17676 (__pthread_barrier_wait): Likewise.
17677 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17678 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17679 (memcmp_not_common_alignment): Likewise.
17680 (MEMCMP): Likewise.
17681 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17682 (_wordcopy_fwd_dest_aligned): Likewise.
17683 (_wordcopy_bwd_aligned): Likewise.
17684 (_wordcopy_bwd_dest_aligned): Likewise.
17685 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17686 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17687 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17688 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17689 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17690 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17691 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17692 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17693 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17694 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17695 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17696 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17697 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17698 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17699 * sysdeps/unix/stime.c (stime): Likewise.
17700 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17701 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17702 Likewise. Use internal_function.
17703 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17704 Convert to prototype-style function definition.
17705 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17706 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17708 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17709 Likewise. Use internal_function.
17710 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17711 prototype-style function definition
17712 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17713 Likewise.
17714 (__getlogin_r): Likewise.
17715 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17716 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17717 (__pthread_cond_broadcast): Likewise.
17718 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17719 (__pthread_cond_destroy): Likewise.
17720 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17721 (__pthread_cond_init): Likewise.
17722 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17723 (__pthread_cond_signal): Likewise.
17724 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17725 (__pthread_cond_wait): Likewise.
17726 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17727 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17728 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17729 Likewise.
17730 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17731 Likewise.
17732 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17733 Likewise.
17734 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17735 Likewise.
17736 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17738 (__ftruncate64): Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17740 (truncate64): Likewise.
17741 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17742 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17743 (pthread_getcpuclockid): Likewise.
17744 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17745 Likewise.
17746 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17747 Likewise.
17748 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17749 Likewise.
17750 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17751 Likewise.
17752 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17753 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17754 (__libc_sigaction): Likewise.
17755 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17756 Likewise.
17757 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17758 (__sigprocmask): Likewise.
17759 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17760 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17761 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17762 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17763 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17764 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17765 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17766 Likewise.
17767 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17768 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17769 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17770 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17772 Likewise.
17773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17774 (__sigprocmask): Likewise.
17775 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17776 (cfgetispeed): Likewise.
17777 (cfsetospeed): Likewise.
17778 (cfsetispeed): Likewise.
17779 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17780 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17781 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17782 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17783 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17784 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17785 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17786 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17787 Likewise.
17788 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17789 Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17791 Likewise.
17792 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17793 Likewise.
17794 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17795
17796 2015-10-17 Florian Weimer <fweimer@redhat.com>
17797
17798 sunrpc: Rewrite with explicit TLS access using __thread.
17799 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17800 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17801 directly.
17802 (__rpc_thread_variables): Access thread_rpc_vars directly.
17803 Eliminate redundant assignment of the tvp variable.
17804
17805 2015-10-17 Florian Weimer <fweimer@redhat.com>
17806
17807 malloc: Rewrite with explicit TLS access using __thread.
17808 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17809 (tsd_setspecific, tsd_getspecific): Remove.
17810 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17811 (tsd_setspecific, tsd_getspecific): Likewise.
17812 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17813 (tsd_setspecific, tsd_getspecific): Likewise.
17814 * malloc/arena.c (thread_arena): New TLS variable.
17815 (arena_key): Remove variable.
17816 (arena_get): Use thread_arena.
17817 (arena_lookup): Remove macro.
17818 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17819 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17820 (_int_new_arena, get_free_list, reused_arena)
17821 (arena_thread_freeres): Use thread_arena.
17822 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17823 tsd_getspecific, tsd_setspecific from safety annotations.
17824 (Allocating Cleared Space): Remove arena_lookup from safety
17825 annotations.
17826
17827 2015-10-17 Florian Weimer <fweimer@redhat.com>
17828
17829 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17830 struct scratch_buffer instead of extend_alloca.
17831
17832 2015-10-17 Florian Weimer <fweimer@redhat.com>
17833
17834 * sysdeps/unix/sysv/linux/kernel-features.h
17835 (__ASSUME_SOCK_CLOEXEC): Remove.
17836 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17837 (__have_paccept): Remove unused macro.
17838 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17839 * misc/syslog.c (openlog_internal): Remove fallback code for
17840 !__ASSUME_SOCK_CLOEXEC.
17841 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17842 missing SOCK_CLOEXEC.
17843 * nscd/connections.c (have_sock_cloexec): Remove definition.
17844 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17845 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17846 !__ASSUME_SOCK_CLOEXEC.
17847 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17848 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17849 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17850 definition.
17851 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17852 code for !__ASSUME_SOCK_CLOEXEC.
17853
17854 2015-10-17 Florian Weimer <fweimer@redhat.com>
17855
17856 [BZ #18982]
17857 * manual/stdio.texi (Variable Arguments Output): Add portability
17858 note, explaining that vfprintf clobbers the va_list pointer.
17859
17860 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17861
17862 * math/libm-test.inc (fabs_test_data): Add more tests.
17863 (fdim_test_data): Likewise.
17864 (fma_test_data): Likewise.
17865 (fmax_test_data): Likewise.
17866 (fmin_test_data): Likewise.
17867 (fmod_test_data): Likewise.
17868
17869 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17870
17871 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17872 data.
17873
17874 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17875
17876 * math/libm-test.inc (ceil_test_data): Add more tests and more
17877 expectations for "inexact".
17878 (floor_test_data): Add more tests.
17879 (round_test_data): Likewise.
17880 (trunc_test_data): Likewise.
17881
17882 * crypt/cert.c (good_bye): Convert to prototype-style function
17883 definition.
17884 (get8): Likewise.
17885 (put8): Likewise.
17886 * crypt/crypt-entry.c (crypt): Likewise.
17887 (__fcrypt): Likewise.
17888 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17889 (_ufc_set_bits): Likewise.
17890 (_ufc_clearmem): Likewise.
17891 (__init_des_r): Likewise.
17892 (shuffle_sb): Likewise.
17893 (shuffle_sb): Likewise.
17894 (_ufc_setup_salt_r): Likewise.
17895 (_ufc_mk_keytab_r): Likewise.
17896 (_ufc_dofinalperm_r): Likewise.
17897 (encrypt): Likewise.
17898 (__setkey_r): Likewise.
17899 (setkey): Likewise.
17900 * crypt/md5.c (md5_init_ctx): Likewise.
17901 (md5_read_ctx): Likewise.
17902 (md5_finish_ctx): Likewise.
17903 (md5_stream): Likewise.
17904 (md5_buffer): Likewise.
17905 (md5_process_bytes): Likewise.
17906 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17907 (__sha256_finish_ctx): Likewise.
17908 (__sha256_process_bytes): Likewise.
17909 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17910 (__sha512_finish_ctx): Likewise.
17911 (__sha512_process_bytes): Likewise.
17912 * ctype/isctype.c (__isctype): Likewise.
17913 * debug/backtrace.c (__backtrace): Likewise.
17914 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17915 * debug/fgets_chk.c (__fgets_chk): Likewise.
17916 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17917 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17918 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17919 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17920 * debug/memset_chk.c (__memset_chk): Likewise.
17921 * debug/strcat_chk.c (__strcat_chk): Likewise.
17922 * debug/strncat_chk.c (__strncat_chk): Likewise.
17923 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17924 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17925 * dirent/dirfd.c (dirfd): Likewise.
17926 * dirent/getdents.c (__getdirentries): Likewise.
17927 * dirent/getdents64.c (getdirentries64): Likewise.
17928 * dirent/rewinddir.c (__rewinddir): Likewise.
17929 * dirent/seekdir.c (seekdir): Likewise.
17930 * dirent/telldir.c (telldir): Likewise.
17931 * elf/sln.c (makesymlinks): Likewise.
17932 (makesymlink): Likewise.
17933 * gmon/gmon.c (__moncontrol): Likewise.
17934 (__monstartup): Likewise.
17935 (write_hist): Likewise.
17936 (write_call_graph): Likewise.
17937 (write_bb_counts): Likewise.
17938 * grp/setgroups.c (setgroups): Likewise.
17939 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17940 * inet/inet_net.c (inet_network): Likewise.
17941 * inet/inet_netof.c (inet_netof): Likewise.
17942 * inet/rcmd.c (rresvport_af): Likewise.
17943 (rresvport): Likewise.
17944 * io/access.c (__access): Likewise.
17945 * io/chdir.c (__chdir): Likewise.
17946 * io/chmod.c (__chmod): Likewise.
17947 * io/chown.c (__chown): Likewise.
17948 * io/close.c (__close): Likewise.
17949 * io/creat.c (creat): Likewise.
17950 * io/creat64.c (creat64): Likewise.
17951 * io/dup.c (__dup): Likewise.
17952 * io/dup2.c (__dup2): Likewise.
17953 * io/dup3.c (__dup3): Likewise.
17954 * io/euidaccess.c (__euidaccess): Likewise.
17955 * io/faccessat.c (faccessat): Likewise.
17956 * io/fchmod.c (__fchmod): Likewise.
17957 * io/fchmodat.c (fchmodat): Likewise.
17958 * io/fchown.c (__fchown): Likewise.
17959 * io/fchownat.c (fchownat): Likewise.
17960 * io/fcntl.c (__fcntl): Likewise.
17961 * io/flock.c (__flock): Likewise.
17962 * io/fts.c (fts_load): Likewise.
17963 (fts_close): Likewise.
17964 (fts_read): Likewise.
17965 (fts_set): Likewise.
17966 (fts_children): Likewise.
17967 (fts_build): Likewise.
17968 (fts_stat): Likewise.
17969 (fts_sort): Likewise.
17970 (fts_alloc): Likewise.
17971 (fts_lfree): Likewise.
17972 (fts_palloc): Likewise.
17973 (fts_padjust): Likewise.
17974 (fts_maxarglen): Likewise.
17975 (fts_safe_changedir): Likewise.
17976 * io/getwd.c (getwd): Likewise.
17977 * io/isatty.c (__isatty): Likewise.
17978 * io/lchown.c (__lchown): Likewise.
17979 * io/link.c (__link): Likewise.
17980 * io/linkat.c (linkat): Likewise.
17981 * io/lseek.c (__libc_lseek): Likewise.
17982 * io/mkdir.c (__mkdir): Likewise.
17983 * io/mkdirat.c (mkdirat): Likewise.
17984 * io/mkfifo.c (mkfifo): Likewise.
17985 * io/mkfifoat.c (mkfifoat): Likewise.
17986 * io/open.c (__libc_open): Likewise.
17987 * io/open64.c (__libc_open64): Likewise.
17988 * io/readlink.c (__readlink): Likewise.
17989 * io/readlinkat.c (readlinkat): Likewise.
17990 * io/rmdir.c (__rmdir): Likewise.
17991 * io/symlink.c (__symlink): Likewise.
17992 * io/symlinkat.c (symlinkat): Likewise.
17993 * io/ttyname.c (ttyname): Likewise.
17994 * io/ttyname_r.c (__ttyname_r): Likewise.
17995 * io/umask.c (__umask): Likewise.
17996 * io/unlink.c (__unlink): Likewise.
17997 * io/unlinkat.c (unlinkat): Likewise.
17998 * io/utime.c (utime): Likewise.
17999 * libio/clearerr.c (clearerr): Likewise.
18000 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18001 * libio/feof.c (_IO_feof): Likewise.
18002 * libio/feof_u.c (feof_unlocked): Likewise.
18003 * libio/ferror.c (_IO_ferror): Likewise.
18004 * libio/ferror_u.c (ferror_unlocked): Likewise.
18005 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18006 * libio/fileno.c (__fileno): Likewise.
18007 * libio/fputc.c (fputc): Likewise.
18008 * libio/fputc_u.c (fputc_unlocked): Likewise.
18009 * libio/fputwc.c (fputwc): Likewise.
18010 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18011 * libio/freopen.c (freopen): Likewise.
18012 * libio/freopen64.c (freopen64): Likewise.
18013 * libio/fseek.c (fseek): Likewise.
18014 * libio/fseeko.c (fseeko): Likewise.
18015 * libio/fseeko64.c (fseeko64): Likewise.
18016 * libio/ftello.c (__ftello): Likewise.
18017 * libio/ftello64.c (ftello64): Likewise.
18018 * libio/fwide.c (fwide): Likewise.
18019 * libio/genops.c (_IO_un_link): Likewise.
18020 (_IO_link_in): Likewise.
18021 (_IO_least_marker): Likewise.
18022 (_IO_switch_to_main_get_area): Likewise.
18023 (_IO_switch_to_backup_area): Likewise.
18024 (_IO_switch_to_get_mode): Likewise.
18025 (_IO_free_backup_area): Likewise.
18026 (_IO_switch_to_put_mode): Likewise.
18027 (__overflow): Likewise.
18028 (__underflow): Likewise.
18029 (__uflow): Likewise.
18030 (_IO_setb): Likewise.
18031 (_IO_doallocbuf): Likewise.
18032 (_IO_default_underflow): Likewise.
18033 (_IO_default_uflow): Likewise.
18034 (_IO_default_xsputn): Likewise.
18035 (_IO_sgetn): Likewise.
18036 (_IO_default_xsgetn): Likewise.
18037 (_IO_sync): Likewise.
18038 (_IO_default_setbuf): Likewise.
18039 (_IO_default_seekpos): Likewise.
18040 (_IO_default_doallocate): Likewise.
18041 (_IO_init): Likewise.
18042 (_IO_old_init): Likewise.
18043 (_IO_default_sync): Likewise.
18044 (_IO_default_finish): Likewise.
18045 (_IO_default_seekoff): Likewise.
18046 (_IO_sputbackc): Likewise.
18047 (_IO_sungetc): Likewise.
18048 (_IO_set_column): Likewise.
18049 (_IO_set_column): Likewise.
18050 (_IO_adjust_column): Likewise.
18051 (_IO_get_column): Likewise.
18052 (_IO_init_marker): Likewise.
18053 (_IO_remove_marker): Likewise.
18054 (_IO_marker_difference): Likewise.
18055 (_IO_marker_delta): Likewise.
18056 (_IO_seekmark): Likewise.
18057 (_IO_unsave_markers): Likewise.
18058 (_IO_nobackup_pbackfail): Likewise.
18059 (_IO_default_pbackfail): Likewise.
18060 (_IO_default_seek): Likewise.
18061 (_IO_default_stat): Likewise.
18062 (_IO_default_read): Likewise.
18063 (_IO_default_write): Likewise.
18064 (_IO_default_showmanyc): Likewise.
18065 (_IO_default_imbue): Likewise.
18066 (_IO_iter_next): Likewise.
18067 (_IO_iter_file): Likewise.
18068 * libio/getc.c (_IO_getc): Likewise.
18069 * libio/getwc.c (_IO_getwc): Likewise.
18070 * libio/iofclose.c (_IO_new_fclose): Likewise.
18071 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18072 * libio/iofflush.c (_IO_fflush): Likewise.
18073 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18074 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18075 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18076 * libio/iofgets.c (_IO_fgets): Likewise.
18077 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18078 * libio/iofgetws.c (fgetws): Likewise.
18079 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18080 * libio/iofopen64.c (_IO_fopen64): Likewise.
18081 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18082 (_IO_cookie_write): Likewise.
18083 (_IO_cookie_seek): Likewise.
18084 (_IO_cookie_close): Likewise.
18085 (_IO_cookie_seekoff): Likewise.
18086 (_IO_old_cookie_seek): Likewise.
18087 * libio/iofputs.c (_IO_fputs): Likewise.
18088 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18089 * libio/iofputws.c (fputws): Likewise.
18090 * libio/iofputws_u.c (fputws_unlocked): Likewise.
18091 * libio/iofread.c (_IO_fread): Likewise.
18092 * libio/iofread_u.c (__fread_unlocked): Likewise.
18093 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18094 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18095 * libio/ioftell.c (_IO_ftell): Likewise.
18096 * libio/iofwrite.c (_IO_fwrite): Likewise.
18097 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18098 * libio/iogets.c (_IO_gets): Likewise.
18099 * libio/iopadn.c (_IO_padn): Likewise.
18100 * libio/iopopen.c (_IO_new_proc_open): Likewise.
18101 (_IO_new_popen): Likewise.
18102 (_IO_new_proc_close): Likewise.
18103 * libio/ioputs.c (_IO_puts): Likewise.
18104 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18105 (_IO_seekoff): Likewise.
18106 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18107 (_IO_seekpos): Likewise.
18108 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18109 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18110 * libio/ioungetc.c (_IO_ungetc): Likewise.
18111 * libio/ioungetwc.c (ungetwc): Likewise.
18112 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18113 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18114 * libio/iowpadn.c (_IO_wpadn): Likewise.
18115 * libio/libc_fatal.c (__libc_fatal): Likewise.
18116 * libio/memstream.c (__open_memstream): Likewise.
18117 (_IO_mem_sync): Likewise.
18118 (_IO_mem_finish): Likewise.
18119 * libio/oldfileops.c (_IO_old_file_init): Likewise.
18120 (_IO_old_file_close_it): Likewise.
18121 (_IO_old_file_finish): Likewise.
18122 (_IO_old_file_fopen): Likewise.
18123 (_IO_old_file_attach): Likewise.
18124 (_IO_old_file_setbuf): Likewise.
18125 (_IO_old_do_write): Likewise.
18126 (old_do_write): Likewise.
18127 (_IO_old_file_underflow): Likewise.
18128 (_IO_old_file_overflow): Likewise.
18129 (_IO_old_file_sync): Likewise.
18130 (_IO_old_file_seekoff): Likewise.
18131 (_IO_old_file_write): Likewise.
18132 (_IO_old_file_xsputn): Likewise.
18133 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18134 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18135 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18136 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18137 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18138 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18139 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18140 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18141 (_IO_old_popen): Likewise.
18142 (_IO_old_proc_close): Likewise.
18143 * libio/oldpclose.c (__old_pclose): Likewise.
18144 * libio/pclose.c (__new_pclose): Likewise.
18145 * libio/peekc.c (_IO_peekc_locked): Likewise.
18146 * libio/putc.c (_IO_putc): Likewise.
18147 * libio/putc_u.c (putc_unlocked): Likewise.
18148 * libio/putchar.c (putchar): Likewise.
18149 * libio/putchar_u.c (putchar_unlocked): Likewise.
18150 * libio/putwc.c (putwc): Likewise.
18151 * libio/putwc_u.c (putwc_unlocked): Likewise.
18152 * libio/putwchar.c (putwchar): Likewise.
18153 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18154 * libio/rewind.c (rewind): Likewise.
18155 * libio/setbuf.c (setbuf): Likewise.
18156 * libio/setlinebuf.c (setlinebuf): Likewise.
18157 * libio/vasprintf.c (_IO_vasprintf): Likewise.
18158 * libio/vscanf.c (_IO_vscanf): Likewise.
18159 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18160 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18161 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18162 * libio/wgenops.c (_IO_least_wmarker): Likewise.
18163 (_IO_switch_to_main_wget_area): Likewise.
18164 (_IO_switch_to_wbackup_area): Likewise.
18165 (_IO_wsetb): Likewise.
18166 (_IO_wdefault_pbackfail): Likewise.
18167 (_IO_wdefault_finish): Likewise.
18168 (_IO_wdefault_uflow): Likewise.
18169 (__woverflow): Likewise.
18170 (__wuflow): Likewise.
18171 (__wunderflow): Likewise.
18172 (_IO_wdefault_xsputn): Likewise.
18173 (_IO_wdefault_xsgetn): Likewise.
18174 (_IO_wdoallocbuf): Likewise.
18175 (_IO_wdefault_doallocate): Likewise.
18176 (_IO_switch_to_wget_mode): Likewise.
18177 (_IO_free_wbackup_area): Likewise.
18178 (_IO_switch_to_wput_mode): Likewise.
18179 (_IO_sputbackwc): Likewise.
18180 (_IO_sungetwc): Likewise.
18181 (_IO_adjust_wcolumn): Likewise.
18182 (_IO_init_wmarker): Likewise.
18183 (_IO_wmarker_delta): Likewise.
18184 (_IO_seekwmark): Likewise.
18185 (_IO_unsave_wmarkers): Likewise.
18186 * libio/wmemstream.c (open_wmemstream): Likewise.
18187 (_IO_wmem_sync): Likewise.
18188 (_IO_wmem_finish): Likewise.
18189 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18190 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18191 * locale/programs/simple-hash.c (init_hash): Likewise.
18192 (delete_hash): Likewise.
18193 (insert_entry): Likewise.
18194 (set_entry): Likewise.
18195 (next_prime): Likewise.
18196 (is_prime): Likewise.
18197 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18198 (xmalloc): Likewise.
18199 (xrealloc): Likewise.
18200 * locale/programs/xstrdup.c (xstrdup): Likewise.
18201 * localedata/collate-test.c (xstrcoll): Likewise.
18202 * localedata/xfrm-test.c (xstrcmp): Likewise.
18203 * login/getlogin_r.c (__getlogin_r): Likewise.
18204 * login/getpt.c (__posix_openpt): Likewise.
18205 * login/login_tty.c (login_tty): Likewise.
18206 * login/setlogin.c (setlogin): Likewise.
18207 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18208 (mach_msg_destroy_port): Likewise.
18209 (mach_msg_destroy_memory): Likewise.
18210 * malloc/mcheck.c (flood): Likewise.
18211 * misc/acct.c (acct): Likewise.
18212 * misc/brk.c (__brk): Likewise.
18213 * misc/chflags.c (chflags): Likewise.
18214 * misc/chroot.c (chroot): Likewise.
18215 * misc/fchflags.c (fchflags): Likewise.
18216 * misc/fstab.c (getfsspec): Likewise.
18217 (getfsfile): Likewise.
18218 * misc/fsync.c (fsync): Likewise.
18219 * misc/ftruncate.c (__ftruncate): Likewise.
18220 * misc/ftruncate64.c (__ftruncate64): Likewise.
18221 * misc/getdomain.c (getdomainname): Likewise.
18222 (getdomainname): Likewise.
18223 * misc/gethostname.c (__gethostname): Likewise.
18224 * misc/getpass.c (getpass): Likewise.
18225 * misc/getttyent.c (skip): Likewise.
18226 (value): Likewise.
18227 * misc/gtty.c (gtty): Likewise.
18228 * misc/hsearch.c (hsearch): Likewise.
18229 (hcreate): Likewise.
18230 * misc/hsearch_r.c (__hcreate_r): Likewise.
18231 (__hdestroy_r): Likewise.
18232 * misc/ioctl.c (__ioctl): Likewise.
18233 * misc/mkdtemp.c (mkdtemp): Likewise.
18234 * misc/mkostemp.c (mkostemp): Likewise.
18235 * misc/mkostemp64.c (mkostemp64): Likewise.
18236 * misc/mkostemps.c (mkostemps): Likewise.
18237 * misc/mkostemps64.c (mkostemps64): Likewise.
18238 * misc/mkstemp.c (mkstemp): Likewise.
18239 * misc/mkstemp64.c (mkstemp64): Likewise.
18240 * misc/mkstemps.c (mkstemps): Likewise.
18241 * misc/mkstemps64.c (mkstemps64): Likewise.
18242 * misc/mktemp.c (__mktemp): Likewise.
18243 * misc/preadv.c (preadv): Likewise.
18244 * misc/preadv64.c (preadv64): Likewise.
18245 * misc/pwritev.c (pwritev): Likewise.
18246 * misc/pwritev64.c (pwritev64): Likewise.
18247 * misc/readv.c (__readv): Likewise.
18248 * misc/revoke.c (revoke): Likewise.
18249 * misc/setdomain.c (setdomainname): Likewise.
18250 * misc/setegid.c (setegid): Likewise.
18251 * misc/seteuid.c (seteuid): Likewise.
18252 * misc/sethostid.c (sethostid): Likewise.
18253 * misc/sethostname.c (sethostname): Likewise.
18254 * misc/setregid.c (__setregid): Likewise.
18255 * misc/setreuid.c (__setreuid): Likewise.
18256 * misc/sstk.c (sstk): Likewise.
18257 * misc/stty.c (stty): Likewise.
18258 * misc/syscall.c (syscall): Likewise.
18259 * misc/syslog.c (setlogmask): Likewise.
18260 * misc/truncate.c (__truncate): Likewise.
18261 * misc/truncate64.c (truncate64): Likewise.
18262 * misc/ualarm.c (ualarm): Likewise.
18263 * misc/usleep.c (usleep): Likewise.
18264 * misc/ustat.c (ustat): Likewise.
18265 * misc/writev.c (__writev): Likewise.
18266 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18267 * nptl/old_pthread_cond_broadcast.c
18268 (__pthread_cond_broadcast_2_0): Likewise.
18269 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18270 Likewise.
18271 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18272 Likewise.
18273 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18274 Likewise.
18275 * nptl/pt-raise.c (raise): Likewise.
18276 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18277 Likewise.
18278 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18279 * nptl/pthread_barrierattr_destroy.c
18280 (pthread_barrierattr_destroy): Likewise.
18281 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18282 Likewise.
18283 * nptl/pthread_barrierattr_setpshared.c
18284 (pthread_barrierattr_setpshared): Likewise.
18285 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18286 Likewise.
18287 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18288 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18289 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18290 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18291 Likewise.
18292 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18293 Likewise.
18294 * nptl/pthread_condattr_getpshared.c
18295 (pthread_condattr_getpshared): Likewise.
18296 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18297 Likewise.
18298 * nptl/pthread_condattr_setpshared.c
18299 (pthread_condattr_setpshared): Likewise.
18300 * nptl/pthread_detach.c (pthread_detach): Likewise.
18301 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18302 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18303 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18304 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18305 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18306 Likewise.
18307 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18308 Likewise.
18309 * nptl/pthread_mutex_getprioceiling.c
18310 (pthread_mutex_getprioceiling): Likewise.
18311 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18312 Likewise.
18313 * nptl/pthread_mutexattr_getprotocol.c
18314 (pthread_mutexattr_getprotocol): Likewise.
18315 * nptl/pthread_mutexattr_getpshared.c
18316 (pthread_mutexattr_getpshared): Likewise.
18317 * nptl/pthread_mutexattr_getrobust.c
18318 (pthread_mutexattr_getrobust): Likewise.
18319 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18320 Likewise.
18321 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18322 Likewise.
18323 * nptl/pthread_mutexattr_setprioceiling.c
18324 (pthread_mutexattr_setprioceiling): Likewise.
18325 * nptl/pthread_mutexattr_setprotocol.c
18326 (pthread_mutexattr_setprotocol): Likewise.
18327 * nptl/pthread_mutexattr_setpshared.c
18328 (pthread_mutexattr_setpshared): Likewise.
18329 * nptl/pthread_mutexattr_setrobust.c
18330 (pthread_mutexattr_setrobust): Likewise.
18331 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18332 Likewise.
18333 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18334 Likewise.
18335 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18336 Likewise.
18337 * nptl/pthread_rwlockattr_getkind_np.c
18338 (pthread_rwlockattr_getkind_np): Likewise.
18339 * nptl/pthread_rwlockattr_getpshared.c
18340 (pthread_rwlockattr_getpshared): Likewise.
18341 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18342 Likewise.
18343 * nptl/pthread_rwlockattr_setkind_np.c
18344 (pthread_rwlockattr_setkind_np): Likewise.
18345 * nptl/pthread_rwlockattr_setpshared.c
18346 (pthread_rwlockattr_setpshared): Likewise.
18347 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18348 Likewise.
18349 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18350 Likewise.
18351 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18352 Likewise.
18353 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18354 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18355 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18356 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18357 * nptl/sem_close.c (sem_close): Likewise.
18358 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18359 * nptl/sem_init.c (__old_sem_init): Likewise.
18360 * nptl/sigaction.c (__sigaction): Likewise.
18361 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18362 * posix/_exit.c (_exit): Likewise.
18363 * posix/alarm.c (alarm): Likewise.
18364 * posix/confstr.c (confstr): Likewise.
18365 * posix/fpathconf.c (__fpathconf): Likewise.
18366 * posix/getgroups.c (__getgroups): Likewise.
18367 * posix/getpgid.c (__getpgid): Likewise.
18368 * posix/group_member.c (__group_member): Likewise.
18369 * posix/pathconf.c (__pathconf): Likewise.
18370 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18371 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18372 * posix/setgid.c (__setgid): Likewise.
18373 * posix/setpgid.c (__setpgid): Likewise.
18374 * posix/setuid.c (__setuid): Likewise.
18375 * posix/sleep.c (__sleep): Likewise.
18376 * posix/sysconf.c (__sysconf): Likewise.
18377 * posix/times.c (__times): Likewise.
18378 * posix/uname.c (__uname): Likewise.
18379 * posix/waitid.c (__waitid): Likewise.
18380 * pwd/getpw.c (__getpw): Likewise.
18381 * resolv/base64.c (b64_pton): Likewise.
18382 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18383 * resolv/gethnamaddr.c (Dprintf): Likewise.
18384 (gethostbyname): Likewise.
18385 (gethostbyname2): Likewise.
18386 (gethostbyaddr): Likewise.
18387 (_sethtent): Likewise.
18388 (_gethtbyname): Likewise.
18389 (_gethtbyname2): Likewise.
18390 (_gethtbyaddr): Likewise.
18391 (map_v4v6_address): Likewise.
18392 (map_v4v6_hostent): Likewise.
18393 (addrsort): Likewise.
18394 (ht_sethostent): Likewise.
18395 (ht_gethostbyname): Likewise.
18396 (ht_gethostbyaddr): Likewise.
18397 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18398 (inet_net_ntop_ipv4): Likewise.
18399 * resolv/inet_neta.c (inet_neta): Likewise.
18400 * resolv/inet_ntop.c (inet_ntop): Likewise.
18401 (inet_ntop4): Likewise.
18402 (inet_ntop6): Likewise.
18403 * resolv/inet_pton.c (__inet_pton): Likewise.
18404 (inet_pton4): Likewise.
18405 (inet_pton6): Likewise.
18406 * resolv/res_debug.c (loc_aton): Likewise.
18407 (loc_ntoa): Likewise.
18408 * resource/getpriority.c (__getpriority): Likewise.
18409 * resource/getrusage.c (__getrusage): Likewise.
18410 * resource/nice.c (nice): Likewise.
18411 * resource/setpriority.c (__setpriority): Likewise.
18412 * resource/setrlimit64.c (setrlimit64): Likewise.
18413 * resource/vlimit.c (vlimit): Likewise.
18414 * resource/vtimes.c (vtimes): Likewise.
18415 * rt/aio_error.c (aio_error): Likewise.
18416 * rt/aio_return.c (aio_return): Likewise.
18417 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18418 * signal/kill.c (__kill): Likewise.
18419 * signal/killpg.c (killpg): Likewise.
18420 * signal/raise.c (raise): Likewise.
18421 * signal/sigaction.c (__sigaction): Likewise.
18422 * signal/sigaddset.c (sigaddset): Likewise.
18423 * signal/sigaltstack.c (sigaltstack): Likewise.
18424 * signal/sigandset.c (sigandset): Likewise.
18425 * signal/sigblock.c (__sigblock): Likewise.
18426 * signal/sigdelset.c (sigdelset): Likewise.
18427 * signal/sigempty.c (sigemptyset): Likewise.
18428 * signal/sigfillset.c (sigfillset): Likewise.
18429 * signal/sighold.c (sighold): Likewise.
18430 * signal/sigignore.c (sigignore): Likewise.
18431 * signal/sigintr.c (siginterrupt): Likewise.
18432 * signal/sigisempty.c (sigisemptyset): Likewise.
18433 * signal/sigismem.c (sigismember): Likewise.
18434 * signal/signal.c (signal): Likewise.
18435 * signal/sigorset.c (sigorset): Likewise.
18436 * signal/sigpause.c (__sigpause): Likewise.
18437 * signal/sigpending.c (sigpending): Likewise.
18438 * signal/sigprocmask.c (__sigprocmask): Likewise.
18439 * signal/sigrelse.c (sigrelse): Likewise.
18440 * signal/sigreturn.c (__sigreturn): Likewise.
18441 * signal/sigset.c (sigset): Likewise.
18442 * signal/sigsetmask.c (__sigsetmask): Likewise.
18443 * signal/sigstack.c (sigstack): Likewise.
18444 * signal/sigsuspend.c (__sigsuspend): Likewise.
18445 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18446 * signal/sysv_signal.c (__sysv_signal): Likewise.
18447 * socket/accept.c (accept): Likewise.
18448 * socket/accept4.c (__libc_accept4): Likewise.
18449 * socket/bind.c (__bind): Likewise.
18450 * socket/connect.c (__connect): Likewise.
18451 * socket/getpeername.c (getpeername): Likewise.
18452 * socket/getsockname.c (__getsockname): Likewise.
18453 * socket/getsockopt.c (getsockopt): Likewise.
18454 * socket/listen.c (__listen): Likewise.
18455 * socket/recv.c (__recv): Likewise.
18456 * socket/recvmsg.c (__recvmsg): Likewise.
18457 * socket/send.c (__send): Likewise.
18458 * socket/sendmsg.c (__sendmsg): Likewise.
18459 * socket/shutdown.c (shutdown): Likewise.
18460 * socket/sockatmark.c (sockatmark): Likewise.
18461 * socket/socket.c (__socket): Likewise.
18462 * stdio-common/ctermid.c (ctermid): Likewise.
18463 * stdio-common/cuserid.c (cuserid): Likewise.
18464 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18465 * stdio-common/remove.c (remove): Likewise.
18466 * stdio-common/rename.c (rename): Likewise.
18467 * stdio-common/renameat.c (renameat): Likewise.
18468 * stdio-common/tempname.c (__gen_tempname): Likewise.
18469 * stdio-common/xbug.c (InitBuffer): Likewise.
18470 (AppendToBuffer): Likewise.
18471 (ReadFile): Likewise.
18472 * stdlib/a64l.c (a64l): Likewise.
18473 * stdlib/drand48_r.c (drand48_r): Likewise.
18474 * stdlib/getcontext.c (getcontext): Likewise.
18475 * stdlib/getenv.c (getenv): Likewise.
18476 * stdlib/l64a.c (l64a): Likewise.
18477 * stdlib/llabs.c (llabs): Likewise.
18478 * stdlib/lldiv.c (lldiv): Likewise.
18479 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18480 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18481 * stdlib/putenv.c (putenv): Likewise.
18482 * stdlib/random.c (__srandom): Likewise.
18483 (__initstate): Likewise.
18484 (__setstate): Likewise.
18485 * stdlib/random_r.c (__srandom_r): Likewise.
18486 (__setstate_r): Likewise.
18487 (__random_r): Likewise.
18488 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18489 * stdlib/setcontext.c (setcontext): Likewise.
18490 * stdlib/setenv.c (setenv): Likewise.
18491 (unsetenv): Likewise.
18492 * stdlib/srand48.c (srand48): Likewise.
18493 * stdlib/srand48_r.c (__srand48_r): Likewise.
18494 * stdlib/swapcontext.c (swapcontext): Likewise.
18495 * stdlib/system.c (__libc_system): Likewise.
18496 * stdlib/tst-strtod.c (expand): Likewise.
18497 * stdlib/tst-strtol.c (expand): Likewise.
18498 * stdlib/tst-strtoll.c (expand): Likewise.
18499 * streams/fattach.c (fattach): Likewise.
18500 * streams/fdetach.c (fdetach): Likewise.
18501 * streams/getmsg.c (getmsg): Likewise.
18502 * streams/isastream.c (isastream): Likewise.
18503 * string/ffs.c (__ffs): Likewise.
18504 * string/ffsll.c (ffsll): Likewise.
18505 * string/memcmp.c (memcmp_common_alignment): Likewise.
18506 (memcmp_not_common_alignment): Likewise.
18507 (MEMCMP): Likewise.
18508 * string/memcpy.c (memcpy): Likewise.
18509 * string/memmove.c (MEMMOVE): Likewise.
18510 * string/memset.c (memset): Likewise.
18511 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18512 * string/strchrnul.c (STRCHRNUL): Likewise.
18513 * string/strerror.c (strerror): Likewise.
18514 * string/strndup.c (__strndup): Likewise.
18515 * string/strverscmp.c (__strverscmp): Likewise.
18516 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18517 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18518 (clnttcp_freeres): Likewise.
18519 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18520 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18521 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18522 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18523 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18524 (xdr_callhdr): Likewise.
18525 * sunrpc/rpcinfo.c (udpping): Likewise.
18526 (tcpping): Likewise.
18527 (pstatus): Likewise.
18528 (pmapdump): Likewise.
18529 (brdcst): Likewise.
18530 (deletereg): Likewise.
18531 (getprognum): Likewise.
18532 (getvers): Likewise.
18533 (get_inet_address): Likewise.
18534 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18535 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18536 (svcudp_stat): Likewise.
18537 (svcudp_recv): Likewise.
18538 (svcudp_reply): Likewise.
18539 (svcudp_getargs): Likewise.
18540 (svcudp_freeargs): Likewise.
18541 (svcudp_destroy): Likewise.
18542 * sunrpc/xdr.c (xdr_bytes): Likewise.
18543 (xdr_netobj): Likewise.
18544 (xdr_string): Likewise.
18545 (xdr_wrapstring): Likewise.
18546 * sunrpc/xdr_float.c (xdr_float): Likewise.
18547 (xdr_double): Likewise.
18548 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18549 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18550 * sysvipc/ftok.c (ftok): Likewise.
18551 * sysvipc/msgctl.c (msgctl): Likewise.
18552 * sysvipc/msgget.c (msgget): Likewise.
18553 * sysvipc/msgrcv.c (msgrcv): Likewise.
18554 * sysvipc/msgsnd.c (msgsnd): Likewise.
18555 * sysvipc/semget.c (semget): Likewise.
18556 * sysvipc/semop.c (semop): Likewise.
18557 * sysvipc/shmat.c (shmat): Likewise.
18558 * sysvipc/shmctl.c (shmctl): Likewise.
18559 * sysvipc/shmdt.c (shmdt): Likewise.
18560 * sysvipc/shmget.c (shmget): Likewise.
18561 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18562 * termios/speed.c (cfgetospeed): Likewise.
18563 (cfgetispeed): Likewise.
18564 (cfsetospeed): Likewise.
18565 (cfsetispeed): Likewise.
18566 * termios/tcflow.c (tcflow): Likewise.
18567 * termios/tcflush.c (tcflush): Likewise.
18568 * termios/tcgetattr.c (__tcgetattr): Likewise.
18569 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18570 * termios/tcgetsid.c (tcgetsid): Likewise.
18571 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18572 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18573 * time/adjtime.c (__adjtime): Likewise.
18574 * time/dysize.c (dysize): Likewise.
18575 * time/ftime.c (ftime): Likewise.
18576 * time/getitimer.c (__getitimer): Likewise.
18577 * time/gettimeofday.c (__gettimeofday): Likewise.
18578 * time/gmtime.c (__gmtime_r): Likewise.
18579 (gmtime): Likewise.
18580 * time/localtime.c (__localtime_r): Likewise.
18581 (localtime): Likewise.
18582 * time/offtime.c (__offtime): Likewise.
18583 * time/settimeofday.c (__settimeofday): Likewise.
18584 * time/stime.c (stime): Likewise.
18585 * time/strftime_l.c (tm_diff): Likewise.
18586 (iso_week_days): Likewise.
18587 * time/strptime.c (strptime): Likewise.
18588 * time/time.c (time): Likewise.
18589 * time/timespec_get.c (timespec_get): Likewise.
18590 * time/tzset.c (tzset_internal): Likewise.
18591 (compute_change): Likewise.
18592 (__tz_compute): Likewise.
18593 * wcsmbs/btowc.c (__btowc): Likewise.
18594 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18595 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18596 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18597 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18598 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18599 * wcsmbs/wcscat.c (__wcscat): Likewise.
18600 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18601 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18602 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18603 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18604 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18605 * wcsmbs/wcslen.c (__wcslen): Likewise.
18606 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18607 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18608 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18609 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18610 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18611 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18612 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18613 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18614 * wcsmbs/wcstok.c (wcstok): Likewise.
18615 * wcsmbs/wctob.c (wctob): Likewise.
18616 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18618 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18619 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18620 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18621 * wcsmbs/wmemset.c (__wmemset): Likewise.
18622 * wctype/wcfuncs.c (__towlower): Likewise.
18623 (__towupper): Likewise.
18624
18625 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18626 (lll_unlock_elision): Add adapt_count parameter.
18627
18628 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18629
18630 * sysdeps/nptl/configure.ac: Do not give errors based on the
18631 results of top-level configure tests.
18632 * sysdeps/nptl/configure: Regenerated.
18633
18634 * configure.ac (libc_cv_Bgroup): Remove configure test.
18635 * configure: Regenerated.
18636 * config.make.in (have-Bgroup): Remove variable.
18637
18638 * configure.ac (sizeof_long_double): Remove configure test.
18639 * configure: Regenerated.
18640 * config.make.in (sizeof-long-double): Remove variable.
18641
18642 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18643 * configure: Regenerated.
18644 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18645 variable.
18646 (exceptions): Likewise.
18647 * sysdeps/arm/configure: Regenerated.
18648 * config.make.in (exceptions): Remove variable.
18649 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18650 $(exceptions).
18651 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18652 (CFLAGS-vdprintf_chk.c): Likewise.
18653 (CFLAGS-printf_chk.c): Likewise.
18654 (CFLAGS-fprintf_chk.c): Likewise.
18655 (CFLAGS-vprintf_chk.c): Likewise.
18656 (CFLAGS-vfprintf_chk.c): Likewise.
18657 (CFLAGS-gets_chk.c): Likewise.
18658 (CFLAGS-fgets_chk.c): Likewise.
18659 (CFLAGS-fgets_u_chk.c): Likewise.
18660 (CFLAGS-fread_chk.c): Likewise.
18661 (CFLAGS-fread_u_chk.c): Likewise.
18662 (CFLAGS-wprintf_chk.c): Likewise.
18663 (CFLAGS-fwprintf_chk.c): Likewise.
18664 (CFLAGS-vwprintf_chk.c): Likewise.
18665 (CFLAGS-vfwprintf_chk.c): Likewise.
18666 (CFLAGS-fgetws_chk.c): Likewise.
18667 (CFLAGS-fgetws_u_chk.c): Likewise.
18668 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18669 (CFLAGS-fputc.c): Likewise.
18670 (CFLAGS-fputwc.c): Likewise.
18671 (CFLAGS-freopen64.c): Likewise.
18672 (CFLAGS-freopen.c): Likewise.
18673 (CFLAGS-fseek.c): Likewise.
18674 (CFLAGS-fseeko64.c): Likewise.
18675 (CFLAGS-fseeko.c): Likewise.
18676 (CFLAGS-ftello64.c): Likewise.
18677 (CFLAGS-ftello.c): Likewise.
18678 (CFLAGS-fwide.c): Likewise.
18679 (CFLAGS-genops.c): Likewise.
18680 (CFLAGS-getc.c): Likewise.
18681 (CFLAGS-getchar.c): Likewise.
18682 (CFLAGS-getwc.c): Likewise.
18683 (CFLAGS-getwchar.c): Likewise.
18684 (CFLAGS-iofclose.c): Likewise.
18685 (CFLAGS-iofflush.c): Likewise.
18686 (CFLAGS-iofgetpos64.c): Likewise.
18687 (CFLAGS-iofgetpos.c): Likewise.
18688 (CFLAGS-iofgets.c): Likewise.
18689 (CFLAGS-iofgetws.c): Likewise.
18690 (CFLAGS-iofputs.c): Likewise.
18691 (CFLAGS-iofputws.c): Likewise.
18692 (CFLAGS-iofread.c): Likewise.
18693 (CFLAGS-iofsetpos64.c): Likewise.
18694 (CFLAGS-iofsetpos.c): Likewise.
18695 (CFLAGS-ioftell.c): Likewise.
18696 (CFLAGS-iofwrite.c): Likewise.
18697 (CFLAGS-iogetdelim.c): Likewise.
18698 (CFLAGS-iogetline.c): Likewise.
18699 (CFLAGS-iogets.c): Likewise.
18700 (CFLAGS-iogetwline.c): Likewise.
18701 (CFLAGS-ioputs.c): Likewise.
18702 (CFLAGS-ioseekoff.c): Likewise.
18703 (CFLAGS-ioseekpos.c): Likewise.
18704 (CFLAGS-iosetbuffer.c): Likewise.
18705 (CFLAGS-iosetvbuf.c): Likewise.
18706 (CFLAGS-ioungetc.c): Likewise.
18707 (CFLAGS-ioungetwc.c): Likewise.
18708 (CFLAGS-oldfileops.c): Likewise.
18709 (CFLAGS-oldiofclose.c): Likewise.
18710 (CFLAGS-oldiofgetpos64.c): Likewise.
18711 (CFLAGS-oldiofgetpos.c): Likewise.
18712 (CFLAGS-oldiofsetpos64.c): Likewise.
18713 (CFLAGS-oldiofsetpos.c): Likewise.
18714 (CFLAGS-peekc.c): Likewise.
18715 (CFLAGS-putc.c): Likewise.
18716 (CFLAGS-putchar.c): Likewise.
18717 (CFLAGS-putwc.c): Likewise.
18718 (CFLAGS-putwchar.c): Likewise.
18719 (CFLAGS-rewind.c): Likewise.
18720 (CFLAGS-wfileops.c): Likewise.
18721 (CFLAGS-wgenops.c): Likewise.
18722 (CFLAGS-oldiofopen.c): Likewise.
18723 (CFLAGS-iofopen.c): Likewise.
18724 (CFLAGS-iofopen64.c): Likewise.
18725 (CFLAGS-oldtmpfile.c): Likewise.
18726 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18727 (CFLAGS-fprintf.c): Likewise.
18728 (CFLAGS-printf.c): Likewise.
18729 (CFLAGS-vfwprintf.c): Likewise.
18730 (CFLAGS-vfscanf.c): Likewise.
18731 (CFLAGS-vfwscanf.c): Likewise.
18732 (CFLAGS-fscanf.c): Likewise.
18733 (CFLAGS-scanf.c): Likewise.
18734 (CFLAGS-isoc99_vfscanf.c): Likewise.
18735 (CFLAGS-isoc99_vscanf.c): Likewise.
18736 (CFLAGS-isoc99_fscanf.c): Likewise.
18737 (CFLAGS-isoc99_scanf.c): Likewise.
18738 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18739 (CFLAGS-isoc99_fwscanf.c): Likewise.
18740 (CFLAGS-isoc99_vwscanf.c): Likewise.
18741 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18742
18743 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18744 after mkstemp64.
18745 * login/tst-utmp.c (do_prepare): Likewise.
18746 * rt/tst-aio.c (do_prepare): Likewise.
18747 * rt/tst-aio64.c (do_prepare): Likewise.
18748
18749 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18750
18751 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18752 (__lll_lock_elision): Remove adapt_count decrement...
18753 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18754 (__lll_trylock_elision): Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18756 (__lll_unlock_elision): ... to here. And utilize
18757 new adapt_count parameter.
18758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18759 (__lll_unlock_elision): Update to include adapt_count
18760 parameter.
18761 (lll_unlock_elision): Pass pointer to adapt_count
18762 variable.
18763
18764 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18765
18766 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18767 Add elision adapt_count parameter to list of arguments.
18768 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18769 (lll_unlock_elision): Update with new parameter list
18770 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18771 (lll_unlock_elision): Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18773 (lll_unlock_elision): Likewise.
18774
18775 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18776
18777 [BZ #19122]
18778 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18779 attribute_hidden.
18780
18781 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18782 attribute_hidden.
18783 [IS_IN (rtld)] (__strdup): Likewise.
18784 [IS_IN (rtld)] (__strerror_r): Likewise.
18785 [IS_IN (rtld)] (__strsep_g): Likewise.
18786 [IS_IN (rtld)] (memchr): Likewise.
18787 [IS_IN (rtld)] (memcmp): Likewise.
18788 [IS_IN (rtld)] (memcpy): Likewise.
18789 [IS_IN (rtld)] (memmove): Likewise.
18790 [IS_IN (rtld)] (memset): Likewise.
18791 [IS_IN (rtld)] (rawmemchr): Likewise.
18792 [IS_IN (rtld)] (stpcpy): Likewise.
18793 [IS_IN (rtld)] (strchr): Likewise.
18794 [IS_IN (rtld)] (strcmp): Likewise.
18795 [IS_IN (rtld)] (strlen): Likewise.
18796 [IS_IN (rtld)] (strnlen): Likewise.
18797 [IS_IN (rtld)] (strsep): Likewise.
18798
18799 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18800 attribute_hidden.
18801 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18802
18803 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18804 attribute_hidden.
18805 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18806
18807 * include/setjmp.h (__longjmp): Add attribute_hidden.
18808 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18809
18810 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18811 Add attribute_hidden.
18812
18813 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18814 [IS_IN (rtld)] (__open): Likewise.
18815 [IS_IN (rtld)] (__fcntl): Likewise.
18816
18817 * include/dirent.h (__opendirat): Add attribute_hidden.
18818 (__getdents): Likewise.
18819 (__getdents64): Likewise.
18820 (__alloc_dir): Likewise.
18821 [IS_IN (rtld)] (__closedir): Likewise.
18822 [IS_IN (rtld)] (__fdopendir): Likewise.
18823 [IS_IN (rtld)] (__readdir): Likewise.
18824 [IS_IN (rtld)] (__readdir64): Likewise.
18825 [IS_IN (rtld)] (__rewinddir): Likewise.
18826
18827 * include/dlfcn.h (_dl_catch_error): Moved to ...
18828 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18829 attribute_hidden.
18830
18831 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18832 (_itoa_word): Likewise.
18833
18834 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18835 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18836 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18837 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18838 (_dl_higher_prime_number): Likewise.
18839 (_dl_debug_printf_c): Likewise.
18840 (_dl_signal_cerror): Likewise.
18841 (_dl_receive_error): Likewise.
18842 (_dl_reloc_bad_type): Likewise.
18843 (_dl_resolve_conflicts): Likewise.
18844 (_dl_check_all_versions): Likewise.
18845 (_dl_check_map_versions): Likewise.
18846 (_dl_sort_fini): Likewise.
18847 (_dl_debug_initialize): Likewise.
18848 (_dl_init_paths): Likewise.
18849 (_dl_show_auxv): Likewise.
18850 (_dl_next_ld_env_entry): Likewise.
18851 (_dl_important_hwcaps): Likewise.
18852 (_dl_load_cache_lookup): Likewise.
18853 (_dl_update_slotinfo): Likewise.
18854 (_dl_show_scope): Likewise.
18855
18856 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18857 attribute_hidden.
18858 (_wordcopy_fwd_dest_aligned): Likewise.
18859 (_wordcopy_bwd_aligned): Likewise.
18860 (_wordcopy_bwd_dest_aligned): Likewise.
18861
18862 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18863 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18864 Likewise.
18865 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18866 Likewise.
18867 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18868
18869 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18872 GCC 5 requirement.
18873
18874 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18875
18876 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18877 test.
18878 * sysdeps/i386/configure: Regenerated.
18879 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18880 code unconditional.
18881
18882 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18883 test.
18884 (libc_cv_asm_popsection_directive): Likewise.
18885 * configure: Regenerated.
18886 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18887 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18888 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18889 (__make_section_unallocated): Make definition unconditional.
18890 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18891 Remove conditional definition.
18892 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18893 (__make_section_unallocated): Likewise.
18894
18895 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18896 * configure: Regenerated.
18897 * config.make.in (static-libgcc): Remove variable.
18898 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18899 $(static-libgcc).
18900 (build-module-helper): Likewise.
18901
18902 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18903 * configure: Regenerated.
18904
18905 2015-10-15 Florian Weimer <fweimer@redhat.com>
18906
18907 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18908 (struct char_buffer): New type.
18909 (char_buffer_start, char_buffer_size, char_buffer_error)
18910 (char_buffer_rewind, char_buffer_add): New functions.
18911 (ADDW): Remove macro, replaced by the char_buffer_add function.
18912 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18913 of extend_alloca. Make control flow more explicit.
18914
18915 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18916
18917 [BZ #19137]
18918 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18919 Add -fomit-frame-pointer.
18920 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18921
18922 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18923
18924 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18925 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18926 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18927 only if !__GNUC_PREREQ (5,0).
18928 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18929 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18930 (INTERNAL_SYSCALL_NCS): Likewise.
18931 (LOADREGS_0): New macro for GCC 5.
18932 (ASMARGS_0): Likewise.
18933 (LOADREGS_1): Likewise.
18934 (ASMARGS_1): Likewise.
18935 (LOADREGS_2): Likewise.
18936 (ASMARGS_2): Likewise.
18937 (LOADREGS_3): Likewise.
18938 (ASMARGS_3): Likewise.
18939 (LOADREGS_4): Likewise.
18940 (ASMARGS_4): Likewise.
18941 (LOADREGS_5): Likewise.
18942 (ASMARGS_5): Likewise.
18943 (LOADREGS_6): Likewise.
18944 (ASMARGS_6): Likewise.
18945
18946 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18947
18948 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18949 -fomit-frame-pointer.
18950 (CFLAGS-mmap64.c): Likewise.
18951 (CFLAGS-semtimedop.c): Likewise.
18952 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18953 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18955 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18956
18957 2015-10-15 Florian Weimer <fweimer@redhat.com>
18958
18959 [BZ #18928]
18960 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18961 _dl_pointer_guard member.
18962 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18963 initializer.
18964 (security_init): Always set up pointer guard.
18965 (process_envvars): Do not process LD_POINTER_GUARD.
18966
18967 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18968
18969 [BZ #19134]
18970 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18971 (.LC2): Likewise.
18972 (.LC3): Likewise.
18973 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18974
18975 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18976
18977 [BZ #19129]
18978 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18979 r0 and r1.
18980
18981 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18982
18983 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18984
18985 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18986
18987 * include/stap-probe.h: Fix macro definition formatting.
18988
18989 2015-10-14 Florian Weimer <fweimer@redhat.com>
18990
18991 [BZ #19074]
18992 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18993 load and store num_ifs.
18994
18995 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18996
18997 [BZ #18822]
18998 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18999 (__sched_getaffinity_new): Add libc_hidden_proto and
19000 libc_hidden_def.
19001
19002 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 [BZ #19007]
19005 * scripts/localplt.awk: Also allow GOT references.
19006 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19007 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19008 with "+ REL R_386_GLOB_DAT".
19009 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19010 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19011
19012 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19013
19014 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19015 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19016 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19017 Likewise.
19018 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19019 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19020 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19021 INTERNAL_SYSCALLINTERNAL_SYSCALL and
19022 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19023 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19024 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19025 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19026 Likewise.
19027 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19028
19029 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19030
19031 [BZ #19125]
19032 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19033 <math_private.h> and <stdint.h>.
19034 (__llround): Avoid conversions to and from long long int, and
19035 subtractions, where those might raise spurious exceptions.
19036 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19037 <math_private.h> and <stdint.h>.
19038 (__llroundf): Avoid conversions to and from long long int, and
19039 subtractions, where those might raise spurious exceptions.
19040
19041 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19044 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19045 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19046 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19047 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19048 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19049 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19050 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19051 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19052 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19053 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19054 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19055 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19056 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19057 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19058 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19059 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19060 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19061 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19062 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19063 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19064 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19065 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19066 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19067 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19068 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19069 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19070 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19071 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19072 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19073 (__xstat64_conv): Likewise.
19074 (__xstat32_conv): Likewise.
19075
19076 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19077
19078 * sysdeps/unix/sysv/linux/sysdep.h: New file.
19079 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19080 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19081 <sysdeps/unix/sysv/linux/sysdep.h>.
19082 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19083 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19084 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19085 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19086 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19087 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19088 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19089 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19090 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19096 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19098 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19099 (sysdep-dl-routines): Add sysdep.
19100 [$(subdir) == nptl] (libpthread-routines): Likewise.
19101 [$(subdir) == rt] (librt-routines): Likewise.
19102 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19103 PIC when branching to SYSCALL_ERROR_LABEL.
19104 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19106 <sysdeps/unix/sysv/linux/sysdep.h>.
19107 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19108 (SYSCALL_ERROR_ERRNO): Removed.
19109 (SYSCALL_ERROR_HANDLER): Changed to empty.
19110 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19111 (__syscall_error): New prototype.
19112 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19113 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19114
19115 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 [BZ #19124]
19118 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19119 (_dl_runtime_resolve_avx512): Make it a hidden alias of
19120 _dl_runtime_resolve_avx.
19121 (_dl_runtime_profile_avx512): Make it a hidden alias of
19122 _dl_runtime_profile_avx.
19123
19124 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19125
19126 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19127 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19128 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19129 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19130
19131 [BZ #16422]
19132 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19133 New configure test.
19134 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19135 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19136 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19137 <math_private.h> and <stdint.h>.
19138 (__llrint): Avoid conversions to long long int where those might
19139 raise spurious exceptions.
19140 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19141 <math_private.h> and <stdint.h>.
19142 (__llrintf): Avoid conversions to long long int where those might
19143 raise spurious exceptions.
19144
19145 2015-10-12 Andreas Schwab <schwab@suse.de>
19146
19147 [BZ #18969]
19148 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
19149 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19150 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
19151 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19152 $(gen-locales).
19153 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
19154 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19155 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19156 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19157 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19158 $(gen-locales).
19159 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
19160 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19161 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19162 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19163 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19164 ($(objpfx)tst-ftell-active-handler.out)
19165 ($(objpfx)tst-ftell-append.out)
19166 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19167 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19168 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19169 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19170 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
19171 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19172 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19173 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19174 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19175 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19176 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19177 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19178 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19179 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19180 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19181 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19182 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19183 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19184 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19185 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19186 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19187 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19188 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19189 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19190 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19191 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19192 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19193 $(gen-locales).
19194 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19195 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19196 $(gen-locales).
19197 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19198 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19199 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19200 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19201 $(gen-locales).
19202 * libio/tst_wprintf2.c (main): Use explicit locale.
19203 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19204
19205 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19206
19207 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19208 __msg_sig_post.
19209 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19210
19211 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19212
19213 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19214 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19215
19216 * sysdeps/arm/libm-test-ulps: Regenerated.
19217
19218 [BZ #15470]
19219 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19220
19221 [BZ #16399]
19222 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19223 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19224 and <fix-fp-int-convert-overflow.h>.
19225 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19226 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19227 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19228 and <fix-fp-int-convert-overflow.h>.
19229 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19230 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19231 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19232 <fix-fp-int-convert-overflow.h>.
19233 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19234 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19235 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19236 <fix-fp-int-convert-overflow.h>.
19237 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19238 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19239 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19240 and <fix-fp-int-convert-overflow.h>.
19241 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19242 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19243 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19244 <limits.h> and <fix-fp-int-convert-overflow.h>.
19245 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19246 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19247 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19248 and <fix-fp-int-convert-overflow.h>.
19249 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19250 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19251 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19252 and <fix-fp-int-convert-overflow.h>.
19253 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19254 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19255 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19256
19257 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19258
19259 [BZ #18589]
19260 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19261 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19262 $(gen-locales).
19263
19264 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19265 Phil Blundell <pb@pbcl.net>
19266
19267 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19268 * nptl/tst-cancel26.c: New file.
19269 * nptl/tst-cancel27.c: Likewise.
19270
19271 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19272
19273 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19274 __ILP32__ isn't defined.
19275 (lrint): Likewise.
19276 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19277 (lrintf): Likewise.
19278 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19279 (lrintl): Likewise.
19280 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19281 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19282 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19283
19284 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19285
19286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19287 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19288
19289 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19290 file.
19291 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19292 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19293
19294 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19295
19296 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19297 configure test.
19298 * sysdeps/i386/configure: Regenerated.
19299 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19300 configure test.
19301 * sysdeps/x86_64/configure: Regenerated.
19302 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19303 Make code unconditional.
19304
19305 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19306 test.
19307 * sysdeps/i386/configure: Regenerated.
19308 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19309 test.
19310 * sysdeps/x86_64/configure: Regenerated.
19311 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19312 Make code unconditional.
19313 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19314 Likewise.
19315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19316 Likewise.
19317 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19318 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19319 code unconditional.
19320 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19321 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19322 code unconditional.
19323 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19324 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19325 code unconditional.
19326 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19327 code unconditional.
19328 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19329 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19330 code unconditional.
19331 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19332 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19333 code unconditional.
19334 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19335 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19336 code unconditional.
19337 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19338 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19339 code unconditional.
19340 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19341 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19342
19343 [BZ #19095]
19344 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19345 mantissa to long int before shifting left.
19346
19347 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19348
19349 [BZ #19094]
19350 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19351 <limits.h>.
19352 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19353 when result overflows but exception would not result from cast.
19354 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19355 <limits.h>.
19356 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19357 when result overflows but exception would not result from cast.
19358 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19359 <limits.h>.
19360 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19361 when result overflows but exception would not result from cast.
19362 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19363 <limits.h>.
19364 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19365 when result overflows but exception would not result from cast.
19366 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19367 <limits.h>.
19368 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19369 when result overflows but exception would not result from cast.
19370 * math/libm-test.inc (lrint_test_data): Add more tests.
19371 (llrint_test_data): Likewise.
19372
19373 2015-10-08 Roland McGrath <roland@hack.frob.com>
19374
19375 [BZ #18872]
19376 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19377 Move out from under [$(run-built-tests) = yes] conditional.
19378 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19379 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19380
19381 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19382
19383 [BZ #18589]
19384 * string/Makefile (tests): Add bug-strcoll2.
19385 (LOCALES): Add cs_CZ.UTF-8.
19386 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19387
19388 [BZ #18589]
19389 * string/bug-strcoll2.c: New file.
19390 * locale/categories.def: Revert commit
19391 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19392 * locale/langinfo.h: Likewise.
19393 * locale/localeinfo.h: Likewise.
19394 * locale/C-collate.c: Likewise.
19395 * locale/programs/ld-collate.c (collate_output): Likewise.
19396 * string/strcoll_l.c (STRDIFF): Likewise.
19397 (STRCOLL): Likewise.
19398 * wcsmbs/wcscoll_l.c: Likewise.
19399
19400 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19401
19402 * math/libm-test.inc (lround_test_data): Do not expect the absence
19403 of "inexact" for some tests with non-integer arguments.
19404 (llround_test_data): Likewise.
19405
19406 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19407 test.
19408 (libc_cv_cc_sse2avx): Likewise.
19409 * sysdeps/i386/configure: Regenerated.
19410 * sysdeps/i386/i686/multiarch/Makefile
19411 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19412 [$(subdir) = math].
19413 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19414 code unconditional.
19415 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19416 Likewise.
19417 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19418 Likewise.
19419 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19420 Likewise.
19421 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19422 test.
19423 (libc_cv_cc_sse2avx): Likewise.
19424 * sysdeps/x86_64/configure: Regenerated.
19425 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19426 unconditional.
19427 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19428 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19429 unconditional.
19430 (_dl_runtime_profile)
19431 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19432 conditional code.
19433 * sysdeps/x86_64/fpu/multiarch/Makefile
19434 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19436 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19437 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19438 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19439 * sysdeps/x86_64/fpu/multiarch/e_log.c
19440 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19441 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19442 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19443 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19444 Likewise.
19445 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19446 Likewise.
19447 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19448 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19449 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19450 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19451 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19452 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19453 (HAVE_SSE2AVX_SUPPORT): Likewise.
19454
19455 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19456
19457 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19458 instead of #pragma optimize.
19459
19460 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19461
19462 [BZ #17195]
19463 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19464 as is similarly done in systrim and _int_free already.
19465
19466 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19467
19468 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19469
19470 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19471
19472 [BZ #19088]
19473 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19474 <limits.h>.
19475 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19476 overflows but exception would not result from cast.
19477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19478 and <limits.h>.
19479 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19480 overflows but exception would not result from cast.
19481 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19482 <limits.h>.
19483 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19484 overflows but exception would not result from cast.
19485 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19486 <limits.h>.
19487 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19488 overflows but exception would not result from cast.
19489 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19490 <limits.h>.
19491 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19492 overflows but exception would not result from cast.
19493 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19494 <limits.h>.
19495 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19496 overflows but exception would not result from cast.
19497 * math/libm-test.inc (lround_test_data): Add more tests.
19498 (llround_test_data): Likewise.
19499
19500 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19501
19502 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19503 (CFLAGS-ialloc.c): Ditto.
19504 (CFLAGS-scheck.c): Ditto.
19505
19506 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19507
19508 [BZ #19086]
19509 * manual/filesys.texi (Storage Allocation): Fix argument order for
19510 posix_fallocate64.
19511
19512 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19513
19514 [BZ #19085]
19515 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19516 exponent below 48 inside case for non-overflowing exponent.
19517 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19518
19519 2015-10-07 Florian Weimer <fweimer@redhat.com>
19520
19521 * iconvdata/cp737.h (from_idx): Add const.
19522 * iconvdata/cp775.h (from_idx): Likewise.
19523
19524 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19525
19526 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19527 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19528 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19529
19530 [BZ #19079]
19531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19532 file, conditioned on [!_LP64].
19533 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19534 [!_LP64] (__lround): Do not define as function or alias.
19535 [!_LP64] (lround): Likewise.
19536 [!_LP64] (__lroundl): Likewise.
19537 [!_LP64] (lroundl): Likewise.
19538 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19539 macro.
19540 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19541 Likewise.
19542
19543 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19544
19545 * math/libm-test.inc (lrint_test_data): Add more tests.
19546 (llrint_test_data): Likewise.
19547 (lround_test_data): Likewise.
19548 (llround_test_data): Likewise.
19549
19550 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19551 (llrint_test_data): Add tests used for lrint.
19552
19553 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19554 test.
19555 * sysdeps/i386/configure: Regenerated.
19556 * sysdeps/i386/i686/multiarch/Makefile
19557 [$(config-cflags-sse4) = yes]: Make code unconditional.
19558 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19559 Likewise.
19560 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19561 Likewise.
19562 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19563 test.
19564 * sysdeps/x86_64/configure: Regenerated.
19565 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19566 Make code unconditional.
19567 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19568 Likewise.
19569 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19570 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19571
19572 * scripts/rpm2dynsym.sh: Remove file.
19573
19574 2015-10-06 Florian Weimer <fweimer@redhat.com>
19575
19576 * configure.ac (libc_cv_cxx_thread_local): Define.
19577 * configure: Regenerate.
19578 * config.make.in (have-cxx-thread_local): Define.
19579 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19580 (LDLIBS-tst-thread_local1): Define.
19581 (tests): Add tst-thread_local1.
19582 [have-cxx-thread_local != yes] (tests-unsupported): Add
19583 tst-thread_local1.
19584 * nptl/tst-thread_local1.cc: New file.
19585
19586 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19587
19588 [BZ #19078]
19589 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19590 (u_thres): Likewise.
19591 (__expl): Determine whether to call __kernel_standard_l based on
19592 value of result, not argument.
19593
19594 * math/libm-test.inc (scalb_test_data): Add more expectations for
19595 the "inexact" exception.
19596
19597 [BZ #19077]
19598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19599 0.0L for argument 1.0L.
19600
19601 [BZ #19076]
19602 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19603 constant 0.0L when computing infinite result.
19604
19605 2015-10-06 Florian Weimer <fweimer@redhat.com>
19606
19607 [BZ #10432]
19608 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19609 malloc_usable_size.
19610
19611 2015-10-06 Florian Weimer <fweimer@redhat.com>
19612
19613 [BZ #19018]
19614 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19615 Mangle function pointer before storing it.
19616 (__call_tls_dtors): Demangle function pointer before calling it.
19617
19618 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19619
19620 [BZ #19012]
19621 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19622 Clean up on failure.
19623
19624 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19625
19626 [BZ #19071]
19627 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19628 long int variable to store possibly incremented high part of
19629 mantissa.
19630 * math/libm-test.inc (lround_test_data): Add tests used for
19631 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19632 for tests requiring 64-bit long. Do not condition tests on
19633 [TEST_FLOAT] unnecessarily.
19634 (llround_test_data): Add tests used for lround. Add another
19635 expectation for the "inexact" exception. Do not condition tests
19636 on [TEST_FLOAT] unnecessarily.
19637
19638 [BZ #887]
19639 [BZ #19049]
19640 [BZ #19050]
19641 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19642 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19643 <fix-int-fp-convert-zero.h>.
19644 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19645 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19646 <fix-int-fp-convert-zero.h>.
19647 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19648 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19649 <fix-int-fp-convert-zero.h>.
19650 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19651 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19652 <fix-int-fp-convert-zero.h>.
19653 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19654 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19655 <fix-int-fp-convert-zero.h>.
19656 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19657 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19658 <fix-int-fp-convert-zero.h>.
19659 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19660 * sysdeps/ieee754/flt-32/s_erff.c: Include
19661 <fix-int-fp-convert-zero.h>.
19662 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19663 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19664 <fix-int-fp-convert-zero.h>.
19665 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19667 <fix-int-fp-convert-zero.h>.
19668 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19670 <fix-int-fp-convert-zero.h>.
19671 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19672 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19673 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19674 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19675 file.
19676 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19677
19678 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19679
19680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19681
19682 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19683
19684 [BZ #19059]
19685 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19686 overflowing computation.
19687 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19688 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19690 Likewise.
19691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19692 Likewise.
19693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19694 Likewise.
19695 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19696 Likewise.
19697 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19698 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19699 Likewise.
19700 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19701 Likewise.
19702 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19703
19704 * nss/rewrite_field.c (__nss_rewrite_field): Use
19705 internal_function.
19706 * nss/valid_field.c (__nss_valid_field): Likewise.
19707 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19708
19709 2015-10-02 Florian Weimer <fweimer@redhat.com>
19710
19711 [BZ #18724]
19712 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19713 (__nss_invalid_field_characters, __nss_valid_field)
19714 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19715 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19716 tst-field.c: New file.
19717 * nss/Makefile (routines): Add valid_field, rewrite_field.
19718 (tests-static): Define unconditionally.
19719 (tests): Include tests-static.
19720 [build-static-nss] (tests-static): Use append.
19721 [build-static-nss] (tests): Remove modification.
19722 * nss/getent.c (print_group): Call putgrent. Report error.
19723 (print_gshadow): Call putsgent. Report error.
19724 (print_passwd): Call putpwent. Report error.
19725 (print_shadow): Call putspent. Report error.
19726 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19727 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19728 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19729 name, password, directory, shell fields for valid syntax. Rewrite
19730 GECOS field to match syntax.
19731 * pwd/Makefile (tests): Add tst-putpwent.
19732 * pwd/tst-putpwent.c: New file.
19733 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19734 Check grName, grpasswd, gr_mem fields for valid syntax.
19735 Change loop variable i to size_t.
19736 * grp/Makefile (tests): Add tst-putgrent.
19737 * grp/tst-putgrent.c: New file.
19738 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19739 valid syntax.
19740 * shadow/Makefile (tests): Add tst-putspent.
19741 * shadow/tst-putspent.c: New file.
19742 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19743 sg_mem fields for valid syntax.
19744 * gshadow/Makefile (tests): Add tst-putsgent.
19745 * gshadow/tst-putsgent.c: New file.
19746
19747 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19748
19749 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19750 assembly instructions.
19751
19752 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19753
19754 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19755 prefix from operands.
19756
19757 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19758
19759 [BZ #16347]
19760 [BZ #19046]
19761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19762 <libc-internal.h>.
19763 (MAXLGM): Do not use diagnostic control macros.
19764 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19765 threshold for ldbl-128ibm.
19766 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19767 instead of multiplying by log then subtracting.
19768 * math/auto-libm-test-in: Add more tests of lgamma.
19769 * math/auto-libm-test-out: Regenerated.
19770
19771 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19772 (TYPE_HEX_DIG): Likewise.
19773 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19774 precisions when printing floating-point numbers.
19775 (check_float_internal): Likewise.
19776
19777 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19778
19779 [BZ #16620]
19780 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19781 of log (10) rounded downward to 48 bits.
19782 (log10_low): Use corresponding low part of log (10).
19783
19784 [BZ #19032]
19785 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19786 compute result as (x - x) / (x - x) not as 0 / 0.
19787 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19788 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19789
19790 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19791 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19792 and expm1.
19793 * math/auto-libm-test-out: Regenerated.
19794 * math/libm-test.inc (acos_test_data): Add more tests.
19795 (asin_test_data): Likewise.
19796 (asinh_test_data): Likewise.
19797 (atan_test_data): Likewise.
19798 (atanh_test_data): Likewise.
19799 (atan2_test_data): Likewise.
19800 (cbrt_test_data): Likewise.
19801 (ceil_test_data): Likewise.
19802 (copysign_test_data): Likewise.
19803 (cos_test_data): Likewise.
19804 (cosh_test_data): Likewise.
19805 (erf_test_data): Likewise.
19806 (erfc_test_data): Likewise.
19807 (exp_test_data): Likewise.
19808 (exp10_test_data): Likewise.
19809 (exp2_test_data): Likewise.
19810 (expm1_test_data): Likewise.
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19812
19813 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19814
19815 [BZ #19006]
19816 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19817 to ...
19818 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19819 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19820 to ...
19821 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19822 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19823 to ...
19824 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19825 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19826 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19827 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19828 to ...
19829 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19830 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19831 Moved to ...
19832 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19833 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19834 Moved to ...
19835 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19836 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19837 to ...
19838 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19839 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19840 Moved to ...
19841 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19842 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19843 to ...
19844 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19845 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19846 Removed.
19847 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19848 Likewise.
19849 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19850 Likewise.
19851 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19852 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19853 Likewise.
19854 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19855 Likewise.
19856 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19857 Likewise.
19858 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19859 Likewise.
19860 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19861 Likewise.
19862 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19863 Likewise.
19864 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19865 Likewise.
19866 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19867 Likewise.
19868 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19869 Likewise.
19870 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19871 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19872 Likewise.
19873 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19874 Likewise.
19875 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19876 Likewise.
19877 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19878 Likewise.
19879 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19880 Likewise.
19881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19882 Replace ../i486/pthread_cond_timedwait.S with
19883 ../pthread_cond_timedwait.S.
19884
19885 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19886
19887 * math/libm-test.inc (acos_test_data): Refine expectations for
19888 errno and "inexact" exceptions.
19889 (acosh_test_data): Likewise.
19890 (asin_test_data): Likewise.
19891 (asinh_test_data): Likewise.
19892 (atan_test_data): Likewise.
19893 (atanh_test_data): Likewise.
19894 (atan2_test_data): Likewise.
19895 (cbrt_test_data): Likewise.
19896 (ceil_test_data): Likewise.
19897 (copysign_test_data): Likewise.
19898 (cosh_test_data): Likewise.
19899 (erf_test_data): Likewise.
19900 (erfc_test_data): Likewise.
19901 (exp_test_data): Likewise.
19902 (exp10_test_data): Likewise.
19903 (exp2_test_data): Likewise.
19904 (expm1_test_data): Likewise.
19905 (fabs_test_data): Likewise.
19906 (floor_test_data): Likewise.
19907 (fma_test_data): Likewise.
19908 (fmax_test_data): Likewise.
19909 (fmin_test_data): Likewise.
19910 (fmod_test_data): Likewise.
19911 (fpclassify_test_data): Likewise.
19912 (frexp_test_data): Likewise.
19913 (hypot_test_data): Likewise.
19914 (ilogb_test_data): Likewise.
19915 (isgreater_test_data): Likewise.
19916 (isgreaterequal_test_data): Likewise.
19917 (isinf_test_data): Likewise.
19918 (isless_test_data): Likewise.
19919 (islessequal_test_data): Likewise.
19920 (islessgreater_test_data): Likewise.
19921 (isnan_test_data): Likewise.
19922 (isnormal_test_data): Likewise.
19923 (issignaling_test_data): Likewise.
19924 (isunordered_test_data): Likewise.
19925 (j0_test_data): Likewise.
19926 (j1_test_data): Likewise.
19927 (jn_test_data): Likewise.
19928 (lgamma_test_data): Likewise.
19929 (lrint_test_data): Likewise.
19930 (llrint_test_data): Likewise.
19931 (log_test_data): Likewise.
19932 (log10_test_data): Likewise.
19933 (log1p_test_data): Likewise.
19934 (log2_test_data): Likewise.
19935 (logb_test_data): Likewise.
19936 (lround_test_data): Likewise.
19937 (llround_test_data): Likewise.
19938 (modf_test_data): Likewise.
19939 (nearbyint_test_data): Likewise.
19940 (nextafter_test_data): Likewise.
19941 (nexttoward_test_data): Likewise.
19942 (pow_test_data): Likewise.
19943 (remainder_test_data): Likewise.
19944 (remquo_test_data): Likewise.
19945 (rint_test_data): Likewise.
19946 (round_test_data): Likewise.
19947 (signbit_test_data): Likewise.
19948 (sinh_test_data): Likewise.
19949 (sqrt_test_data): Likewise.
19950 (tanh_test_data): Likewise.
19951 (tgamma_test_data): Likewise.
19952 (trunc_test_data): Likewise.
19953 (y0_test_data): Likewise.
19954 (y1_test_data): Likewise.
19955 (yn_test_data): Likewise.
19956 (significand_test_data): Likewise.
19957
19958 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19959
19960 * manual/filesys.texi (Storage Allocation): Document that
19961 posix_fallocate emulation fails when fd is open with O_WRONLY.
19962
19963 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19964
19965 [BZ #19016]
19966 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19967 allow more cases with X^2 + Y^2 >= 0.5.
19968 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19969 normal element in sum instead of special-casing based on values of
19970 arguments.
19971 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19972 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19973 -1 as normal element in sum instead of special-casing based on
19974 values of arguments.
19975 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19976 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19977 (__x2y2m1): Update comment.
19978 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19979 as normal element in sum instead of special-casing based on values
19980 of arguments.
19981 * math/s_clog.c (__clog): Handle more cases using log1p without
19982 hypot.
19983 * math/s_clog10.c (__clog10): Likewise.
19984 * math/s_clog10f.c (__clog10f): Likewise.
19985 * math/s_clog10l.c (__clog10l): Likewise.
19986 * math/s_clogf.c (__clogf): Likewise.
19987 * math/s_clogl.c (__clogl): Likewise.
19988 * math/auto-libm-test-in: Add more tests of clog and clog10.
19989 * math/auto-libm-test-out: Regenerated.
19990 * sysdeps/i386/fpu/libm-test-ulps: Update.
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19992
19993 2015-09-28 Martin Sebor <msebor@redhat.com>
19994
19995 [BZ #18969]
19996 * string/Makefile (LOCALES): Define.
19997 (gen-locales.mk): Include.
19998 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19999 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20000 * string/tst-strxfrm2.c (do_test): Print the name of the locale
20001 on setlocale failure.
20002
20003 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20004
20005 [BZ #18985]
20006 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20007 (__strftime_internal): Likewise.
20008 * time/tst-strftime.c (do_bz18985): New test.
20009 (do_test): Call it.
20010
20011 2015-09-26 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #18956]
20014 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20015 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
20016 extracting high part.
20017 * math/auto-libm-test-in: Add another test of pow.
20018 * math/auto-libm-test-out: Regenerated.
20019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20020
20021 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20022
20023 [BZ #18825]
20024 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20025 New macro.
20026 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20027 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20028 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20029 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20030 DBL_NARROW_EVAL, reloading the PIC register as needed.
20031 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20032 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20033 FLT_NARROW_EVAL. Use separate return path for case when first
20034 argument is NaN.
20035 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
20036 DEFINE_LDBL_MIN.
20037 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20038 PIC register.
20039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20040 math_check_force_underflow_nonneg.
20041 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20042 underflow for subnormal result.
20043 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20045 math_check_force_underflow_nonneg.
20046 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20047 math_check_force_underflow.
20048 * sysdeps/x86_64/fpu/x86_64-math-asm.h
20049 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20050 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
20051 DEFINE_LDBL_MIN.
20052 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20053 * math/auto-libm-test-in: Add more tests of pow.
20054 * math/auto-libm-test-out: Regenerated.
20055
20056 2015-09-25 Florian Weimer <fweimer@redhat.com>
20057
20058 * nss/bug17079.c (init_test_items): Add diagnostic for
20059 inconsistent entries.
20060 (test_buffer_size): Skip inconsistent entries.
20061
20062 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20063
20064 [BZ #13304]
20065 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20066 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20067 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20068
20069 [BZ #13304]
20070 * sysdeps/microblaze/s_fma.c: New file.
20071 * sysdeps/microblaze/s_fmaf.c: Likewise.
20072 * sysdeps/microblaze/sfp-machine.h: Likewise.
20073
20074 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
20075
20076 [BZ #17250]
20077 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20078 member.
20079
20080 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20081
20082 [BZ #18803]
20083 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20084 (MO): New macro.
20085 (__ieee754_hypot) [PIC]: Load PIC register.
20086 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20087 DBL_NARROW_EVAL.
20088 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20089 math_check_force_underflow_nonneg in case where result might be
20090 tiny.
20091 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20092 Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20094 Likewise.
20095 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20096 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20097 * math/auto-libm-test-in: Add more tests of hypot.
20098 * math/auto-libm-test-out: Regenerated.
20099
20100 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
20101
20102 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20103
20104 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20105
20106 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20107 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20108 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20109 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20110 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20111 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20112 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20113
20114 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20115 LOAD_PIC_REG.
20116
20117 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20118 (FLT_CHECK_FORCE_UFLOW): Likewise.
20119 (DBL_CHECK_FORCE_UFLOW): Likewise.
20120 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20121 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20122 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20123 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20124 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20125 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20126 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20127 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20128 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20129 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20130 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20131 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20132 (flt_min): Replace with use of DEFINE_FLT_MIN.
20133 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20134 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20135 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20136 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20137 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20138 (flt_min): Replace with use of DEFINE_FLT_MIN.
20139 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20140 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20141 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20142 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20143 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20144 (flt_min): Replace with use of DEFINE_FLT_MIN.
20145 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20146 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20147 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20148 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20149 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20150 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20151 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20152 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20153 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20154 (__atan): Use DBL_CHECK_FORCE_UFLOW.
20155 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20156 (flt_min): Replace with use of DEFINE_FLT_MIN.
20157 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20158 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20159 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20160 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
20161 main computation.
20162 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20163 (flt_min): Replace with use of DEFINE_FLT_MIN.
20164 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
20165 main computation.
20166 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20167 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20168 (MO): New macro.
20169 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20170 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20171 (flt_min): Replace with use of DEFINE_FLT_MIN.
20172 (MO): New macro.
20173 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20174 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20175 (__log1pl): Use MO.
20176
20177 [BZ #19003]
20178 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20179 $(config-cflags-nofma).
20180
20181 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20182
20183 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20184
20185 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20186
20187 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20188 (TWO127): Likewise.
20189
20190 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20191 (min_of_type): Likewise.
20192 (math_check_force_underflow): Likewise.
20193 (math_check_force_underflow_nonneg): Likewise.
20194 (math_check_force_underflow_complex): Likewise.
20195 * math/e_exp2l.c (__ieee754_exp2l): Use
20196 math_check_force_underflow_nonneg.
20197 * math/k_casinh.c (__kernel_casinh): Likewise.
20198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20200 * math/s_catan.c (__catan): Use
20201 math_check_force_underflow_complex.
20202 * math/s_catanf.c (__catanf): Likewise.
20203 * math/s_catanh.c (__catanh): Likewise.
20204 * math/s_catanhf.c (__catanhf): Likewise.
20205 * math/s_catanhl.c (__catanhl): Likewise.
20206 * math/s_catanl.c (__catanl): Likewise.
20207 * math/s_ccosh.c (__ccosh): Likewise.
20208 * math/s_ccoshf.c (__ccoshf): Likewise.
20209 * math/s_ccoshl.c (__ccoshl): Likewise.
20210 * math/s_cexp.c (__cexp): Likewise.
20211 * math/s_cexpf.c (__cexpf): Likewise.
20212 * math/s_cexpl.c (__cexpl): Likewise.
20213 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20214 * math/s_clog10.c (__clog10): Likewise.
20215 * math/s_clog10f.c (__clog10f): Likewise.
20216 * math/s_clog10l.c (__clog10l): Likewise.
20217 * math/s_clogf.c (__clogf): Likewise.
20218 * math/s_clogl.c (__clogl): Likewise.
20219 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20220 * math/s_csinf.c (__csinf): Likewise.
20221 * math/s_csinh.c (__csinh): Likewise.
20222 * math/s_csinhf.c (__csinhf): Likewise.
20223 * math/s_csinhl.c (__csinhl): Likewise.
20224 * math/s_csinl.c (__csinl): Likewise.
20225 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20226 * math/s_csqrtf.c (__csqrtf): Likewise.
20227 * math/s_csqrtl.c (__csqrtl): Likewise.
20228 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20229 * math/s_ctanf.c (__ctanf): Likewise.
20230 * math/s_ctanh.c (__ctanh): Likewise.
20231 * math/s_ctanhf.c (__ctanhf): Likewise.
20232 * math/s_ctanhl.c (__ctanhl): Likewise.
20233 * math/s_ctanl.c (__ctanl): Likewise.
20234 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20235 instead of volatile.
20236 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20237 math_check_force_underflow.
20238 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20239 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20240 volatile when forcing underflow.
20241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20242 math_check_force_underflow_nonneg.
20243 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20244 Likewise.
20245 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20246 math_check_force_underflow.
20247 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20248 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20249 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20250 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20251 math_check_force_underflow_nonneg.
20252 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20253 math_check_force_underflow.
20254 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20256 instead of volatile.
20257 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20258 math_check_force_underflow.
20259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20260 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20261 math_check_force_underflow_nonneg.
20262 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20263 math_check_force_underflow.
20264 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20265 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20266 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20267 math_check_force_underflow_nonneg.
20268 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20269 Likewise.
20270 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20271 math_check_force_underflow.
20272 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20273 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20274 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20275 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20276 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20277 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20278 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20279 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20280 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20281 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20282 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20283 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20284 Likewise.
20285 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20286 math_check_force_underflow_nonneg.
20287 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20288 Likewise.
20289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20290 math_check_force_underflow.
20291 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20292 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20293 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20294 Likewise.
20295 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20296 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20297 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20298 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20299 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20300 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20302 instead of volatile.
20303 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20304 math_check_force_underflow.
20305 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20307 math_check_force_underflow.
20308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20309 Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20311 Use math_check_force_underflow_nonneg.
20312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20313 math_check_force_underflow.
20314 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20315 Likewise.
20316 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20317 Likewise.
20318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20319 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20320 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20324 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20325 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20327 math_check_force_underflow_nonneg.
20328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20329 math_check_force_underflow.
20330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20331 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20332 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20333 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20334 math_check_force_underflow_nonneg.
20335 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20336 math_check_force_underflow.
20337 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20339 instead of volatile.
20340 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20341 math_check_force_underflow.
20342
20343 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20344 * stdlib/strtod_l.c: Include <math_private.h>.
20345 (overflow_value): Use math_narrow_eval.
20346 (underflow_value): Likewise.
20347 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20348 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20349 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20350 (__ieee754_gamma_r): Likewise.
20351 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20352 Likewise.
20353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20354 Likewise.
20355 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20356 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20357 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20358 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20359 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20360 (__ieee754_gammaf_r): Likewise.
20361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20362 Likewise.
20363 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20365 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20366 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20368 volatile.
20369 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20371 math_narrow_eval.
20372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20373 Likewise.
20374 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20375 Likewise.
20376 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20377 Likewise.
20378 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20379 volatile.
20380 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20382 math_narrow_eval.
20383 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20384 Likewise.
20385 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20386 Likewise.
20387
20388 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20389
20390 * nptl/Versions: Remove ignored symbols.
20391
20392 2015-09-22 Florian Weimer <fweimer@redhat.com>
20393
20394 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20395 * nss/Makefile (tests): Update.
20396
20397 2015-09-22 Florian Weimer <fweimer@redhat.com>
20398
20399 * nss/bug18287.c: New file.
20400 * nss/Makefile (tests): Add bug18287.
20401
20402 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20403
20404 * mach/Versions (__mach_host_self_): Add symbol.
20405
20406 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20407
20408 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20409 vm_page_size.
20410
20411 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20412
20413 Really fix sysdeps/i386/fpu/s_scalbn.S build
20414
20415 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20416 (libc: GLIBC_2_22): Remove unused version set.
20417
20418 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20419
20420 * config.make.in (enable-timezone-tools): New variable.
20421 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20422 (enable_timezone_tools): Export to generated files.
20423 * configure: Regenerate.
20424 * INSTALL: Regenerate.
20425 * manual/install.texi (--disable-timezone-tools): Document new flag.
20426 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20427 ifeq ($(enable-timezone-tools),yes) check.
20428
20429 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20430
20431 * timezone/Makefile: Revert previous change.
20432
20433 [BZ #18980]
20434 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20435 (DEFINE_DBL_MIN): Likewise.
20436 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20437 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20438 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20439 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20440 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20441 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20442 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20443 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20444 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20445 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20446 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20447 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20448 (flt_min): Replace with use of DEFINE_FLT_MIN.
20449 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20450 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20451 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20452 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20453 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20454 (flt_min): Replace with use of DEFINE_FLT_MIN.
20455 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20456 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20457 (flt_min): Replace with use of DEFINE_FLT_MIN.
20458 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20459 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20460 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20461 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20462 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20463 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20464 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20465 (__ieee754_pow): Use DBL_NARROW_EVAL.
20466 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20467 (__ieee754_powf): Use FLT_NARROW_EVAL.
20468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20469 (__ieee754_expf_sse2): Convert double-precision result to single
20470 precision.
20471 * sysdeps/i386/fpu/libm-test-ulps: Update.
20472
20473 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20474
20475 * timezone/Makefile: Ignore unused variable errors due to private.h
20476 (time_t_min) and (time_t_max).
20477 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20478 Likewise.
20479
20480 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20481
20482 [BZ #18981]
20483 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20484 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20485 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20486 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20487 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20488 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20489 (__scalbn): Use DBL_NARROW_EVAL.
20490 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20491 (__scalbnf): Use FLT_NARROW_EVAL.
20492
20493 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20494
20495 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20496 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20497 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20498 * stdio-common/printf_fp.c (___printf_fp):
20499 Use signbit to get the sign. Use isinf macro to allow inlining.
20500 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20501 * stdio-common/printf_size.c (__printf_size): Likewise.
20502
20503 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20504
20505 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20506
20507 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20508
20509 [BZ #18980]
20510 * sysdeps/generic/math_private.h: Include <float.h>.
20511 (math_narrow_eval): New macro.
20512 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20513 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20514 math_narrow_eval on overflowing return value.
20515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20516 Likewise.
20517 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20518 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20519 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20520 Likewise.
20521 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20522
20523 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20524
20525 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20526 * math/Makefile: Remove isinf_ns.c.
20527 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20528 * math/multc3.c (__multc3): Likewise.
20529 * math/s_casin.c (__casin): Likewise.
20530 * math/s_casinf.c (__casinf): Likewise.
20531 * math/s_casinl.c (__casinl): Likewise.
20532 * math/s_cproj.c (__cproj): Likewise.
20533 * math/s_cprojf.c (__cprojf): Likewise.
20534 * math/s_cprojl.c (__cprofl): Likewise.
20535 * math/s_ctan.c (__ctan): Likewise.
20536 * math/s_ctanf.c (__ctanf): Likewise.
20537 * math/s_ctanh.c (__ctanh): Likewise.
20538 * math/s_ctanhf.c (__ctanhf): Likewise.
20539 * math/s_ctanhl.c (__ctanhl): Likewise.
20540 * math/s_ctanl.c (__ctanl): Likewise.
20541 * math/w_fmod.c (__fmod): Likewise.
20542 * math/w_fmodf.c (__fmodf): Likewise.
20543 * math/w_fmodl.c (_fmodl): Likewise.
20544 * math/w_remainder.c (__remainder): Likewise.
20545 * math/w_remainderf.c (__remainderf): Likewise.
20546 * math/w_remainderl.c (__remainderl): Likewise.
20547 * math/w_scalb.c (__scalb): Likewise.
20548 * math/w_scalbf.c (__scalbf): Likewise.
20549 * math/w_scalbl.c (__scalbl): Likewise.
20550 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20551 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20552 with isinf.
20553 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20555 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20556 __isinf_nsf with isinf.
20557 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20558 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20559 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20560 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20561 with isinf.
20562 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20563 __isinf_nsl with isinf.
20564 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20565 with isinf.
20566 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20567 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20568 __isinf_nsl with isinf.
20569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20570 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20571 with isinf.
20572
20573 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20574
20575 * resolv/base64.c (rcsid): Remove unused static.
20576 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20577 static. (tqpi1): Likewise.
20578 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20579 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20580 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20581 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20582 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20583 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20585 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20586 Likewise.
20587
20588 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20589
20590 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20591 <nptl/pthreadP.h>.
20592 (_longjmp_unwind): Use __libc_ptf_call.
20593 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20594
20595 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20596
20597 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20598 * sysdeps/arm/__longjmp.S: Likewise.
20599
20600 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20601
20602 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20603 Use __builtin_signbit.
20604 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20605 Use __builtin_signbitf.
20606 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20607 Use __builtin_signbitl.
20608 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20609 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20610
20611 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20612
20613 [BZ #15367]
20614 [BZ #17441]
20615
20616 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20617 * math/math.h (fpclassify): Use __builtin_fpclassify when
20618 available. (signbit): Use __builtin_signbit(f/l).
20619 (isfinite): Use__builtin_isfinite. (isnormal): Use
20620 __builtin_isnormal. (isnan): Use __builtin_isnan.
20621 (isinf): Use __builtin_isinf_sign.
20622
20623 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20624
20625 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20626 * benchtests/bench-math-inlines.c: New benchmark.
20627 * benchtests/bench-util.h: New file.
20628 * benchtests/bench-util.c: New file.
20629 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20630
20631 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20632
20633 * elf/tst-dlmopen1.c: Define TEST_SO.
20634 (do_test): Use TEST_SO.
20635
20636 * elf/dl-load.c: Include libc-internal.h.
20637 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20638
20639 2015-09-18 Vincent Bernat <vincent@bernat.im>
20640
20641 [BZ #17887]
20642 * time/strptime_l.c (__strptime_internal): Make %z accept
20643 [+-]HH:MM time zones.
20644
20645 2015-09-18 Vincent Bernat <vincent@bernat.im>
20646
20647 [BZ #17886]
20648 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20649 valid time zone.
20650
20651 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20652
20653 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20654 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20656 (__ASSUME_FDATASYNC): Delete.
20657
20658 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20659
20660 * conform/linknamespace.pl: Require weak undefined symbols to be
20661 in the standard namespace.
20662 (%strong_syms): Rename to %seen_syms.
20663 (%strong_seen): Rename to %seen_where.
20664
20665 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20666
20667 [BZ #18970]
20668 * misc/error.c (error): Replace pthread_setcancelstate with
20669 __pthread_setcancelstate.
20670 (error_at_line): Likewise.
20671 * posix/wordexp.c (parse_comm): Likewise.
20672 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20673 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20674 (__pthread_setcancelstate): This.
20675 (pthread_setcancelstate): Add an alias.
20676 * nptl/nptl-init.c (pthread_functions): Replace
20677 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20678 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20679 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20680 hidden_proto.
20681 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20682 it with hidden_def.
20683 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20684 (pthread_setcancelstate): Renamed to ...
20685 (__pthread_setcancelstate): This.
20686 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20687 __libc_ptf_call with __pthread_setcancelstate.
20688
20689 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20690 Andreas Schwab <schwab@suse.de>
20691
20692 [BZ #17118]
20693 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20694 result when imaginary part of argument is infinite using sine and
20695 cosine.
20696 * math/s_ctanf.c (__ctanf): Likewise.
20697 * math/s_ctanl.c (__ctanl): Likewise.
20698 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20699 of result when real part of argument is infinite using sine and
20700 cosine.
20701 * math/s_ctanhf.c (__ctanhf): Likewise.
20702 * math/s_ctanhl.c (__ctanhl): Likewise.
20703 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20704 (ctanh_test_data): Add more tests of ctanh.
20705
20706 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20707
20708 [BZ #15384]
20709 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20710 bit-mask as in subtraction.
20711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20712 Likewise.
20713 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20714 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20715 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20716
20717 [BZ #18951]
20718 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20719 underflow exception for small results.
20720 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20721 Likewise.
20722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20723 Likewise.
20724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20725 Likewise.
20726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20727 Likewise.
20728 * math/auto-libm-test-in: Add more tests of tgamma.
20729 * math/auto-libm-test-out: Regenerated.
20730
20731 2015-09-17 Andreas Schwab <schwab@suse.de>
20732
20733 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20734
20735 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20736
20737 [BZ #18977]
20738 * math/bits/mathcalls.h
20739 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20740 not declare.
20741 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20742 Likewise.
20743 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20744 Likewise.
20745 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20746 Likewise.
20747 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20748 Likewise.
20749 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20750 Likewise.
20751 * conform/data/math.h-data
20752 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20753 function.
20754 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20755 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20756 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20757 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20758 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20759 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20760 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20761 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20762 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20763 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20764 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20765
20766 [BZ #6803]
20767 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20768 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20769 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20770 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20771 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20772 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20773 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20774 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20775 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20777 Likewise.
20778 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20779 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20782 long_double_symbol calls.
20783 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20784 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20785 strong alias of __ldexpl.
20786 (scalbnl): Define using long_double_symbol.
20787 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20788 Remove alias.
20789 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20790 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20791 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20792 (scalbln_test_data): Add more errno expectations.
20793
20794 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20795
20796 Cache the host port like we cache the task port. This way we do not
20797 need to call the kernel just to get the port. Furthermore, we no
20798 longer increase the reference count on every invocation of
20799 `mach_host_self'.
20800
20801 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20802 Protect declarations against the macro expansion.
20803 * mach/mach_init.c (__mach_host_self_): New variable.
20804 (mach_init): Initialize `__mach_host_self_'.
20805 * mach/mach_init.h (__mach_host_self_): New declaration.
20806 (__mach_host_self, mach_host_self): New macros.
20807 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20808 Release reference.
20809
20810 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20811
20812 [BZ #4404]
20813 * po/de.po: Update from Translation Project.
20814
20815 [BZ #16415]
20816 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20817 (__expm1l): Remove code to handle positive infinity and overflow.
20818 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20819 variable.
20820 (__expm1l): Remove code to handle positive infinity and overflow.
20821
20822 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20823 Paul Pluzhnikov <ppluzhnikov@google.com>
20824
20825 [BZ #18872]
20826 * stdio-common/Makefile (tst-printf-bz18872): New test.
20827 (tst-printf-bz18872-mem.out): Likewise.
20828 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20829 * stdio-common/vfprintf.c: Fix memory leaks.
20830
20831 2015-09-16 Andreas Schwab <schwab@suse.de>
20832
20833 [BZ #17244]
20834 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20835 Remove extra va_start/va_end calls.
20836
20837 [BZ #17243]
20838 * posix/execl.c (execl): Add missing va_end.
20839 * posix/execle.c (execle): Likewise.
20840 * posix/execlp.c (execlp): Likewise.
20841
20842 2015-09-15 Roland McGrath <roland@hack.frob.com>
20843
20844 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20845 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20846
20847 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20848
20849 [BZ #18967]
20850 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20851 undefine around includes of <bits/mathcalls.h>.
20852 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20853 not declare function.
20854 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20855 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20856 (scalb): Likewise.
20857 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20858 not define macro.
20859 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20860 variable.
20861 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20862 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20863 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20864
20865 [BZ #18857]
20866 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20867 return non-finite argument without doing ordered comparisons on
20868 it.
20869
20870 [BZ #16296]
20871 * math/fenv.h (fegetround): Use __attribute_pure__.
20872 * include/fenv.h (__fegetround): Likewise.
20873
20874 [BZ #18595]
20875 * math/s_ctan.c (__ctan): Force underflow exception for results
20876 whose real or imaginary part has small absolute value.
20877 * math/s_ctanf.c (__ctanf): Likewise.
20878 * math/s_ctanh.c (__ctanh): Likewise.
20879 * math/s_ctanhf.c (__ctanhf): Likewise.
20880 * math/s_ctanhl.c (__ctanhl): Likewise.
20881 * math/s_ctanl.c (__ctanl): Likewise.
20882 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20883 and ctanh. Add more tests of ctan and ctanh.
20884
20885 [BZ #15918]
20886 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20887 handling of cases where one argument is an infinity.
20888
20889 [BZ #18875]
20890 [BZ #18966]
20891 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20892 (MO): New macro.
20893 (__ieee754_exp10): For small results, force underflow exception
20894 and remove excess range and precision from return value.
20895 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20896 (MO): New macro.
20897 (__ieee754_exp10f): For small results, force underflow exception
20898 and remove excess range and precision from return value.
20899 * math/auto-libm-test-in: Add more tests of exp10.
20900 * math/auto-libm-test-out: Regenerated.
20901
20902 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20903
20904 [BZ #18875]
20905 [BZ #18961]
20906 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20907 (MO): New macro.
20908 (__ieee754_exp): For small results, force underflow exception and
20909 remove excess range and precision from return value.
20910 (__exp_finite): Likewise.
20911 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20912 (MO): New macro.
20913 (__ieee754_expf): For small results, force underflow exception and
20914 remove excess range and precision from return value.
20915 (__expf_finite): Likewise.
20916 * math/auto-libm-test-in: Add more tests of exp.
20917 * math/auto-libm-test-out: Regenerated.
20918
20919 [BZ #16521]
20920 [BZ #18875]
20921 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20922 small results.
20923 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20924 (MO): New macro.
20925 (__ieee754_exp2): For small results, force underflow exception and
20926 remove excess range and precision from return value.
20927 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20928 (MO): New macro.
20929 (__ieee754_exp2f): For small results, force underflow exception
20930 and remove excess range and precision from return value.
20931 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20932 (MO): New macro.
20933 (__ieee754_exp2l): Force underflow exception for small results.
20934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20935 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20936 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20937 (MO): New macro.
20938 (__ieee754_exp2l): Force underflow exception for small results.
20939 * math/auto-libm-test-in: Add more tests or exp2.
20940 * math/auto-libm-test-out: Regenerated.
20941
20942 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20943
20944 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20945
20946 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20947 /dev/null.
20948
20949 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20950
20951 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20952 io fs process)): Drop spurious backslash.
20953
20954 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20955
20956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20957 Use sysinfo system call instead of parsing /proc/meminfo.
20958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20959 Likewise.
20960
20961 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20962
20963 [BZ #16985]
20964 * programs/localedef.c (main): Display argv[remaining] when
20965 output_path is NULL.
20966
20967 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20968
20969 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20970 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20971 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20972 tanh.
20973 * math/auto-libm-test-out: Regenerated.
20974 * sysdeps/i386/fpu/libm-test-ulps: Update.
20975 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20976 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20978
20979 2015-09-11 Roland McGrath <roland@hack.frob.com>
20980
20981 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20982 Use 'override' keyword to freeze the value here, preventing
20983 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20984
20985 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20986
20987 [BZ #14912]
20988 * sysdeps/aarch64/bits/atomic.h: Move to ...
20989 * sysdeps/aarch64/atomic-machine.h: ...here.
20990 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20991 _AARCH64_ATOMIC_MACHINE_H.
20992 * sysdeps/alpha/bits/atomic.h: Move to ...
20993 * sysdeps/alpha/atomic-machine.h: ...here.
20994 * sysdeps/arm/bits/atomic.h: Move to ...
20995 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20996 * bits/atomic.h: Move to ...
20997 * sysdeps/generic/atomic-machine.h: ...here.
20998 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20999 * sysdeps/i386/bits/atomic.h: Move to ...
21000 * sysdeps/i386/atomic-machine.h: ...here.
21001 * sysdeps/ia64/bits/atomic.h: Move to ...
21002 * sysdeps/ia64/atomic-machine.h: ...here.
21003 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21004 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21005 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21006 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21007 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21008 * sysdeps/microblaze/bits/atomic.h: Move to ...
21009 * sysdeps/microblaze/atomic-machine.h: ...here.
21010 * sysdeps/mips/bits/atomic.h: Move to ...
21011 * sysdeps/mips/atomic-machine.h: ...here.
21012 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21013 * sysdeps/powerpc/bits/atomic.h: Move to ...
21014 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
21015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21016 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
21017 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
21018 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21019 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
21020 <atomic-machine.h> instead of <bits/atomic.h>.
21021 * sysdeps/s390/bits/atomic.h: Move to ...
21022 * sysdeps/s390/atomic-machine.h: ...here.
21023 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21024 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21025 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21026 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21027 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21028 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21029 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21030 * sysdeps/tile/bits/atomic.h: Move to ...
21031 * sysdeps/tile/atomic-machine.h: ...here.
21032 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21033 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
21034 <sysdeps/tile/atomic-machine.h> instead of
21035 <sysdeps/tile/bits/atomic.h>.
21036 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21037 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21038 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
21039 <sysdeps/tile/atomic-machine.h> instead of
21040 <sysdeps/tile/bits/atomic.h>.
21041 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21042 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21043 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
21044 <sysdeps/arm/atomic-machine.h> instead of
21045 <sysdeps/arm/bits/atomic.h>.
21046 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21047 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21048 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21049 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21050 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21051 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21052 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21053 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21054 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21055 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21056 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21057 * sysdeps/x86_64/bits/atomic.h: Move to ...
21058 * sysdeps/x86_64/atomic-machine.h: ...here.
21059 * include/atomic.h: Include <atomic-machine.h> instead of
21060 <bits/atomic.h>.
21061
21062 * sysdeps/mips/mips32/libm-test-ulps: Update.
21063 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21064
21065 [BZ #18952]
21066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21067 not convert non-integer negative arguments to int to determine the
21068 value of signgam.
21069 * math/auto-libm-test-in: Add more tests of lgamma.
21070 * math/auto-libm-test-out: Regenerated.
21071
21072 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21073 cosh, csqrt, erfc, expm1 and lgamma.
21074 * math/auto-libm-test-out: Regenerated.
21075 * sysdeps/i386/fpu/libm-test-ulps: Update.
21076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21077
21078 2015-09-10 Joseph Myers <joseph@codesourcery.com>
21079
21080 [BZ #2542]
21081 [BZ #2543]
21082 [BZ #2558]
21083 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21084 __lgamma_neg for arguments from -28.0 to -2.0.
21085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21086 __lgamma_negf for arguments from -15.0 to -2.0.
21087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21088 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21089 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21090 Call __lgamma_negl for arguments from -33.0 to -2.0.
21091 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21092 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21093 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21094 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21102 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21103 (__lgamma_neg): Likewise.
21104 (__lgamma_negl): Likewise.
21105 (__lgamma_product): Likewise.
21106 (__lgamma_productl): Likewise.
21107 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21108 * math/auto-libm-test-in: Add more tests of lgamma.
21109 * math/auto-libm-test-out: Regenerated.
21110 * sysdeps/i386/fpu/libm-test-ulps: Update.
21111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21112
21113 2015-09-09 Justin Maggard <jmaggard@netgear.com>
21114
21115 [BZ #18675]
21116 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21117
21118 2015-09-08 Joseph Myers <joseph@codesourcery.com>
21119
21120 [BZ #14912]
21121 * bits/libc-lock.h: Move to ...
21122 * sysdeps/generic/libc-lock.h: ...here.
21123 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21124 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21125 * sysdeps/mach/hurd/libc-lock.h: ...here.
21126 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21127 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21128 * sysdeps/mach/bits/libc-lock.h: Move to ...
21129 * sysdeps/mach/libc-lock.h: ...here.
21130 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21131 * sysdeps/nptl/bits/libc-lock.h: Move to ...
21132 * sysdeps/nptl/libc-lock.h: ...here.
21133 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21134 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21135 * sysdeps/nptl/libc-lockP.h: ...here.
21136 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21137 * crypt/crypt_util.c: Include <libc-lock.h> instead of
21138 <bits/libc-lock.h>.
21139 * dirent/scandir-tail.c: Likewise.
21140 * dlfcn/dlerror.c: Likewise.
21141 * elf/dl-close.c: Likewise.
21142 * elf/dl-iteratephdr.c: Likewise.
21143 * elf/dl-lookup.c: Likewise.
21144 * elf/dl-open.c: Likewise.
21145 * elf/dl-support.c: Likewise.
21146 * elf/dl-writev.h: Likewise.
21147 * elf/rtld.c: Likewise.
21148 * grp/fgetgrent.c: Likewise.
21149 * gshadow/fgetsgent.c: Likewise.
21150 * gshadow/sgetsgent.c: Likewise.
21151 * iconv/gconv_conf.c: Likewise.
21152 * iconv/gconv_db.c: Likewise.
21153 * iconv/gconv_dl.c: Likewise.
21154 * iconv/gconv_int.h: Likewise.
21155 * iconv/gconv_trans.c: Likewise.
21156 * include/link.h: Likewise.
21157 * inet/getnameinfo.c: Likewise.
21158 * inet/getnetgrent.c: Likewise.
21159 * inet/getnetgrent_r.c: Likewise.
21160 * intl/bindtextdom.c: Likewise.
21161 * intl/dcigettext.c: Likewise.
21162 * intl/finddomain.c: Likewise.
21163 * intl/gettextP.h: Likewise.
21164 * intl/loadmsgcat.c: Likewise.
21165 * intl/localealias.c: Likewise.
21166 * intl/textdomain.c: Likewise.
21167 * libidn/idn-stub.c: Likewise.
21168 * libio/libioP.h: Likewise.
21169 * locale/duplocale.c: Likewise.
21170 * locale/freelocale.c: Likewise.
21171 * locale/newlocale.c: Likewise.
21172 * locale/setlocale.c: Likewise.
21173 * login/getutent_r.c: Likewise.
21174 * login/getutid_r.c: Likewise.
21175 * login/getutline_r.c: Likewise.
21176 * login/utmp-private.h: Likewise.
21177 * login/utmpname.c: Likewise.
21178 * malloc/mtrace.c: Likewise.
21179 * misc/efgcvt.c: Likewise.
21180 * misc/error.c: Likewise.
21181 * misc/fstab.c: Likewise.
21182 * misc/getpass.c: Likewise.
21183 * misc/mntent.c: Likewise.
21184 * misc/syslog.c: Likewise.
21185 * nis/nis_call.c: Likewise.
21186 * nis/nis_callback.c: Likewise.
21187 * nis/nss-default.c: Likewise.
21188 * nis/nss_compat/compat-grp.c: Likewise.
21189 * nis/nss_compat/compat-initgroups.c: Likewise.
21190 * nis/nss_compat/compat-pwd.c: Likewise.
21191 * nis/nss_compat/compat-spwd.c: Likewise.
21192 * nis/nss_nis/nis-alias.c: Likewise.
21193 * nis/nss_nis/nis-ethers.c: Likewise.
21194 * nis/nss_nis/nis-grp.c: Likewise.
21195 * nis/nss_nis/nis-hosts.c: Likewise.
21196 * nis/nss_nis/nis-network.c: Likewise.
21197 * nis/nss_nis/nis-proto.c: Likewise.
21198 * nis/nss_nis/nis-pwd.c: Likewise.
21199 * nis/nss_nis/nis-rpc.c: Likewise.
21200 * nis/nss_nis/nis-service.c: Likewise.
21201 * nis/nss_nis/nis-spwd.c: Likewise.
21202 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21203 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21204 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21205 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21206 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21207 * nis/nss_nisplus/nisplus-network.c: Likewise.
21208 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21209 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21210 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21211 * nis/nss_nisplus/nisplus-service.c: Likewise.
21212 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21213 * nis/ypclnt.c: Likewise.
21214 * nptl/libc_pthread_init.c: Likewise.
21215 * nss/getXXbyYY.c: Likewise.
21216 * nss/getXXent.c: Likewise.
21217 * nss/getXXent_r.c: Likewise.
21218 * nss/nss_db/db-XXX.c: Likewise.
21219 * nss/nss_db/db-netgrp.c: Likewise.
21220 * nss/nss_db/nss_db.h: Likewise.
21221 * nss/nss_files/files-XXX.c: Likewise.
21222 * nss/nss_files/files-alias.c: Likewise.
21223 * nss/nsswitch.c: Likewise.
21224 * posix/regex_internal.h: Likewise.
21225 * posix/wordexp.c: Likewise.
21226 * pwd/fgetpwent.c: Likewise.
21227 * resolv/res_hconf.c: Likewise.
21228 * resolv/res_libc.c: Likewise.
21229 * shadow/fgetspent.c: Likewise.
21230 * shadow/lckpwdf.c: Likewise.
21231 * shadow/sgetspent.c: Likewise.
21232 * socket/opensock.c: Likewise.
21233 * stdio-common/reg-modifier.c: Likewise.
21234 * stdio-common/reg-printf.c: Likewise.
21235 * stdio-common/reg-type.c: Likewise.
21236 * stdio-common/vfprintf.c: Likewise.
21237 * stdio-common/vfscanf.c: Likewise.
21238 * stdlib/abort.c: Likewise.
21239 * stdlib/cxa_atexit.c: Likewise.
21240 * stdlib/fmtmsg.c: Likewise.
21241 * stdlib/random.c: Likewise.
21242 * stdlib/setenv.c: Likewise.
21243 * string/strsignal.c: Likewise.
21244 * sunrpc/auth_none.c: Likewise.
21245 * sunrpc/bindrsvprt.c: Likewise.
21246 * sunrpc/create_xid.c: Likewise.
21247 * sunrpc/key_call.c: Likewise.
21248 * sunrpc/rpc_thread.c: Likewise.
21249 * sysdeps/arm/backtrace.c: Likewise.
21250 * sysdeps/generic/ldsodefs.h: Likewise.
21251 * sysdeps/generic/stdio-lock.h: Likewise.
21252 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21253 * sysdeps/i386/backtrace.c: Likewise.
21254 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21255 * sysdeps/m68k/backtrace.c: Likewise.
21256 * sysdeps/mach/hurd/cthreads.c: Likewise.
21257 * sysdeps/mach/hurd/dirstream.h: Likewise.
21258 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21259 * sysdeps/nptl/malloc-machine.h: Likewise.
21260 * sysdeps/nptl/stdio-lock.h: Likewise.
21261 * sysdeps/posix/dirstream.h: Likewise.
21262 * sysdeps/posix/getaddrinfo.c: Likewise.
21263 * sysdeps/posix/system.c: Likewise.
21264 * sysdeps/pthread/aio_suspend.c: Likewise.
21265 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21266 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21267 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21268 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21269 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21270 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21271 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21272 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21273 * sysdeps/unix/sysv/linux/system.c: Likewise.
21274 * sysdeps/x86_64/backtrace.c: Likewise.
21275 * time/alt_digit.c: Likewise.
21276 * time/era.c: Likewise.
21277 * time/tzset.c: Likewise.
21278 * wcsmbs/wcsmbsload.c: Likewise.
21279 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21280 instead of <bits/libc-lock.h> in comment.
21281
21282 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21283
21284 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21285 Only use .set mips2 if the current ISA is below mips2.
21286 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21287 Likewise.
21288 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21289 mips32r2 if the current ISA is below mips32r2.
21290 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21291 (TLS_IE): Updated to use the TLD_RDHWR macro.
21292 (TLS_LE): Likewise.
21293 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21294 __ASSEMBLER__ condition.
21295
21296 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21297
21298 Fix parallel build of before-compile targets.
21299
21300 * sysdeps/mach/Makefile ($(patsubst
21301 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21302 mach-before-compile target.
21303 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21304 io fs process)): Move rule to dedicated hurd-before-compile target.
21305
21306 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21307
21308 Fix rules generating headers in hurd/ and mach/ when initial make call
21309 has subdir= explicitly set.
21310
21311 * sysdeps/mach/Makefile ($(patsubst
21312 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21313 calling $(MAKE).
21314 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21315 io fs process)): Force subdir to hurd when calling $(MAKE).
21316 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21317 subdir to mach when calling $(MAKE).
21318
21319 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21320
21321 Check sysheaders when looking for Mach and Hurd headers
21322
21323 * sysdeps/mach/configure.ac: Add sysheaders check.
21324 * sysdeps/mach/configure: Regenerate.
21325 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21326 * sysdeps/mach/hurd/configure: Regenerate.
21327
21328 2015-09-04 Roland McGrath <roland@hack.frob.com>
21329
21330 [BZ #18921]
21331 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21332 Fix inverted sense of test of 'o_directory_works' value.
21333 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21334 Bernhard Voelker <mail@bernhard-voelker.de>.
21335
21336 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21337
21338 [BZ #14912]
21339 * bits/linkmap.h: Move to ...
21340 * sysdeps/generic/linkmap.h: ...here.
21341 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21342 * sysdeps/aarch64/linkmap.h: ...here.
21343 * sysdeps/arm/bits/linkmap.h: Move to ...
21344 * sysdeps/arm/linkmap.h: ...here.
21345 * sysdeps/hppa/bits/linkmap.h: Move to ...
21346 * sysdeps/hppa/linkmap.h: ...here.
21347 * sysdeps/ia64/bits/linkmap.h: Move to ...
21348 * sysdeps/ia64/linkmap.h: ...here.
21349 * sysdeps/mips/bits/linkmap.h: Move to ...
21350 * sysdeps/mips/linkmap.h: ...here.
21351 * sysdeps/s390/bits/linkmap.h: Move to ...
21352 * sysdeps/s390/linkmap.h: ...here.
21353 * sysdeps/sh/bits/linkmap.h: Move to ...
21354 * sysdeps/sh/linkmap.h: ...here.
21355 * sysdeps/x86/bits/linkmap.h: Move to ...
21356 * sysdeps/x86/linkmap.h: ...here.
21357 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21358
21359 2015-09-04 Andreas Schwab <schwab@suse.de>
21360
21361 [BZ #18635]
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21363 (__makecontext): Terminate FDE before return label.
21364 (__novec_makecontext): Likewise.
21365
21366 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21367
21368 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21369 first member of struct sv in syscall macro.
21370
21371 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21372
21373 [BZ #14912]
21374 * bits/stdio-lock.h: Move to ...
21375 * sysdeps/generic/stdio-lock.h: ...here.
21376 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21377 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21378 * sysdeps/nptl/stdio-lock.h: ...here.
21379 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21380 * include/libio.h: Include <stdio-lock.h> instead of
21381 <bits/stdio-lock.h>.
21382 * sysdeps/nptl/fork.c: Likewise.
21383 * sysdeps/pthread/flockfile.c: Likewise.
21384 * sysdeps/pthread/ftrylockfile.c: Likewise.
21385 * sysdeps/pthread/funlockfile.c: Likewise.
21386
21387 [BZ #14912]
21388 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21389 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21390 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21391 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21392 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21393 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21394 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21395
21396 2015-09-03 Roland McGrath <roland@hack.frob.com>
21397
21398 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21399 (test-xfail-tst-protected1b): New variable.
21400
21401 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21402
21403 [BZ #14912]
21404 * bits/libc-tsd.h: Move to ...
21405 * sysdeps/generic/libc-tsd.h: ...here.
21406 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21407 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21408 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21409 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21410 * include/ctype.h: Include <libc-tsd.h> instead of
21411 <bits/libc-tsd.h>.
21412 * include/rpc/rpc.h: Likewise.
21413 * locale/localeinfo.h: Likewise.
21414 * sunrpc/rpc_thread.c: Likewise.
21415 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21416 * sysdeps/nptl/malloc-machine.h: Likewise.
21417
21418 * Makefile (headers): Remove bits/libc-lock.h.
21419 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21420
21421 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21422 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21423 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21424 <bits/stdio-lock.h>.
21425 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21426 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21427
21428 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21429
21430 [BZ #18757]
21431 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21432 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21433 BZ #18757.
21434
21435 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21436
21437 * malloc/mtrace.pl: Filter out NULL entries.
21438
21439 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21440
21441 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21442 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21443 macro.
21444
21445 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21446 (TCP_CC_INFO): Likewise.
21447 (TCP_SAVE_SYN): Likewise.
21448 (TCP_SAVED_SYN): Likewise.
21449
21450 2015-08-31 Brett Neumeier <brett@neumeier.us>
21451
21452 [BZ #18870]
21453 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21454
21455 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21456
21457 [BZ #18873]
21458 Fix broken overflow check in posix_fallocate
21459 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21460 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21461 Fix parenthesization typo.
21462
21463 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21464
21465 [BZ #18887]
21466 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21467 tst-mntent-blank-passno.
21468 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21469 * misc/tst-mntent-blank-corrupt.c: New test.
21470 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21471 * misc/tst-mntent.c (do_test): ... here.
21472
21473 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21474
21475 [BZ #4404]
21476 * po/de.po: Fix SIGALRM typo.
21477
21478 2015-08-28 James Perkins <james@loowit.net>
21479
21480 * time/tst-strptime2.c (tests): Replace short list of test
21481 strings for strptime %z specifier with code which exhaustively
21482 tests every combination of sign and 0 to 5 digits. Tests for
21483 rejection of invalid strings.
21484
21485 2015-08-28 James Perkins <james@loowit.net>
21486
21487 [BZ #16141]
21488 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21489 calculation, removing incorrect decimal time rounding, so that
21490 all minute values result in a valid seconds value.
21491 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21492 offset range limits to UTC-99:59 through UTC+99:59 to parse
21493 current and historical use cases.
21494 * time/tst-strptime2.c (tests): Modify and add tests for the
21495 strptime %z input field descriptor, specifically conversion of
21496 minutes to seconds and validating an offset range of -9959 to
21497 +9959.
21498
21499 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21500 Dmitry V. Levin <ldv@altlinux.org>
21501
21502 [BZ #18877]
21503 * posix/Makefile (tests): Add tst-mmap-offset.
21504 * posix/tst-mmap.c: New file.
21505 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21506 offset calculation for negative values.
21507
21508 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * sysdeps/i386/init-arch.h: New file.
21511 * sysdeps/i386/i586/init-arch.h: Likewise.
21512 * sysdeps/i386/i686/init-arch.h: Likewise.
21513 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21514 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21515 * sysdeps/x86/cpu-features.h (bit_I586): New.
21516 (bit_I686): Likewise.
21517 (bit_CX8): Likewise.
21518 (bit_CMOV): Likewise.
21519 (index_CX8): Likewise.
21520 (index_CMOV): Likewise.
21521 (index_I586): Likewise.
21522 (index_I686): Likewise.
21523 (reg_CX8): Likewise.
21524 (reg_CMOV): Likewise.
21525 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21526 available at compile-time.
21527 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21528 available at compile-time.
21529 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21530 (USE_I686): Likewise.
21531
21532 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 * sysdeps/i386/bcopy.S: New file.
21535 * sysdeps/i386/bzero.S: Likewise.
21536 * sysdeps/i386/memcpy.S: Likewise.
21537 * sysdeps/i386/memmove.S: Likewise.
21538 * sysdeps/i386/mempcpy.S: Likewise.
21539 * sysdeps/i386/memset.S: Likewise.
21540 * sysdeps/i386/bzero.c: Removed.
21541 * sysdeps/i386/memset.c: Likewise.
21542 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21543 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21544 * sysdeps/i386/i586/memset_chk.S: Likewise.
21545 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21546 * sysdeps/i386/memcpy_chk.S: Here.
21547 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21548 * sysdeps/i386/memmove_chk.S: Here.
21549 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21550 * sysdeps/i386/mempcpy_chk.S: Likewise.
21551 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21552 * sysdeps/i386/memset_chk.S: Likewise.
21553
21554 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21555
21556 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21557 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21558 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21559 * soft-fp/fmadf4.c: Ditto.
21560 * soft-fp/fmatf4.c: Ditto.
21561
21562 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * sysdeps/i386/i586/Implies: Removed.
21565 * sysdeps/i386/i686/Implies: Likewise.
21566
21567 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * sysdeps/i386/i486/strlen.S: Moved to ...
21570 * sysdeps/i386/strlen.S: Here.
21571
21572 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21573
21574 * sysdeps/i386/i486/strcat.S: Moved to ...
21575 * sysdeps/i386/strcat.S: Here.
21576
21577 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21580 * sysdeps/i386/pthread_spin_trylock.S: Here.
21581 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21582 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21583
21584 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21585
21586 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21587 * sysdeps/i386/string-inlines.c: Here.
21588
21589 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21590
21591 * sysdeps/i386/i486/htonl.S: Moved ...
21592 * sysdeps/i386/htonl.S: here.
21593
21594 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21597 * sysdeps/i386/bits/atomic.h: Here.
21598
21599 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * sysdeps/i386/i486/Versions: Removed.
21602
21603 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21604
21605 [BZ #2898]
21606 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21607 Based on patch by Aurelien Jarno.
21608
21609 2015-08-26 Stan Shebs <stanshebs@google.com>
21610
21611 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21612 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21613
21614 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21615
21616 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21617 * sysdeps/powerpc/dl-procinfo.c:
21618 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21619 feature so it shows when LD_SHOW_AUXV=1.
21620
21621 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21622
21623 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21624 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21625 definition. ISA 2.07B no longer requires full sync.
21626
21627 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21628
21629 [BZ #18863]
21630 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21631 (si_call_addr): Define.
21632 (si_syscall): Define.
21633 (si_arch): Define.
21634
21635 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21636
21637 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21638 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21639 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21640 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21641 (__memset_zero_constant_len_parameter): New.
21642 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21643 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21644 (__memset_zero_constant_len_parameter): Don't define if
21645 __memset_chk or USE_AS_BZERO are defined.
21646
21647 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21648 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21649 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21650
21651 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21652 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21653 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21654 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21655 comments.
21656 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21657 -mno-mmx for $(all-rtld-routines).
21658 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21659 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21660 i386.
21661
21662 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21663
21664 * sysdeps/generic/unwind.h
21665 (_Unwind_Word): Use __mode__(__unwind_word__)
21666 instead of __mode__(__word__).
21667 (_Unwind_Sword): Likewise.
21668
21669 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21670 (MAX_NEEDED_INPUT): New define.
21671 (MAX_NEEDED_OUTPUT): New define.
21672
21673 * NEWS: New item for IBM z13 string optimizations.
21674
21675 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21676 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21677 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21678 * sysdeps/s390/multiarch/Makefile
21679 (sysdep_routines): Add memrchr functions.
21680 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21681 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21682
21683 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21684 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21685 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21686 * sysdeps/s390/multiarch/Makefile
21687 (sysdep_routines): Add wmemcmp functions.
21688 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21689 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21690 * benchtests/bench-wmemcmp.c: New File.
21691 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21692
21693 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21694 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21695 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21696 * sysdeps/s390/multiarch/Makefile
21697 (sysdep_routines): Add wmemset functions.
21698 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21699 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21700 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21701 * string/test-memset.c: Add wmemset support.
21702 * wcsmbs/test-wmemset.c: New File.
21703 * wcsmbs/Makefile (strop-tests): Add wmemset.
21704 * benchtests/bench-memset.c: Add wmemset support.
21705 * benchtests/bench-wmemset.c: New File.
21706 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21707
21708 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21709 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21710 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21711 * sysdeps/s390/multiarch/Makefile
21712 (sysdep_routines): Add memccpy functions.
21713 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21714 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21715 * string/memccpy.c: Use MEMCCPY if defined.
21716
21717 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21718 * sysdeps/s390/multiarch/memchr.c: Likewise.
21719 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21720 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21721 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21722 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21723 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21724 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21725 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21726 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21727 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21728 and rawmemchr functions.
21729 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21730 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21731 and wmemchr.
21732 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21733 * string/test-memchr.c: Add wmemchr support.
21734 * wcsmbs/test-wmemchr.c: New File.
21735 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21736 * benchtests/bench-memchr.c: Add wmemchr support.
21737 * benchtests/bench-wmemchr.c: New File.
21738 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21739
21740 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21741 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21742 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21743 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21744 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21745 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21746 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21747 wcscspn functions.
21748 * sysdeps/s390/multiarch/ifunc-impl-list.c
21749 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21750 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21751 * string/test-strcspn.c: Add wcscspn support.
21752 * wcsmbs/test-wcscspn.c: New File.
21753 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21754 * benchtests/bench-strcspn.c: Add wcscspn support.
21755 * benchtests/bench-wcscspn.c: New File.
21756 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21757
21758 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21759 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21760 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21761 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21762 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21763 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21764 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21765 wcspbrk functions.
21766 * sysdeps/s390/multiarch/ifunc-impl-list.c
21767 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21768 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21769 * string/test-strpbrk.c: Add wcspbrk support.
21770 * wcsmbs/test-wcspbrk.c: New File.
21771 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21772 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21773 * benchtests/bench-wcspbrk.c: New File.
21774 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21775
21776 * sysdeps/s390/multiarch/strspn-c.c: New File.
21777 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21778 * sysdeps/s390/multiarch/strspn.c: Likewise.
21779 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21780 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21781 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21782 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21783 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21784 wcsspn functions.
21785 * sysdeps/s390/multiarch/ifunc-impl-list.c
21786 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21787 * string/test-strspn.c: Add wcsspn support.
21788 * wcsmbs/test-wcsspn.c: New File.
21789 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21790 * benchtests/bench-strspn.c: Add wcsspn support.
21791 * benchtests/bench-wcsspn.c: New File.
21792 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21793
21794 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21795 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21796 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21797 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21798 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21799 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21800 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21801 wcsrchr functions.
21802 * sysdeps/s390/multiarch/ifunc-impl-list.c
21803 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21804 * benchtests/bench-wcsrchr.c: New File.
21805 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21806
21807 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21808 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21809 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21810 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21811 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21812 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21813 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21814 wcschrnul functions.
21815 * sysdeps/s390/multiarch/ifunc-impl-list.c
21816 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21817 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21818 * string/test-strchr.c: Add wcschrnul support.
21819 * wcsmbs/test-wcschrnul.c: New File.
21820 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21821 * benchtests/bench-strchr.c: Add wcschrnul support.
21822 * benchtests/bench-wcschrnul.c: New File.
21823 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21824
21825 * sysdeps/s390/multiarch/strchr-c.c: New File.
21826 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21827 * sysdeps/s390/multiarch/strchr.c: Likewise.
21828 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21829 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21830 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21831 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21832 wcschr functions.
21833 * sysdeps/s390/multiarch/ifunc-impl-list.c
21834 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21835 * string/strchr.c (STRCHR): Define and use macro.
21836 * benchtests/bench-wcschr.c: New File.
21837 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21838
21839 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21840 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21841 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21842 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21843 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21844 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21845 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21846 wcsncmp functions.
21847 * sysdeps/s390/multiarch/ifunc-impl-list.c
21848 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21849 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21850 * benchtests/bench-strncmp.c: Add wcsncmp support.
21851 * benchtests/bench-wcsncmp.c: New File.
21852 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21853
21854 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21855 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21856 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21857 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21858 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21859 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21860 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21861 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21862 wcscmp functions.
21863 * sysdeps/s390/multiarch/ifunc-impl-list.c
21864 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21865 * string/strcmp.c (STRCMP): Define and use macro.
21866 * benchtests/bench-wcscmp.c: New File.
21867 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21868 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21869 instead of _HAVE_STRING_ARCH_memchr.
21870
21871 * sysdeps/s390/multiarch/strncat-c.c: New File.
21872 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21873 * sysdeps/s390/multiarch/strncat.c: Likewise.
21874 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21875 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21876 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21877 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21878 wcsncat functions.
21879 * sysdeps/s390/multiarch/ifunc-impl-list.c
21880 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21881 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21882 * string/test-strncat.c: Add wcsncat support.
21883 * wcsmbs/test-wcsncat.c: New File.
21884 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21885 * benchtests/bench-strncat.c: Add wcsncat support.
21886 * benchtests/bench-wcsncat.c: New File.
21887 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21888
21889 * sysdeps/s390/multiarch/strcat-c.c: New File.
21890 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21891 * sysdeps/s390/multiarch/strcat.c: Likewise.
21892 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21893 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21894 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21895 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21896 wcscat functions.
21897 * sysdeps/s390/multiarch/ifunc-impl-list.c
21898 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21899 * string/strcat.c (STRCAT): Define and use macro.
21900 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21901 * string/test-strcat.c: Add wcscat support.
21902 * wcsmbs/test-wcscat.c: New File.
21903 * wcsmbs/Makefile (strop-tests): Add wcscat.
21904 * benchtests/bench-strcat.c: Add wcscat support.
21905 * benchtests/bench-wcscat.c: New File.
21906 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21907
21908 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21909 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21910 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21911 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21912 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21913 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21914 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21915 wcpncpy functions.
21916 * sysdeps/s390/multiarch/ifunc-impl-list.c
21917 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21918 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21919 * string/test-stpncpy.c: Add wcpncpy support.
21920 * wcsmbs/test-wcpncpy.c: New File.
21921 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21922 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21923 * benchtests/bench-wcpncpy.c: New File.
21924 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21925
21926 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21927 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21928 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21929 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21930 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21931 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21932 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21933 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21934 wcsncpy functions.
21935 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21936 * sysdeps/s390/multiarch/ifunc-impl-list.c
21937 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21938 * string/test-strncpy.c: Add wcsncpy support.
21939 * wcsmbs/test-wcsncpy.c: New File.
21940 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21941 * benchtests/bench-strncpy.c: Add wcsncpy support.
21942 * benchtests/bench-wcsncpy.c: New File.
21943 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21944
21945 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21946 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21947 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21948 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21949 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21950 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21951 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21952 wcpcpy functions.
21953 * string/stpcpy.c: Use STPCPY if defined.
21954 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21955 * sysdeps/s390/multiarch/ifunc-impl-list.c
21956 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21957 * string/test-stpcpy.c: Add wcpcpy support.
21958 * wcsmbs/test-wcpcpy.c: New File.
21959 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21960 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21961 * benchtests/bench-wcpcpy.c: New File.
21962 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21963
21964 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21965 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21966 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21967 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21968 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21969 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21970 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21971 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21972 wcscpy functions.
21973 * sysdeps/s390/multiarch/ifunc-impl-list.c
21974 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21975 * benchtests/bench-wcscpy.c: New File.
21976 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21977
21978 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21979 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21980 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21981 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21982 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21983 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21984 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21985 wcsnlen functions.
21986 * sysdeps/s390/multiarch/ifunc-impl-list.c
21987 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21988 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21989 * string/test-strnlen.c: Add wcsnlen support.
21990 * wcsmbs/test-wcsnlen.c: New File.
21991 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21992 * benchtests/bench-strnlen.c: Add wcsnlen support.
21993 * benchtests/bench-wcsnlen.c: New File.
21994 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21995
21996 * sysdeps/s390/multiarch/Makefile: New File.
21997 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21998 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21999 * sysdeps/s390/multiarch/strlen.c: Likewise.
22000 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22001 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22002 * sysdeps/s390/multiarch/wcslen.c: Likewise.
22003 * string/strlen.c (STRLEN): Define and use macro.
22004 * sysdeps/s390/multiarch/ifunc-impl-list.c
22005 (IFUNC_VX_IMPL): New macro function.
22006 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22007 * benchtests/Makefile (wcsmbs-bench): New variable.
22008 (string-bench-all): Added wcsmbs-bench.
22009 * benchtests/bench-wcslen.c: New File.
22010
22011 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22012 s390_vx_libc_ifunc2): New macro function.
22013
22014 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22015 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22016 assembler support.
22017 * sysdeps/s390/configure: Regenerated.
22018
22019 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22020 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22021
22022 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22023 * sysdeps/s390/dl-procinfo.h: Add vector capability.
22024 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22025
22026 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22027 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22029 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22030 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22031 (memcmp, bcmp): Use __memcmp_default as alias source.
22032 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22033 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22034 Rename to __memcmp_default.
22035 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22036 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22037 (memcpy): Use __memcpy_default as alias source.
22038 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22039 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22040 Rename to __memcpy_default.
22041 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22042 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22043 (memset): Use __memset_default as alias source.
22044 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22045 * sysdeps/s390/s390-32/memset.S (__memset_g5):
22046 Rename to __memset_default.
22047 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22048 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22050 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22051 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22052 (memcmp, bcmp): Use __memcmp_default as alias source.
22053 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22054 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22055 Rename to __memcmp_default.
22056 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22057 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22058 (memcpy): Use __memcpy_default as alias source.
22059 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22060 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22061 Rename to __memcpy_default.
22062 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22063 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22064 (memset): Use __memset_default as alias source.
22065 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22066 * sysdeps/s390/s390-64/memset.S (__memset_z900):
22067 Rename to __memset_default.
22068 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22069 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22070
22071 [BZ #18610]
22072 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22073 __ieee_instruction_pointer to __unused.
22074 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22075 __ieee_instruction_pointer.
22076 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22077 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22078 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22079 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22080 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22081 Mark dxc-field as reserved.
22082
22083 2015-08-25 Roland McGrath <roland@hack.frob.com>
22084
22085 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22086 if the weak reference is not null.
22087
22088 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22091
22092 [BZ #11214]
22093 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22094
22095 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22096
22097 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22098 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22099 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22100 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22101 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22102 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22103 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22104 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22105 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22106 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22107 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22108 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22109 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22110 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22111 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22112 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22113 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22114 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22115
22116 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22117
22118 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22119 register other than r0 for tabort, it has special meaning.
22120 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22121 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22122 transaction before starting syscall.
22123
22124 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22125
22126 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22127
22128 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22129
22130 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22131
22132 * sysdeps/x86_64/rtld-memcmp.c: Removed.
22133 * sysdeps/x86_64/rtld-memset.S: Likewise.
22134 * sysdeps/x86_64/rtld-strchr.S: Likewise.
22135 * sysdeps/x86_64/rtld-strlen.S: Likewise.
22136 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22137 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22138
22139 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22140
22141 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
22142
22143 * debug/strcpy_chk.c: Improve performance.
22144 * debug/stpcpy_chk.c: Likewise.
22145 * sysdeps/x86_64/strcpy_chk.S: Remove.
22146 * sysdeps/x86_64/stpcpy_chk.S: Remove.
22147
22148 [BZ #18240]
22149 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22150
22151 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22152
22153 [BZ #15128]
22154 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22155 ifuncmain8.
22156 (modules-names): Add ifuncmod8.
22157 ($(objpfx)ifuncmain8): New rule.
22158 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22159 <cpuid.h>.
22160 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22161 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22162 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22163 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22164 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22165 * sysdeps/x86_64/dl-trampoline.h: Likewise.
22166 * sysdeps/x86_64/ifuncmain8.c: New file.
22167 * sysdeps/x86_64/ifuncmod8.c: Likewise.
22168 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22169 Removed.
22170 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22171 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22172 Change rtld_savespace_sse to __glibc_unused2.
22173 (RTLD_CHECK_FOREIGN_CALL): Removed.
22174 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22175 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22176 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22177
22178 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22179
22180 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22181
22182 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22183
22184 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22185 Unconditionally set __fpcr to avoid uninialized warning.
22186 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22187
22188 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22189
22190 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22191 is corrupt.
22192
22193 * malloc/arena.c (arena_get2): Drop unused argument.
22194 (arena_lock): Adjust.
22195 (arena_get_retry): Likewise.
22196
22197 2015-08-24 Andreas Schwab <schwab@suse.de>
22198
22199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22200 Don't define.
22201 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22202 (__ASSUME_IPC64): Don't undef.
22203 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22204 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22205 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22206 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22207 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22208 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22209 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22210 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22211 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22212 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22213 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22214 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22215 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22216 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22217 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22218 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22219 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22220 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22222 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22223 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22224
22225 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22226
22227 * manual/Makefile (install): Only build manual when perl is available.
22228
22229 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22230
22231 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22232 '#undef memcpy' by '#undef memchr'.
22233
22234 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22235
22236 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22237 memchr not point to the internal __GI_memchr implementation.
22238
22239 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22240
22241 * timezone/Makefile (CFLAGS-zdump.c): Remove
22242 -Wno-strict-prototypes.
22243 (CFLAGS-zic.c): Likewise.
22244 (CFLAGS-ialloc.c): Likewise.
22245 (CFLAGS-scheck.c): Likewise.
22246
22247 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22248 -Wno-error=undef.
22249
22250 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 * i386/i686/multiarch/strcasestr-c.c: Removed.
22253 * x86_64/multiarch/strcasestr.c: Likewise.
22254 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22255 Remove strcasestr.
22256
22257 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22258
22259 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22260
22261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22262 variables for high and low parts before possibly modifying them.
22263
22264 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22265
22266 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22267 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22268 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22269 of "multiarch/init-arch.h".
22270 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22271 * sysdeps/x86/init-arch.h: This.
22272
22273 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22276 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22277
22278 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22279
22280 [BZ #17787]
22281 * manual/macros.texi: Add twoexp macro.
22282 * manual/filesys.texi: Fix exponents.
22283 * manual/llio.texi: Likewise.
22284 * manual/stdio.texi: Likewise.
22285
22286 2015-08-20 Florian Weimer <fweimer@redhat.com>
22287
22288 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22289 incorrect use.
22290
22291 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22292
22293 [BZ #18370]
22294 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22295 whose real or imaginary part has small absolute value.
22296 * math/s_csqrtf.c (__csqrtf): Likewise.
22297 * math/s_csqrtl.c (__csqrtl): Likewise.
22298 * math/auto-libm-test-in: Add more tests of csqrt.
22299 * math/auto-libm-test-out: Regenerated.
22300 * sysdeps/i386/fpu/libm-test-ulps: Update.
22301
22302 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22303
22304 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22305 __ppc_set_ppr_very_low): New functions.
22306 * manual/platform.texi: Add documentation about
22307 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22308
22309 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22310
22311 * string/stpncpy.c (stpncpy): Improve performance using
22312 __strnlen/memcpy/memset.
22313
22314 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22315
22316 [BZ #18796]
22317 * scripts/test-installation.pl: Don't add -lmvec to build options if
22318 libmvec wasn't built.
22319
22320 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22321
22322 [BZ #14341]
22323 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22324 case when there is a gap between DT_REL and DT_JMPREL sections.
22325 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22326 (LDFLAGS-tst-split-dynreloc): New.
22327 (tst-split-dynreloc-ENV): Likewise.
22328 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22329 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22330
22331 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 [BZ #18822]
22334 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22335 attribute_hidden.
22336 (__xstat64_conv): Likewise.
22337 (__xstat32_conv): Likewise.
22338
22339 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 [BZ #18822]
22342 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22343 Don't load %ebx when calling __setcontext. Call __setcontext
22344 with HIDDEN_JUMPTARGET.
22345 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22346 libc_hidden_def.
22347
22348 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * sysdeps/i386/i686/Makefile
22351 [$(subdir) == string] (sysdep_routines): Moved to ...
22352 * sysdeps/i386/Makefile: Here.
22353 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22354 * sysdeps/i386/cacheinfo.c: Here.
22355 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22356 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22357 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22358 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22359
22360 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22361
22362 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22363 __i586__ is defined.
22364 (HAS_I686): Defined to 1 if __i686__ is defined.
22365
22366 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22367
22368 * elf/Makefile [$(have-z-execstack) = yes]
22369 (CPPFLAGS-tst-execstack.c): New variable.
22370
22371 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22372 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22373 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22374 UTMPX || _HAVE_UT_TV].
22375 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22376 UTMPX || _HAVE_UT_TV - 0].
22377
22378 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22379
22380 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22381 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22382 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22383
22384 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22385
22386 * sysdeps/powerpc/dl-procinfo.c:
22387 (_dl_powerpc_cap_flags): Added missing strings for some
22388 hwcap features.
22389 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22390
22391 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22392
22393 Port the 0x7efe...feff pattern to GCC 6.
22394 See Steve Ellcey's bug report in:
22395 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22396 * string/memrchr.c (MEMRCHR):
22397 * string/rawmemchr.c (RAWMEMCHR):
22398 * string/strchr.c (strchr):
22399 * string/strchrnul.c (STRCHRNUL):
22400 Rewrite code to avoid issues with signed shift overflow.
22401
22402 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22403
22404 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22405 whether cpuid is available only if HAS_CPUID is 0.
22406 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22407 (HAS_I586): Likewise.
22408 (HAS_I686): Likewise.
22409
22410 2015-08-18 Zack Weinberg <zackw@panix.com>
22411
22412 * misc/Versions (libc): Add GLIBC_2.23.
22413
22414 2015-08-18 Alan Modra <amodra@gmail.com>
22415
22416 [BZ #18421]
22417 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22418 .Lp__global.
22419 (_start): Load %dp via .Lp__global.
22420 [!SHARED]: Use .section .rodata.
22421
22422 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22423
22424 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22425 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22426
22427 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22428
22429 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22430 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22431
22432 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22433
22434 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22435 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22436
22437 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22438
22439 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22440 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22441
22442 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22443
22444 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22445 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22446
22447 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22448
22449 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22450 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22451
22452 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22453
22454 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22455
22456 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22457
22458 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22459 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22460 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22461 (__ASSUME_LWS_CAS): Delete.
22462
22463 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22464
22465 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22466 * sysdeps/hppa/configure: Regenerated.
22467 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22468 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22469 * sysdeps/hppa/nptl/tls.h: Likewise.
22470
22471 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22472
22473 [BZ #18823]
22474 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22475 for scaling up small arguments.
22476 * math/s_csqrtf.c (__csqrtf): Likewise.
22477 * math/s_csqrtl.c (__csqrtl): Likewise.
22478 * math/auto-libm-test-in: Add more tests of csqrt.
22479 * math/auto-libm-test-out: Regenerated.
22480
22481 2015-08-17 Andreas Schwab <schwab@suse.de>
22482
22483 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22484 version set GLIBC_2.19.
22485
22486 2015-08-16 Zack Weinberg <zackw@panix.com>
22487
22488 [BZ #18681]
22489 * misc/regexp.h: This interface is no longer supported.
22490 Remove all contents, leaving only an #error directive.
22491 * misc/regexp.c (loc1, loc2, locs, step, advance):
22492 Demote to compatibility symbols.
22493
22494 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22495
22496 [BZ #18084]
22497 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22498 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22499 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22500 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22501 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22502 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22503 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22504 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22505 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22506
22507 2015-08-15 Zack Weinberg <zackw@panix.com>
22508
22509 [BZ #18795]
22510 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22511 buffer length is known to be too large, not if it's known to be
22512 small enough.
22513 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22514 overflow at runtime, involving a length parameter, twice: once
22515 with a compile-time constant length parameter, once without.
22516
22517 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22518
22519 [BZ #18824]
22520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22521 scaling x * y up instead of down.
22522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22524 * math/auto-libm-test-in: Add more tests of fma.
22525 * math/auto-libm-test-out: Regenerated.
22526
22527 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22528
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22530
22531 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22532
22533 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22534 unnecessary movq.
22535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22536 Likewise.
22537
22538 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22539
22540 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22541 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22542 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22543 and tgamma.
22544 * math/auto-libm-test-out: Regenerated.
22545 * sysdeps/i386/fpu/libm-test-ulps: Update.
22546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547
22548 [BZ #16520]
22549 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22550 (__tanh): Force underflow exception for arguments with small
22551 absolute value.
22552 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22553 (__tanhf): Force underflow exception for arguments with small
22554 absolute value.
22555 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22556 (__tanhl): Force underflow exception for arguments with small
22557 absolute value.
22558 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22559 (__tanhl): Force underflow exception for arguments with small
22560 absolute value.
22561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22562 (__tanhl): Force underflow exception for arguments with small
22563 absolute value.
22564 * math/auto-libm-test-in: Add more tests of tanh.
22565 * math/auto-libm-test-out: Regenerated.
22566 * sysdeps/i386/fpu/libm-test-ulps: Update.
22567
22568 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22571 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22572
22573 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22574
22575 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22576 <cpuid.h>.
22577
22578 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22579
22580 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22581 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22582
22583 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22584
22585 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22586 Remove $(objpfx)init-arch.o.
22587 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22588 init-arch.
22589 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22590 (INIT_ARCH_EXT): Defined as empty.
22591 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22592 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22593 __init_cpu_features call. Replace HAS_XXX with
22594 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22595 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22596 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22599 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22600 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22601 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22602 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22604 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22605 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22607 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22608 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22612 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22613 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22614 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22615 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22616 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22617 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22618 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22619 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22620 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22621 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22622 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22623 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22624 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22625 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22626 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22630
22631 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22634 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22635 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22636 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22637 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22638 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22639 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22640 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22641 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22642 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22643 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22644 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22645 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22648 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22649 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22650 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22651 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22652 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22653 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22654 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22655 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22656 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22657 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22658 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22660 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22661 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22662 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22663 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22664 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22665 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22668 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22669 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22670 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22671 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22672 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22673 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22674 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22675 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22676
22677 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22678
22679 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22680 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22684 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22686 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22688 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22690 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22691 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22692 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22694 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22697 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22698 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22700 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22701 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22702 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22703 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22704 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22705 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22706 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22707 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22708 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22710 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22711 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22714 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22715 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22716 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22717 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22718 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22719 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22720 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22721 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22722
22723 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22724
22725 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22726 (dl_platform_init): Call init_cpu_features.
22727 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22728 * sysdeps/i386/i686/cacheinfo.c
22729 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22730 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22731 * sysdeps/i386/i686/multiarch/Versions: Removed.
22732 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22733 Removed.
22734 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22735 * sysdeps/unix/sysv/linux/x86/Makefile
22736 (libpthread-sysdep_routines): Remove init-arch.
22737 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22738 <sysdeps/x86_64/dl-procinfo.c> instead of
22739 sysdeps/generic/dl-procinfo.c>.
22740 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22741 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22742 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22743 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22744 [$(subdir) == elf] (tests-static): Add
22745 tst-get-cpu-features-static.
22746 * sysdeps/x86/Versions: New file.
22747 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22748 * sysdeps/x86/cpu-features.c: Likewise.
22749 * sysdeps/x86/cpu-features.h: Likewise.
22750 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22751 * sysdeps/x86/libc-start.c: Likewise.
22752 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22753 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22754 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22755 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22756 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22757 Assume USE_MULTIARCH is defined and don't check it.
22758 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22759 (is_amd): Likewise.
22760 (max_cpuid): Likewise.
22761 (intel_check_word): Likewise.
22762 (__cache_sysconf): Don't call __init_cpu_features.
22763 (__x86_preferred_memory_instruction): Removed.
22764 (init_cacheinfo): Don't call __init_cpu_features. Replace
22765 __cpu_features with GLRO(dl_x86_cpu_features).
22766 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22767 (dl_platform_init): Call init_cpu_features.
22768 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22769 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22770 * sysdeps/x86_64/multiarch/Versions: Removed.
22771 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22772 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22773 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22774 Removed.
22775 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22776
22777 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22778
22779 [BZ #18820]
22780 * libio/Makefile (test-fmemopen-mem): New test.
22781 * libio/test-fmemopen.c (do_bz18820): New test.
22782 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22783 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22784
22785 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22786
22787 [BZ #16734]
22788 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22789 (FREE_BUF): Delete.
22790 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22791 * libio/genops.c (_IO_setb): Use malloc and free directly.
22792 (_IO_default_doallocate, _IO_default_finish): Likewise.
22793 ( _IO_unbuffer_all): Likewise.
22794 ( libc_freeres_fn): Likewise.
22795 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22796 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22797 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22798 (_IO_wdefault_doallocate): Likewise.
22799
22800 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22801
22802 [BZ #18086]
22803 * sysdeps/posix/nice.c (nice): Restore old errno.
22804 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22805
22806 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22807
22808 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22809
22810 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22811
22812 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22813 __bcopy and add a weak_alias to bcopy.
22814 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22815 for static build.
22816
22817 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22818 cleanup macro usage.
22819 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22820 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22821 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22822 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22823 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22824 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22827 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22828 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22829 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22830 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22832 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22833 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22835 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22836 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22837 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22838
22839 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22840 libc_hidden_def.
22841 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22842
22843 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22844 (sysdep_routines): Add strstr-ppc64.
22845 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22846
22847 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22848
22849 [BZ #18778]
22850 * elf/Makefile (tests): Add Add tst-nodelete2.
22851 (modules-names): Add tst-nodelete2mod.
22852 (tst-nodelete2mod.so-no-z-defs): New.
22853 ($(objpfx)tst-nodelete2): Likewise.
22854 ($(objpfx)tst-nodelete2.out): Likewise.
22855 (LDFLAGS-tst-nodelete2): Likewise.
22856 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22857 out of loop through all loaded libraries.
22858 * elf/tst-nodelete2.c: New file.
22859 * elf/tst-nodelete2mod.c: Likewise.
22860 * elf/tst-znodelete-zlib.cc: Delete.
22861
22862 2015-08-11 Andreas Schwab <schwab@suse.de>
22863
22864 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22865 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22866 (__openat64_nocancel): Likewise.
22867
22868 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22869
22870 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22871 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22872 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22873 * math/auto-libm-test-out: Regenerated.
22874 * sysdeps/i386/fpu/libm-test-ulps: Update.
22875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22876
22877 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22878
22879 [BZ #18790]
22880 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22881 threshold for returning +/- 1.
22882 * math/auto-libm-test-in: Add more tests of tanh.
22883 * math/auto-libm-test-out: Regenerated.
22884 * sysdeps/i386/fpu/libm-test-ulps: Update.
22885
22886 2015-08-10 Andreas Schwab <schwab@suse.de>
22887
22888 [BZ #18781]
22889 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22890 MORE_OFLAGS to oflag.
22891 * io/test-lfs.c (do_test): Test openat64.
22892
22893 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22894
22895 [BZ #18789]
22896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22897 smaller threshold for returning the argument.
22898 * math/auto-libm-test-in: Add more tests of sinh.
22899 * math/auto-libm-test-out: Regenerated.
22900 * sysdeps/i386/fpu/libm-test-ulps: Update.
22901
22902 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22903
22904 [BZ #18674]
22905 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22906 break.
22907
22908 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22909
22910 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22911 (generated): Don't add $(addprefix z.,$(tzfiles)).
22912
22913 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22914
22915 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22916 * scripts/sysd-rules.awk: Likewise.
22917
22918 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22919
22920 * iconvdata/tst-tables.sh: Change echo -n to printf.
22921 * nss/db-Makefile: Likewise.
22922 * posix/tst-getconf.sh: Likewise.
22923 * stdio-common/tst-unbputc.sh: Likewise.
22924
22925 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22926
22927 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22928 MADV_*_PAGES defines behind this feature check.
22929
22930 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22931
22932 [BZ #18480]
22933 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22934 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22935 Define.
22936 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22937 LOAD_REGS_5, LOAD_REGS_6): Update.
22938 (INTERNAL_SYSCALL): Update using new LOAD defines.
22939 (INTERNAL_SYSCALL_NCS): Likewise.
22940 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22941
22942 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22943
22944 [BZ #16734]
22945 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22946
22947 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22948
22949 [BZ #17905]
22950 * catgets/Makefile (tst-catgets-mem): New test.
22951 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22952 * catgets/open_catalog.c (__open_catalog): Likewise.
22953 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22954
22955 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22956
22957 [BZ #18787]
22958 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22959 clobber registers.
22960 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22961 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22962 Cast return to __typeof (oldval).
22963
22964 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22965
22966 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22967 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22968 and delete sys/syscall.h include.
22969
22970 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22971
22972 [BZ #16517]
22973 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22974 (tan): Force underflow exception for arguments with small absolute
22975 value.
22976 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22977 (__kernel_tanf): Force underflow exception for arguments with
22978 small absolute value.
22979 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22980 (__kernel_tanl): Force underflow exception for arguments with
22981 small absolute value.
22982 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22983 (__kernel_tanl): Force underflow exception for arguments with
22984 small absolute value.
22985 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22986 (__kernel_tanl): Force underflow exception for arguments with
22987 small absolute value.
22988 * math/auto-libm-test-in: Add more tests of tan.
22989 * math/auto-libm-test-out: Regenerated.
22990
22991 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22992
22993 Fix sysdeps/i386/fpu/s_scalbn.S build
22994
22995 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22996
22997 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22998
22999 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23000
23001 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23002
23003 Fix gcrt0.o compilation
23004
23005 When static-start-installed-name is different from
23006 start-installed-name, we must not use the shared objects.
23007
23008 * csu/Makefile
23009 (extra-objs): Add gmon-start.o when building shared library and
23010 $(static-start-installed-name) is different from
23011 $(start-installed-name).
23012 $(objpfx)g$(static-start-installed-name): When building shared
23013 library and $(static-start-installed-name) is different from
23014 $(static-start-installed-name), revert to non-shared rule,
23015 i.e. using $(objpfx)% and gmon-start.o.
23016
23017 2015-08-06 Joseph Myers <joseph@codesourcery.com>
23018
23019 [BZ #16519]
23020 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23021 (__ieee754_sinh): Force underflow exception for arguments with
23022 small absolute value.
23023 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23024 (__ieee754_sinhf): Force underflow exception for arguments with
23025 small absolute value.
23026 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23027 (__ieee754_sinhl): Force underflow exception for arguments with
23028 small absolute value.
23029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23030 (__ieee754_sinhl): Force underflow exception for arguments with
23031 small absolute value.
23032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23033 (__ieee754_sinhl): Force underflow exception for arguments with
23034 small absolute value.
23035 * math/auto-libm-test-in: Add more tests of sinh.
23036 * math/auto-libm-test-out: Regenerated.
23037 * sysdeps/i386/fpu/libm-test-ulps: Update.
23038
23039 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23040
23041 * libio/oldfileops.c: Include unistd.h.
23042
23043 2015-08-06 Mike Frysinger <vapier@gentoo.org>
23044
23045 * stdlib/isomac.c: Include ctype.h.
23046
23047 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
23048
23049 * dirent/tst-seekdir.c (main): Converted to ...
23050 (do_test): ... this.
23051 (TEST_FUNCTION): New macro.
23052 Include test-skeleton.c.
23053 * elf/tst-dlmodcount.c (main): Converted to ...
23054 (do_test): ... this.
23055 (TEST_FUNCTION): New macro.
23056 Include test-skeleton.c.
23057 * elf/tst-order-main.c (main): Converted to ...
23058 (do_test): ... this.
23059 (TEST_FUNCTION): New macro.
23060 Include test-skeleton.c.
23061 * elf/tst-pie2.c (main): Converted to ...
23062 (do_test): ... this.
23063 (TEST_FUNCTION): New macro.
23064 Include test-skeleton.c.
23065 * inet/tst-ether_aton.c (main): Converted to ...
23066 (do_test): ... this.
23067 (TEST_FUNCTION): New macro.
23068 Include test-skeleton.c.
23069 * misc/tst-mntent.c (main): Converted to ...
23070 (do_test): ... this.
23071 (TEST_FUNCTION): New macro.
23072 Include test-skeleton.c.
23073 * misc/tst-tsearch.c (main): Converted to ...
23074 (do_test): ... this.
23075 (TEST_FUNCTION): New macro.
23076 Include test-skeleton.c.
23077 * posix/tst-regexloc.c (main): Converted to ...
23078 (do_test): ... this.
23079 (TEST_FUNCTION): New macro.
23080 Include test-skeleton.c.
23081 * resolv/tst-aton.c (main): Converted to ...
23082 (do_test): ... this.
23083 (TEST_FUNCTION): New macro.
23084 Include test-skeleton.c.
23085 * stdio-common/test-fwrite.c (main): Converted to ...
23086 (do_test): ... this.
23087 (TEST_FUNCTION): New macro.
23088 Include test-skeleton.c.
23089 * stdio-common/tst-ferror.c (main): Converted to ...
23090 (do_test): ... this.
23091 (TEST_FUNCTION): New macro.
23092 Include test-skeleton.c.
23093 * stdio-common/tst-printf.c (main): Converted to ...
23094 (do_test): ... this.
23095 (TEST_FUNCTION): New macro.
23096 Include test-skeleton.c.
23097 * stdio-common/tst-printfsz.c (main): Converted to ...
23098 (do_test): ... this.
23099 (TEST_FUNCTION): New macro.
23100 Include test-skeleton.c.
23101 * stdlib/tst-strtod.c (main): Converted to ...
23102 (do_test): ... this.
23103 (TEST_FUNCTION): New macro.
23104 Include test-skeleton.c.
23105 * string/tst-strlen.c (main): Converted to ...
23106 (do_test): ... this.
23107 (TEST_FUNCTION): New macro.
23108 Include test-skeleton.c.
23109 * string/tst-svc.c (main): Converted to ...
23110 (do_test): ... this.
23111 (TEST_FUNCTION): New macro.
23112 Include test-skeleton.c.
23113 * time/tst-strptime.c (main): Converted to ...
23114 (do_test): ... this.
23115 (TEST_FUNCTION): New macro.
23116 Include test-skeleton.c.
23117 * timezone/tst-timezone.c (main): Converted to ...
23118 (do_test): ... this.
23119 (TEST_FUNCTION): New macro.
23120 Include test-skeleton.c.
23121
23122 2015-08-05 Zack Weinberg <zackw@panix.com>
23123
23124 * misc/regexp.h: Update comments.
23125
23126 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
23127
23128 [BZ #18635]
23129 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23130 before return label.
23131
23132 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23133
23134 [BZ #18661]
23135 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23136 when calling __errno_location.
23137 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23138 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23139
23140 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23141
23142 [BZ #18661]
23143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23144 (__lll_timedwait_tid): Align stack to 16 bytes when calling
23145 __gettimeofday.
23146
23147 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23148
23149 [BZ #18661]
23150 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23151 (__start_context): Don't use pop to restore %rdi so that stack
23152 is aligned to 16 bytes when calling __setcontext.
23153
23154 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23157 only for libc.
23158 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23159
23160 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23161
23162 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23163 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
23164 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23165
23166 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23167
23168 * string/memccpy.c (memccpy):
23169 Improve performance by using memchr/memcpy/__mempcpy.
23170
23171 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23172
23173 * string/strncpy.c (strncpy):
23174 Improve performance by using __strnlen/memcpy.
23175
23176 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23177
23178 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23179 Optimize to avoid an unnecessary FPCR read.
23180
23181 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23182
23183 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23184 Optimize to reduce FPCR/FPSR accesses.
23185
23186 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23187
23188 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23189 dead->data[category] != NULL.
23190
23191 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23192
23193 [BZ #18647]
23194 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23195 and |x| close to 1, use absolute value of x when computing log.
23196 * math/auto-libm-test-in: Add more tests of pow.
23197 * math/auto-libm-test-out: Regenerated.
23198
23199 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23200
23201 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23202 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23203 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23204
23205 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23206
23207 [BZ #18525]
23208 * locales/km_KH: Remove timezone definition.
23209 * locales/lo_LA: Likewise.
23210 * locales/my_MM: Likewise.
23211 * locales/nan_TW@latin: Likewise.
23212 * locales/th_TH: Likewise.
23213 * locales/uk_UA: Likewise.
23214
23215 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23216
23217 [BZ #18265]
23218 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23219 (wcsncat): Likewise.
23220 (wcscmp): Likewise.
23221 (wcsncmp): Likewise.
23222
23223 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23224
23225 * test-skeleton.c (usage): New function.
23226 (main): Call usage when opt is '?'.
23227
23228 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23229
23230 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23231 before first use.
23232
23233 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23234
23235 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23236 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23237 in there too.
23238
23239 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23240
23241 * version.h (RELEASE): Set to "development".
23242 (VERSION): Set to "2.22.90"
23243
23244 * version.h (RELEASE): Set to "stable".
23245 (VERSION): Set to "2.22"
23246 * include/features.h (__GLIBC_MINOR__): Set to 22.
23247
23248 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23249
23250 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23251 Restructure macro to avoid "value computed is not used" warning.
23252 (atomic_compare_and_exchange_val_acq): Likewise.
23253
23254 2015-08-04 Andreas Schwab <schwab@suse.de>
23255
23256 [BZ #18635]
23257 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23258 ret.
23259 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23260
23261 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23262
23263 * po/pl.po: Updated translation.
23264 * po/uk.po: Likewise.
23265 * po/fi.po: Likewise.
23266 * po/ko.po: Likewise.
23267 * po/ru.po: Likewise.
23268 * po/vi.po: Likewise.
23269
23270 2015-07-31 Zack Weinberg <zackw@panix.com>
23271
23272 [BZ #18681]
23273 * regexp.h: Add unconditional #warning stating that this header
23274 will be removed soon. Revise banner comment to match.
23275 (compile): Consistently use ERROR instead of RETURN to report
23276 errors (partial fix for bz#18681).
23277 * regexp.c: Don't include regexp.h. Remove some unnecessary
23278 declarations.
23279
23280 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23281
23282 * po/libc.pot: Regenerated.
23283
23284 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23285
23286 [BZ #18740]
23287 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23288 float-vlen4-arch-ext-cflags): Removed.
23289 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23290 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23291
23292 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23293
23294 [BZ #14113]
23295 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23296 aligned to __aligned__.
23297 (pthread_cond_t, pthread_rwlock_t): Likewise.
23298
23299 2015-07-30 Torvald Riegel <triegel@redhat.com>
23300
23301 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23302
23303 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23304
23305 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23306 (struct sigaction): Change sa_flags from a long to an int, and add
23307 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23308
23309 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23310
23311 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23312 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23313 sysdeps/generic/sysdep.h include.
23314 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23315 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23316 sysdeps/hppa/sysdep.h.
23317 (ENTRY, PSEUDO): Undefine before defining.
23318
23319 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23320
23321 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23322 from scratch to use INTERNAL_SYSCALL.
23323
23324 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23325
23326 [BZ #18078]
23327 * scripts/check-localplt.awk: Support alternate relocations.
23328 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23329 sections.
23330 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23331 malloc entries with + REL R_386_GLOB_DAT.
23332 * sysdeps/x86_64/localplt.data: New file.
23333
23334 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23335
23336 [BZ #18731]
23337 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23338 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23339 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23340
23341 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23342
23343 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23344
23345 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23346
23347 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23348 directly in terms of __sync_fetch_and_add and delete (int) cast.
23349
23350 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23351
23352 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23353 the -D_ASM_IA64_CURRENT_H flag.
23354
23355 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23356
23357 [BZ #18641]
23358 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23359
23360 2015-07-27 Andreas Schwab <schwab@suse.de>
23361
23362 * conform/conformtest.pl (checknamespace): Filter out string
23363 literals while tokenizing.
23364
23365 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23366
23367 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23368 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23369 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23370
23371 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23372
23373 * nptl/tst-join7mod.c: Add #include <string.h>.
23374
23375 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23376
23377 * sysdeps/nios2/libm-test-ulps: Update.
23378
23379 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23380
23381 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23382 Fix order of arguments to the rt_sigprocmask syscall.
23383 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23384 Likewise.
23385
23386 2015-07-24 Roland McGrath <roland@hack.frob.com>
23387
23388 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23389
23390 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23391
23392 [BZ #18457]
23393 * nptl/Makefile (tests): New test case tst-join7.
23394 (modules-names): New test case module tst-join7mod.
23395 * nptl/tst-join7.c: New file.
23396 * nptl/tst-join7mod.c: New file.
23397 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23398 all translation units in libc.so, libpthread.so and rtld.
23399
23400 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23401
23402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23403
23404 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23405
23406 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23407 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23408 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23412 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23413 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23414 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23415 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23416 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23417 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23418 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23419 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23420 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23421 implementation.
23422
23423 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23424
23425 [BZ #17711]
23426 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23427 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23428 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23429 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23430 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23431 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23432
23433 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23434
23435 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23436 instead of just saying load lock in the comments.
23437
23438 2015-07-23 Roland McGrath <roland@hack.frob.com>
23439
23440 * sysdeps/unix/Subdirs: Moved ...
23441 * sysdeps/posix/Subdirs: ... here.
23442 * login/pty.h (struct termios, struct winsize): Add forward decls.
23443 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23444 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23445 * sysdeps/arm/nacl/libc.abilist: Updated.
23446 * sysdeps/nacl/libutil.abilist: New file.
23447
23448 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23449 (SIGWINCH): New macro.
23450
23451 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23452 * sysdeps/arm/nacl/libc.abilist: Add it.
23453
23454 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23455
23456 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23457
23458 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23459
23460 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23461 Swap __glibc_reserved0 and sa_flags order.
23462
23463 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23464
23465 [BZ #18657]
23466 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23467 are pending TLS destructor calls.
23468 * include/link.h (struct link_map): Add concurrency note for
23469 L_TLS_DTOR_COUNT.
23470 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23471 Don't touch the link map flag. Atomically increment
23472 l_tls_dtor_count.
23473 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23474 Avoid taking the load lock and don't touch the link map flag.
23475 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23476 * stdlib/Makefile (tests): Use it.
23477 * stdlib/tst-tls-atexit.c (do_test): dlopen
23478 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23479 to allow tst-tls-atexit-nodelete test case to use it.
23480
23481 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23482
23483 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23484 to bits/types.h.
23485 (msgqnum_t): New typedef.
23486 (msglen_t): Likewise.
23487 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23488 and msg_qbytes type to msglen_t.
23489
23490 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23491
23492 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23493 pad0 to __glibc_reserved0.
23494 (struct stat64): Likewise.
23495
23496 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23497
23498 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23499 Change sa_flags from a long to an int and add __glibc_reserved0 before
23500 it for padding.
23501
23502 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23503
23504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23505 anonymous by deleting "siginfo" name.
23506
23507 2015-07-21 Roland McGrath <roland@hack.frob.com>
23508
23509 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23510 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23511 rather than __nacl_irt_filename.
23512 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23513
23514 * NEWS: New item for arm-nacl port.
23515 * sysdeps/arm/nacl/libc.abilist: New file.
23516 * sysdeps/nacl/ld.abilist: New file.
23517 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23518 * sysdeps/nacl/libanl.abilist: New file.
23519 * sysdeps/nacl/libcrypt.abilist: New file.
23520 * sysdeps/nacl/libdl.abilist: New file.
23521 * sysdeps/nacl/libm.abilist: New file.
23522 * sysdeps/nacl/libpthread.abilist: New file.
23523 * sysdeps/nacl/libresolv.abilist: New file.
23524 * sysdeps/nacl/librt.abilist: New file.
23525
23526 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23527
23528 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23529 __startcontext to initialize the new context.
23530 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23531 up CFI directive to forbid further backtracing.
23532
23533 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23534
23535 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23536 reference.
23537 * charmaps/ANSI_X3.4-1968: Likewise.
23538 * charmaps/BS_4730: Likewise.
23539 * charmaps/BS_VIEWDATA: Likewise.
23540 * charmaps/CP1250: Likewise.
23541 * charmaps/CP1251: Likewise.
23542 * charmaps/CP1252: Likewise.
23543 * charmaps/CP1253: Likewise.
23544 * charmaps/CP1254: Likewise.
23545 * charmaps/CP1255: Likewise.
23546 * charmaps/CP1256: Likewise.
23547 * charmaps/CSN_369103: Likewise.
23548 * charmaps/EBCDIC-DK-NO: Likewise.
23549 * charmaps/GB_1988-80: Likewise.
23550 * charmaps/GREEK-CCITT: Likewise.
23551 * charmaps/GREEK7: Likewise.
23552 * charmaps/INIS-8: Likewise.
23553 * charmaps/ISIRI-3342: Likewise.
23554 * charmaps/ISO_2033-1983: Likewise.
23555 * charmaps/ISO_5427-EXT: Likewise.
23556 * locales/POSIX: Likewise.
23557 * locales/ar_SA: Likewise.
23558 * locales/be_BY: Likewise.
23559 * locales/be_BY@latin: Likewise.
23560 * locales/ca_ES: Likewise.
23561 * locales/cs_CZ: Likewise.
23562 * locales/da_DK: Likewise.
23563 * locales/de_BE: Likewise.
23564 * locales/de_CH: Likewise.
23565 * locales/de_LU: Likewise.
23566 * locales/en_AU: Likewise.
23567 * locales/en_BW: Likewise.
23568 * locales/en_CA: Likewise.
23569 * locales/en_DK: Likewise.
23570 * locales/en_GB: Likewise.
23571 * locales/en_IE: Likewise.
23572 * locales/en_NZ: Likewise.
23573 * locales/en_ZA: Likewise.
23574 * locales/en_ZW: Likewise.
23575 * locales/es_AR: Likewise.
23576 * locales/es_BO: Likewise.
23577 * locales/es_CL: Likewise.
23578 * locales/es_CO: Likewise.
23579 * locales/es_DO: Likewise.
23580 * locales/es_EC: Likewise.
23581 * locales/es_ES: Likewise.
23582 * locales/es_HN: Likewise.
23583 * locales/es_MX: Likewise.
23584 * locales/es_PA: Likewise.
23585 * locales/es_PE: Likewise.
23586 * locales/es_PY: Likewise.
23587 * locales/es_SV: Likewise.
23588 * locales/es_US: Likewise.
23589 * locales/es_UY: Likewise.
23590 * locales/es_VE: Likewise.
23591 * locales/et_EE: Likewise.
23592 * locales/fa_IR: Likewise.
23593 * locales/fo_FO: Likewise.
23594 * locales/fr_CA: Likewise.
23595 * locales/fr_CH: Likewise.
23596 * locales/gv_GB: Likewise.
23597 * locales/he_IL: Likewise.
23598 * locales/hr_HR: Likewise.
23599 * locales/id_ID: Likewise.
23600 * locales/is_IS: Likewise.
23601 * locales/it_CH: Likewise.
23602 * locales/iw_IL: Likewise.
23603 * locales/kl_GL: Likewise.
23604 * locales/ko_KR: Likewise.
23605 * locales/kw_GB: Likewise.
23606 * locales/lg_UG: Likewise.
23607 * locales/lt_LT: Likewise.
23608 * locales/lv_LV: Likewise.
23609 * locales/mi_NZ: Likewise.
23610 * locales/nhn_MX: Likewise.
23611 * locales/nl_BE: Likewise.
23612 * locales/pl_PL: Likewise.
23613 * locales/sk_SK: Likewise.
23614 * locales/sl_SI: Likewise.
23615 * locales/sv_FI: Likewise.
23616 * locales/tl_PH: Likewise.
23617 * locales/tr_TR: Likewise.
23618 * locales/vi_VN: Likewise.
23619
23620 2015-07-21 Khem Raj <raj.khem@gmail.com>
23621
23622 [BZ #17475]
23623 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23624 of tu_IN and bh_IN.
23625
23626 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23627
23628 [BZ #18694]
23629 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23630 bits/wordsize.h.
23631 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23632
23633 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23634
23635 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23636 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23637 (spawn_thread): New function.
23638 (load): Rename to reg_dtor_and_close. Move dlopen to...
23639 (do_test): ... here. Use IS_LOADED to test for its
23640 availability.
23641
23642 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23643
23644 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23645
23646 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 [BZ #18696]
23649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23650 si_addr_bnd.
23651 (si_lower): New.
23652 (si_upper): Likewise.
23653
23654 2015-07-16 David S. Miller <davem@davemloft.net>
23655
23656 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23657
23658 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23659
23660 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23661 buffer.
23662 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23663 fail output information.
23664
23665 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23666
23667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23668 and strstr-ppc64..
23669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23670 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23671 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23672 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23673 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23674
23675 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23676
23677 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23678 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23679 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23680 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23681
23682 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23683
23684 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23685 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23686 rtld_hidden_proto.
23687 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23688
23689 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23690
23691 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23692 the test can fail.
23693
23694 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23695
23696 [BZ #18676]
23697 * elf/tst-nodelete-opened.c: New test case.
23698 * elf/tst-nodelete-opened-lib.c: New test case module.
23699 * elf/Makefile (tests, modules-names): Use them.
23700 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23701 early.
23702
23703 2015-07-15 David S. Miller <davem@davemloft.net>
23704
23705 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23706 futex-intenal.h
23707 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23708 * sysdeps/sparc/sparc64/Makefile: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23710 Remove space from macro define.
23711 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23712
23713 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23714
23715 [BZ #17475]
23716 * locale/iso-639.def: Update Bhili and Tulu language codes as
23717 per iso639-3.
23718
23719 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23720
23721 * elf/tst-leaks1.c (main): Converted to ...
23722 (do_test): ... this.
23723 (TEST_FUNCTION): New macro.
23724 Include test-skeleton.c.
23725 * localedata/tst-langinfo.c (main): Converted to ...
23726 (do_test): ... this.
23727 (TEST_FUNCTION): New macro.
23728 Include test-skeleton.c.
23729 * math/test-fpucw.c (main): Converted to ...
23730 (do_test): ... this.
23731 (TEST_FUNCTION): New macro.
23732 Include test-skeleton.c.
23733 * math/test-tgmath.c (main): Converted to ...
23734 (do_test): ... this.
23735 (TEST_FUNCTION): New macro.
23736 Include test-skeleton.c.
23737 * math/test-tgmath2.c (main): Converted to ...
23738 (do_test): ... this.
23739 (TEST_FUNCTION): New macro.
23740 Include test-skeleton.c.
23741 * setjmp/tst-setjmp.c (main): Converted to ...
23742 (do_test): ... this.
23743 (TEST_FUNCTION): New macro.
23744 Include test-skeleton.c.
23745 * stdio-common/tst-sscanf.c (main): Converted to ...
23746 (do_test): ... this.
23747 (TEST_FUNCTION): New macro.
23748 Include test-skeleton.c.
23749 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23750 (do_test): ... this.
23751 (TEST_FUNCTION): New macro.
23752 Include test-skeleton.c.
23753
23754 * elf/tst-audit9.c (main): Converted to ...
23755 (do_test): ... this.
23756 (TEST_FUNCTION): New macro.
23757 Include test-skeleton.c.
23758
23759 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23760
23761 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23762
23763 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23764
23765 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23766 New variable.
23767
23768 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23769
23770 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23771
23772 2015-07-14 Roland McGrath <roland@hack.frob.com>
23773
23774 * sysdeps/generic/dl-fileid.h: New file.
23775 * sysdeps/posix/dl-fileid.h: New file.
23776 * sysdeps/nacl/dl-fileid.h: New file.
23777 * include/link.h: Include <dl-fileid.h>.
23778 (struct link_map): Replace l_dev and l_ino with l_file_id.
23779 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23780 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23781 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23782
23783 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23784
23785 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23786
23787 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23788
23789 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23790 Add iff $CXX is set.
23791 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23792 Likewise.
23793 (tst-nodelete-zmodiff): Likewise.
23794 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23795
23796 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23797
23798 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23799
23800 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23801
23802 * sysdeps/aarch64/fpu/math_private.h
23803 (define math_opt_barrier): Add AArch64 version.
23804 (math_force_eval): Likewise.
23805
23806 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23807
23808 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23809
23810 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23811
23812 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23813 %ld with %jd and cast to intmax_t.
23814 (do_test_length_zero): Likewise.
23815
23816 2015-07-10 Roland McGrath <roland@hack.frob.com>
23817
23818 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23819
23820 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23821
23822 * sysdeps/tile/libm-test-ulps: Regenerated.
23823
23824 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23825 Comment out the whole function, not just its body.
23826
23827 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23828
23829 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23830 locks.
23831
23832 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23833
23834 2015-07-10 Torvald Riegel <triegel@redhat.com>
23835
23836 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23837 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23838
23839 2015-07-10 Torvald Riegel <triegel@redhat.com>
23840
23841 * sysdeps/nptl/futex-internal.h: New file.
23842 * sysdeps/nacl/futex-internal.h: New file.
23843 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23844 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23845 error checking.
23846 (setxid_unmark_thread): Likewise.
23847 (__nptl_setxid): Likewise.
23848 (__wait_lookup_done): Likewise.
23849 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23850 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23851 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23852 * nptl/pthread_once.c (clear_once_control): Likewise.
23853 (__pthread_once_slow): Likewise.
23854 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23855 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23856 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23857 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23858 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23859 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23860 Likewise.
23861 (__pthread_rwlock_rdlock): Likewise.
23862 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23863 Likewise.
23864 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23865 Likewise.
23866 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23867 Likewise.
23868 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23869 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23870 Likewise.
23871 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23872 __ASSUME_PRIVATE_FUTEX check.
23873 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23874 Check that shared futexes are supported.
23875 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23876 wrappers with error checking.
23877 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23878 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23879 * nptl/pthread_barrierattr_setpshared.c
23880 (pthread_barrierattr_setpshared): Check that shared futexes are
23881 supported.
23882 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23883 Likewise.
23884 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23885 Likewise.
23886 * nptl/sem_init.c (futex_private_if_supported): Remove.
23887 (__new_sem_init): Adapt and check that shared futexes are supported.
23888 * nptl/sem_open.c (sem_open): Likewise.
23889 * nptl/sem_post.c (futex_wake): Remove.
23890 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23891 (do_futex_wait): Use futex wrappers with error checking.
23892 * nptl/sem_wait.c: Include lowlevellock.h.
23893 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23894 Use futex_supports_pshared.
23895 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23896 Use futex wrappers with error checking.
23897 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23898 Likewise.
23899 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23900 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23901 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23902 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23903 (futex_wake): Likewise.
23904 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23905 (do_futex_wait): Use futex wrappers with error checking.
23906 (__new_sem_wait_slow): Update EINTR handling.
23907 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23908
23909 2015-07-09 Martin Sebor <msebor@redhat.com>
23910
23911 [BZ #18435]
23912 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23913 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23914 * nptl/Makefile (test-xfail-tst-once5): Define.
23915
23916 2015-07-09 Roland McGrath <roland@hack.frob.com>
23917
23918 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23919 * elf/dl-minimal.c: For readability, reorder some definitions and
23920 introduce more page breaks. Include <stdio.h>.
23921 (__libc_fatal): New function.
23922
23923 * include/unistd.h: Add rtld_hidden_proto for _exit.
23924 * posix/_exit.c: Add rtld_hidden_def.
23925 * sysdeps/mach/hurd/_exit.c: Likewise.
23926 * sysdeps/nacl/_exit.c: Likewise.
23927 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23928 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23929
23930 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23931
23932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23933 bndmov encoding with zero displacement.
23934
23935 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23936 H.J. Lu <hongjiu.lu@intel.com>
23937
23938 [BZ #18134]
23939 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23940 * sysdeps/i386/configure: Regenerated.
23941 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23942 (_dl_runtime_profile): Save and restore Intel MPX return bound
23943 registers when calling _dl_call_pltexit. Add
23944 PRESERVE_BND_REGS_PREFIX before return.
23945 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23946 (LRV_BND1_OFFSET): Likewise.
23947 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23948 lrv_bnd1.
23949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23950 typo in bndmov encoding.
23951 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23952 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23953 branch instructions to preserve bounds.
23954
23955 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23956
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23958 [GLIBC_2.22]: Add fmemopen.
23959
23960 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23961
23962 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23963 returns an error, also try to use host port from __mach_host_self for
23964 the __vm_wire call.
23965 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23966
23967 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23968
23969 [BZ #18400]
23970 [BZ #18648]
23971 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23972 Fix pr_uid and pr_gid members.
23973 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23974 definition to elf_greg_t.
23975
23976 2015-07-08 Roland McGrath <roland@hack.frob.com>
23977
23978 [BZ #18383]
23979 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23980 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23981 * sysdeps/arm/configure: Regenerated.
23982 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23983 (test-xfail-tst-tlsalign-static): Variable removed.
23984
23985 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23986 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23987 rather than explicit 'ln -s'.
23988
23989 * resolv/rpc/netdb.h: New file.
23990 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23991
23992 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23993
23994 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23995 length buffers.
23996 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23997 test-skeleton.c.
23998
23999 [BZ #6544]
24000 [BZ #11216]
24001 [BZ #12836]
24002 [BZ #13151]
24003 [BZ #13152]
24004 [BZ #14292]
24005 * include/stdio.h (fmemopen): Remove hidden prototype.
24006 (__fmemopen): Add new hidden prototype.
24007 * libio/Makefile: Add oldfmemopen object.
24008 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24009 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24010 compliance.
24011 * libio/oldfmemopen.c: New file: old fmemopen implementation for
24012 symbol compatibility.
24013 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24014 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24015 fmemopen.
24016 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24017 on append and read mode.
24018 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24019 fmemopen.
24020 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24021 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24022 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24023 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24024 Likewise.
24025 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24026 [GLIBC_2.22]: Likewise.
24027 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24028 Likewise.
24029 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24030 Likewise.
24031 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24032 [GLIBC_2.22]: Likewise.
24033 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24034 [GLIBC_2.22]: Likewise.
24035 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24036 [GLIBC_2.22]: Likewise.
24037 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24038 [GLIBC_2.22]: Likewise.
24039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24040 [GLIBC_2.22]: Likewise.
24041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24042 [GLIBC_2.22]: Likewise.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24044 [GLIBC_2.22]: Likewise.
24045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24046 Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24048 Likewise.
24049 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24051 [GLIBC_2.22]: Likewise.
24052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24053 [GLIBC_2.22]: Likewise.
24054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24055 [GLIBC_2.22]: Likewise.
24056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24057 [GLIBC_2.22]: Likewise.
24058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24059 Likewise.
24060 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24061 Likewise.
24062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24063 Likewise.
24064 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24065 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24066
24067 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24068
24069 [BZ #18643]
24070 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24071 IPV6_PATHMTU, and IPV6_DONTFRAG.
24072
24073 2015-07-08 Feng Gao <gfree.wind@gmail.com>
24074
24075 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24076 and _IO_UNBUFFERED.
24077 * libio/oldfileops.c: Likewise.
24078 * libio/wfileops.c: Likewise.
24079
24080 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24081
24082 * nscd/selinux.c: Delete selinux/flask.h include.
24083
24084 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24085
24086 [BZ #18641]
24087 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24088 (putpwent): Likewise.
24089 (getpwnam): Likewise.
24090 (getpwent_r): Likewise.
24091 (getpwuid_r): Likewise.
24092 (getpwnam_r): Likewise.
24093 (fgetpwent_r): Likewise.
24094
24095 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24096
24097 [BZ #18557]
24098 * inet/rcmd.c (__validuser2_sa): Check user first to
24099 short-circuit host check.
24100
24101 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
24102 Mikhail Ilin <m.ilin@samsung.com>
24103
24104 [BZ #17833]
24105 * elf/Makefile (tests): Add tst-nodelete.
24106 (modules-names): Add tst-nodelete-uniquemod.
24107 (tst-nodelete-uniquemod.so-no-z-defs): New.
24108 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24109 (tst-nodelete-zmod.so-no-z-defs): Likewise.
24110 ($(objpfx)tst-nodelete): Likewise.
24111 ($(objpfx)tst-nodelete.out): Likewise.
24112 (LDFLAGS-tst-nodelete): Likewise.
24113 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24114 * elf/dl-close.c (_dl_close_worker): Add a parameter to
24115 implement forced object deletion.
24116 (_dl_close): Pass false to _dl_close_worker.
24117 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24118 * elf/tst-nodelete.cc: New file.
24119 * elf/tst-nodeletelib.cc: Likewise.
24120 * elf/tst-znodeletelib.cc: Likewise.
24121 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24122
24123 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24124
24125 [BZ #18508]
24126 * stdlib/Makefile ($(objpfx)tst-makecontext3):
24127 Depend on $(libdl).
24128 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24129 is not called infinitely times.
24130 (backtrace_helper): New function.
24131 (trace_arg): New struct.
24132 (st1): Enlarge stack size.
24133 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24134 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24135 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24136 Likewise.
24137
24138 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24139
24140 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24141
24142 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24143
24144 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24145 Include sys/types.h instead of bits/types.h.
24146 Remove inclusion of bits/wordsize.h.
24147
24148 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24151 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24152 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24153 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24154 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24155 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24156
24157 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24158
24159 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24160 link-defines.sym.
24161 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24162 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24163 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24164 and LR_SIZE.
24165 * sysdeps/i386/link-defines.sym: New file.
24166
24167 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24168
24169 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24170 (modules-names): Add tst-auditmod3a tst-auditmod3b.
24171 ($(objpfx)tst-audit3): New rule.
24172 ($(objpfx)tst-audit3.out): Likewise.
24173 * sysdeps/i386/tst-audit3.c: New file.
24174 * sysdeps/i386/tst-audit3.h: Likewise.
24175 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24176 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24177
24178 2015-07-07 Torvald Riegel <triegel@redhat.com>
24179
24180 [BZ #18633]
24181 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24182 pointer in C code.
24183 (__strcat_c): Likewise.
24184 (__strcat_g): Likewise.
24185
24186 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24187
24188 [BZ #18592]
24189 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24190
24191 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24192
24193 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24194 New function. (__ieee754_sqrtf): New function.
24195 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24196 New function.
24197 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24198 New function.
24199
24200 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24201
24202 * sysdeps/ieee754/support.c: Remove unused file.
24203
24204 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24205
24206 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24207 registers instead of d ones so the layout is kernel abi compatible.
24208 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24209 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24210 Likewise.
24211
24212 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24213
24214 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24215
24216 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24217
24218 [BZ #18619]
24219 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24220 and return argument in case of subnormal argument.
24221
24222 2015-07-01 Martin Sebor <msebor@redhat.com>
24223
24224 [BZ #18435]
24225 * nptl/Makefile: Add tst-once5.cc.
24226 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24227 Remove macro redefinitions.
24228 * nptl/tst-once5.cc: New test.
24229
24230 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24231
24232 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24233
24234 * sysdeps/arm/libm-test-ulps: Regenerated.
24235
24236 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24237 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24238
24239 2015-06-30 Torvald Riegel <triegel@redhat.com>
24240
24241 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24242 lll_lock_wait_private and lll_futex_wake probes.
24243
24244 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24245 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24246 Likewise.
24247 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24248 atomic_spin_nop.
24249 * sysdeps/x86_64/bits/atomic.h: Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24251 to atomic_spin_nop and move ...
24252 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24253 ... here and ...
24254 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24255 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24256 atomic_spin_nop instead of BUSY_WAIT_NOP.
24257 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24258 Likewise.
24259 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24260 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24261 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24262 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24263 instead of atomic_delay.
24264
24265 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24266
24267 [BZ #18613]
24268 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24269 X_ADJ not X when adjusting exponent.
24270 (__ieee754_gamma_r): Do intermediate computations in
24271 round-to-nearest then adjust overflowing and underflowing results
24272 as needed.
24273 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24274 of X_ADJ not X when adjusting exponent.
24275 (__ieee754_gammaf_r): Do intermediate computations in
24276 round-to-nearest then adjust overflowing and underflowing results
24277 as needed.
24278 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24279 log of X_ADJ not X when adjusting exponent.
24280 (__ieee754_gammal_r): Do intermediate computations in
24281 round-to-nearest then adjust overflowing and underflowing results
24282 as needed. Use 1.0L not 1.0f as numerator of division.
24283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24284 log of X_ADJ not X when adjusting exponent.
24285 (__ieee754_gammal_r): Do intermediate computations in
24286 round-to-nearest then adjust overflowing and underflowing results
24287 as needed. Use 1.0L not 1.0f as numerator of division.
24288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24289 of X_ADJ not X when adjusting exponent.
24290 (__ieee754_gammal_r): Do intermediate computations in
24291 round-to-nearest then adjust overflowing and underflowing results
24292 as needed. Use 1.0L not 1.0f as numerator of division.
24293 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24294 to auto-libm-test-in.
24295 (tgamma_test): Use ALL_RM_TEST.
24296 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24297 tests of tgamma with spurious-overflow.
24298 * math/auto-libm-test-out: Regenerated.
24299 * math/gen-libm-have-vector-test.sh: Do not check for START.
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302
24303 [BZ #18612]
24304 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24305 arguments, just return 0.5 times the argument, with underflow
24306 forced as needed.
24307 * math/auto-libm-test-in: Add more tests of j1.
24308 * math/auto-libm-test-out: Regenerated.
24309
24310 [BZ #16559]
24311 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24312 (__ieee754_j1): Force underflow exception for small results.
24313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24314 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24315 (__ieee754_j1f): Force underflow exception for small results.
24316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24319 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24320 (__ieee754_j1l): Force underflow exception for small results.
24321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24322 * math/auto-libm-test-in: Add more tests of j1 and jn.
24323 * math/auto-libm-test-out: Regenerated.
24324
24325 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24327 (PF_MPLS): Likewise.
24328 (AF_IB): Likewise.
24329 (AF_MPLS): Likewise.
24330 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24331 value and macro.
24332 (MS_RMT_MASK): Include MS_LAZYTIME.
24333
24334 2015-06-26 Mel Gorman <mgorman@suse.de>
24335
24336 [BZ #18502]
24337 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24338 already minimal.
24339
24340 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24341
24342 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24343 (DT_MIPS_NUM): Update.
24344 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24345 DT_MIPS_RLD_MAP_REL.
24346
24347 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24348
24349 [BZ #16559]
24350 [BZ #18602]
24351 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24352 round-to-nearest internally then recompute results that
24353 underflowed to zero in the original rounding mode.
24354 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24355 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24357 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24358 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24359 * sysdeps/i386/fpu/libm-test-ulps: Update.
24360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24361
24362 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24363
24364 * NEWS: Fixed description of link with vector math library.
24365
24366 2015-06-25 Andreas Schwab <schwab@suse.de>
24367
24368 [BZ #18549]
24369 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24370 * libio/test-fmemopen.c (do_test): Add test for it.
24371
24372 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24373
24374 [BZ #17841]
24375 * Makeconfig (no-pie-ldflag): New.
24376 (+link): Set to $(+link-pie) if default to PIE.
24377 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24378 * config.make.in (build-pie-default): New.
24379 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24380 is default. AC_SUBST.
24381 * configure: Regenerated.
24382 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24383
24384 2015-06-24 Roland McGrath <roland@hack.frob.com>
24385
24386 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24387 to 'unsigned int'.
24388
24389 * resolv/gai_misc.h (struct waitlist): Change type of field
24390 counterp to 'volatile unsigned int *'.
24391 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24392 FUTEXADDR and OLDVAL.
24393 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24394 Give local variable TOTAL type 'volatile unsigned int'.
24395 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24396 * resolv/gai_suspend.c (gai_suspend):
24397 Give local variable CNTR type 'unsigned int'.
24398
24399 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24400 counterp to 'volatile unsigned int *'.
24401 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24402 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24403 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24404 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24405 Give local variable TOTAL type 'volatile unsigned int'.
24406 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24407
24408 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24409
24410 [BZ #18383]
24411 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24412 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24413 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24414 comment for i386/x86-64.
24415 (test-xfail-tst-tlsalign-extern-static): Removed.
24416
24417 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24418
24419 * math/test-double.h: New file.
24420 * math/test-float.h: Likewise.
24421 * math/test-ldouble.h: Likewise.
24422 * math/test-math-inline.h: Likewise.
24423 * math/test-math-no-inline.h: Likewise.
24424 * math/test-math-scalar.h: Likewise.
24425 * math/test-math-vector.h: Likewise.
24426 * math/test-vec-loop.h: Remove file. Contents moved into
24427 test-math-vector.h.
24428 * math/libm-test.inc (MATHCONST): Do not document macro.
24429 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24430 and test-math-scalar.h.
24431 (FUNC): Remove macro.
24432 (FUNC_TEST): Likewise.
24433 (FLOAT): Likewise.
24434 (MATHCONST): Likewise.
24435 (PRINTF_EXPR): Likewise.
24436 (PRINTF_XEXPR): Likewise.
24437 (PRINTF_NEXPR): Likewise.
24438 (TEST_DOUBLE): Likewise.
24439 (TEST_MATHVEC): Likewise.
24440 (__NO_MATH_INLINES): Likewise.
24441 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24442 and test-math-scalar.h.
24443 (FUNC): Remove macro.
24444 (FUNC_TEST): Likewise.
24445 (FLOAT): Likewise.
24446 (MATHCONST): Likewise.
24447 (PRINTF_EXPR): Likewise.
24448 (PRINTF_XEXPR): Likewise.
24449 (PRINTF_NEXPR): Likewise.
24450 (TEST_FLOAT): Likewise.
24451 (TEST_MATHVEC): Likewise.
24452 (__NO_MATH_INLINES): Likewise.
24453 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24454 and test-math-scalar.h.
24455 (FUNC): Remove macro.
24456 (FUNC_TEST): Likewise.
24457 (FLOAT): Likewise.
24458 (MATHCONST): Likewise.
24459 (PRINTF_EXPR): Likewise.
24460 (PRINTF_XEXPR): Likewise.
24461 (PRINTF_NEXPR): Likewise.
24462 (TEST_DOUBLE): Likewise.
24463 (TEST_MATHVEC): Likewise.
24464 (TEST_INLINE): Likewise.
24465 (__NO_MATH_INLINES): Likewise.
24466 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24467 test-math-scalar.h.
24468 (FUNC): Remove macro.
24469 (FUNC_TEST): Likewise.
24470 (FLOAT): Likewise.
24471 (MATHCONST): Likewise.
24472 (PRINTF_EXPR): Likewise.
24473 (PRINTF_XEXPR): Likewise.
24474 (PRINTF_NEXPR): Likewise.
24475 (TEST_FLOAT): Likewise.
24476 (TEST_MATHVEC): Likewise.
24477 (TEST_INLINE): Likewise.
24478 (__NO_MATH_INLINES): Likewise.
24479 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24480 and test-math-scalar.h.
24481 (FUNC): Remove macro.
24482 (FUNC_TEST): Likewise.
24483 (FLOAT): Likewise.
24484 (MATHCONST): Likewise.
24485 (PRINTF_EXPR): Likewise.
24486 (PRINTF_XEXPR): Likewise.
24487 (PRINTF_NEXPR): Likewise.
24488 (TEST_LDOUBLE): Likewise.
24489 (TEST_MATHVEC): Likewise.
24490 (TEST_INLINE): Likewise.
24491 (__NO_MATH_INLINES): Likewise.
24492 * math/test-ldouble.c: Include test-ldouble.h,
24493 test-math-no-inline.h and test-math-scalar.h.
24494 (FUNC): Remove macro.
24495 (FUNC_TEST): Likewise.
24496 (FLOAT): Likewise.
24497 (MATHCONST): Likewise.
24498 (PRINTF_EXPR): Likewise.
24499 (PRINTF_XEXPR): Likewise.
24500 (PRINTF_NEXPR): Likewise.
24501 (TEST_LDOUBLE): Likewise.
24502 (TEST_MATHVEC): Likewise.
24503 (__NO_MATH_INLINES): Likewise.
24504 * math/test-double-vlen2.h: Include test-double.h,
24505 test-math-no-inline.h and test-math-vector.h.
24506 (FLOAT): Remove macro.
24507 (FUNC): Likewise.
24508 (MATHCONST): Likewise.
24509 (PRINTF_EXPR): Likewise.
24510 (PRINTF_XEXPR): Likewise.
24511 (PRINTF_NEXPR): Likewise.
24512 (TEST_DOUBLE): Likewise.
24513 (TEST_MATHVEC): Likewise.
24514 (__NO_MATH_INLINES): Likewise.
24515 (CNCT): Likewise.
24516 (CONCAT): Likewise.
24517 (WRAPPER_NAME): Likewise.
24518 (WRAPPER_DECL): Likewise.
24519 (WRAPPER_DECL_ff): Likewise.
24520 (WRAPPER_DECL_fFF): Likewise.
24521 (VECTOR_WRAPPER): Likewise.
24522 (VECTOR_WRAPPER_ff): Likewise.
24523 (VECTOR_WRAPPER_fFF): Likewise.
24524 (VEC_LEN): New macro.
24525 * math/test-double-vlen4.h: Include test-double.h,
24526 test-math-no-inline.h and test-math-vector.h.
24527 (FLOAT): Remove macro.
24528 (FUNC): Likewise.
24529 (MATHCONST): Likewise.
24530 (PRINTF_EXPR): Likewise.
24531 (PRINTF_XEXPR): Likewise.
24532 (PRINTF_NEXPR): Likewise.
24533 (TEST_DOUBLE): Likewise.
24534 (TEST_MATHVEC): Likewise.
24535 (__NO_MATH_INLINES): Likewise.
24536 (CNCT): Likewise.
24537 (CONCAT): Likewise.
24538 (WRAPPER_NAME): Likewise.
24539 (WRAPPER_DECL): Likewise.
24540 (WRAPPER_DECL_ff): Likewise.
24541 (WRAPPER_DECL_fFF): Likewise.
24542 (VECTOR_WRAPPER): Likewise.
24543 (VECTOR_WRAPPER_ff): Likewise.
24544 (VECTOR_WRAPPER_fFF): Likewise.
24545 (VEC_LEN): New macro.
24546 * math/test-double-vlen8.h: Include test-double.h,
24547 test-math-no-inline.h and test-math-vector.h.
24548 (FLOAT): Remove macro.
24549 (FUNC): Likewise.
24550 (MATHCONST): Likewise.
24551 (PRINTF_EXPR): Likewise.
24552 (PRINTF_XEXPR): Likewise.
24553 (PRINTF_NEXPR): Likewise.
24554 (TEST_DOUBLE): Likewise.
24555 (TEST_MATHVEC): Likewise.
24556 (__NO_MATH_INLINES): Likewise.
24557 (CNCT): Likewise.
24558 (CONCAT): Likewise.
24559 (WRAPPER_NAME): Likewise.
24560 (WRAPPER_DECL): Likewise.
24561 (WRAPPER_DECL_ff): Likewise.
24562 (WRAPPER_DECL_fFF): Likewise.
24563 (VECTOR_WRAPPER): Likewise.
24564 (VECTOR_WRAPPER_ff): Likewise.
24565 (VECTOR_WRAPPER_fFF): Likewise.
24566 (VEC_LEN): New macro.
24567 * math/test-float-vlen4.h: Include test-float.h,
24568 test-math-no-inline.h and test-math-vector.h.
24569 (FLOAT): Remove macro.
24570 (FUNC): Likewise.
24571 (MATHCONST): Likewise.
24572 (PRINTF_EXPR): Likewise.
24573 (PRINTF_XEXPR): Likewise.
24574 (PRINTF_NEXPR): Likewise.
24575 (TEST_FLOAT): Likewise.
24576 (TEST_MATHVEC): Likewise.
24577 (__NO_MATH_INLINES): Likewise.
24578 (CNCT): Likewise.
24579 (CONCAT): Likewise.
24580 (WRAPPER_NAME): Likewise.
24581 (WRAPPER_DECL): Likewise.
24582 (WRAPPER_DECL_ff): Likewise.
24583 (WRAPPER_DECL_fFF): Likewise.
24584 (VECTOR_WRAPPER): Likewise.
24585 (VECTOR_WRAPPER_ff): Likewise.
24586 (VECTOR_WRAPPER_fFF): Likewise.
24587 (VEC_LEN): New macro.
24588 * math/test-float-vlen8.h: Include test-float.h,
24589 test-math-no-inline.h and test-math-vector.h.
24590 (FLOAT): Remove macro.
24591 (FUNC): Likewise.
24592 (MATHCONST): Likewise.
24593 (PRINTF_EXPR): Likewise.
24594 (PRINTF_XEXPR): Likewise.
24595 (PRINTF_NEXPR): Likewise.
24596 (TEST_FLOAT): Likewise.
24597 (TEST_MATHVEC): Likewise.
24598 (__NO_MATH_INLINES): Likewise.
24599 (CNCT): Likewise.
24600 (CONCAT): Likewise.
24601 (WRAPPER_NAME): Likewise.
24602 (WRAPPER_DECL): Likewise.
24603 (WRAPPER_DECL_ff): Likewise.
24604 (WRAPPER_DECL_fFF): Likewise.
24605 (VECTOR_WRAPPER): Likewise.
24606 (VECTOR_WRAPPER_ff): Likewise.
24607 (VECTOR_WRAPPER_fFF): Likewise.
24608 (VEC_LEN): New macro.
24609 * math/test-float-vlen16.h: Include test-float.h,
24610 test-math-no-inline.h and test-math-vector.h.
24611 (FLOAT): Remove macro.
24612 (FUNC): Likewise.
24613 (MATHCONST): Likewise.
24614 (PRINTF_EXPR): Likewise.
24615 (PRINTF_XEXPR): Likewise.
24616 (PRINTF_NEXPR): Likewise.
24617 (TEST_FLOAT): Likewise.
24618 (TEST_MATHVEC): Likewise.
24619 (__NO_MATH_INLINES): Likewise.
24620 (CNCT): Likewise.
24621 (CONCAT): Likewise.
24622 (WRAPPER_NAME): Likewise.
24623 (WRAPPER_DECL): Likewise.
24624 (WRAPPER_DECL_ff): Likewise.
24625 (WRAPPER_DECL_fFF): Likewise.
24626 (VECTOR_WRAPPER): Likewise.
24627 (VECTOR_WRAPPER_ff): Likewise.
24628 (VECTOR_WRAPPER_fFF): Likewise.
24629 (VEC_LEN): New macro.
24630 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24631 test-vec-loop.h.
24632 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24633 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24634 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24635 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24636 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24637 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24638 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24639
24640 2015-06-24 Roland McGrath <roland@hack.frob.com>
24641
24642 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24643 (__getlogin_r): ... this.
24644
24645 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24646
24647 [BZ #18594]
24648 * math/s_ccosh.c (__ccosh): Compare with least normal value
24649 instead of comparing class with FP_SUBNORMAL.
24650 * math/s_ccoshf.c (__ccoshf): Likewise.
24651 * math/s_ccoshl.c (__ccoshl): Likewise.
24652 * math/s_cexp.c (__cexp): Likewise.
24653 * math/s_cexpf.c (__cexpf): Likewise.
24654 * math/s_cexpl.c (__cexpl): Likewise.
24655 * math/s_csin.c (__csin): Likewise.
24656 * math/s_csinf.c (__csinf): Likewise.
24657 * math/s_csinh.c (__csinh): Likewise.
24658 * math/s_csinhf.c (__csinhf): Likewise.
24659 * math/s_csinhl.c (__csinhl): Likewise.
24660 * math/s_csinl.c (__csinl): Likewise.
24661 * math/s_ctan.c (__ctan): Likewise.
24662 * math/s_ctanf.c (__ctanf): Likewise.
24663 * math/s_ctanh.c (__ctanh): Likewise.
24664 * math/s_ctanhf.c (__ctanhf): Likewise.
24665 * math/s_ctanhl.c (__ctanhl): Likewise.
24666 * math/s_ctanl.c (__ctanl): Likewise.
24667 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24668 csin, csinh, ctan and ctanh.
24669 * math/auto-libm-test-out: Regenerated.
24670 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24671 * sysdeps/i386/fpu/libm-test-ulps: Update.
24672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24673
24674 2015-06-24 Roland McGrath <roland@hack.frob.com>
24675
24676 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24677 return value is wrong, print the expected value too.
24678
24679 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24680
24681 [BZ #18585]
24682 * elf/readlib.c (is_gdb_python_file): New.
24683 (process_file): Don't issue errors on filenames with -gdb.py
24684 suffix.
24685
24686 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24687
24688 * math/auto-libm-test-in: Add more tests of csin and csinh.
24689 * math/auto-libm-test-out: Regenerated.
24690 * math/libm-test.inc (csin_test_data): Remove tests moved to
24691 auto-libm-test-in.
24692 (csinh_test_data): Likewise.
24693
24694 [BZ #18593]
24695 * math/s_csin.c (__csin): Negate before rather than after possibly
24696 overflowing multiplication.
24697 * math/s_csinf.c (__csinf): Likewise.
24698 * math/s_csinh.c (__csinh): Likewise.
24699 * math/s_csinhf.c (__csinhf): Likewise.
24700 * math/s_csinhl.c (__csinhl): Likewise.
24701 * math/s_csinl.c (__csinl): Likewise.
24702 * math/auto-libm-test-in: Add some tests of csin and csinh.
24703 * math/auto-libm-test-out: Regenerated.
24704 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24705 (csinh_test_data): Likewise.
24706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24707
24708 [BZ #18586]
24709 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24710 underflow exception for small results.
24711
24712 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24713
24714 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24715 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24716 variable and included header.
24717 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24718 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24719 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24720 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24721 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24722 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24723 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24725 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24726 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24727 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24728 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24729 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24730 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24731 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24732 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24733
24734 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24735
24736 [BZ #16526]
24737 [BZ #16538]
24738 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24739 (__sin): Force underflow exception for arguments with small
24740 absolute value.
24741 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24742 (__kernel_sinf): Force underflow exception for arguments with
24743 small absolute value.
24744 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24745 (__kernel_sincosl): Force underflow exception for arguments with
24746 small absolute value.
24747 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24748 (__kernel_sinl): Force underflow exception for arguments with
24749 small absolute value.
24750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24751 (__kernel_sincosl): Force underflow exception for arguments with
24752 small absolute value.
24753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24754 (__kernel_sinl): Force underflow exception for arguments with
24755 small absolute value.
24756 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24757 (__kernel_sinl): Force underflow exception for arguments with
24758 small absolute value.
24759 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24760 (__kernel_sinf): Force underflow exception for arguments with
24761 small absolute value.
24762 * math/auto-libm-test-in: Add more tests of sin and sincos.
24763 * math/auto-libm-test-out: Regenerated.
24764
24765 [BZ #18245]
24766 [BZ #18583]
24767 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24768 (__kernel_standard_l): Use feholdexcept and fesetenv around
24769 conversion to double instead of special-casing overflow and
24770 underflow.
24771 * math/libm-test.inc (fmod_test_data): Add more tests.
24772 (remainder_test_data): Likewise.
24773 (sqrt_test_data): Likewise.
24774
24775 2015-06-23 Torvald Riegel <triegel@redhat.com>
24776
24777 [BZ #17403]
24778 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24779 atomic_read_barrier, atomic_write_barrier): Define.
24780 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24781 atomic_read_barrier, atomic_write_barrier): Define.
24782
24783 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24784
24785 * math/Makefile [$(PERL) != no]
24786 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24787 dependency on libm-test.stmp below the inclusion of Rules.
24788
24789 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24790
24791 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24793 and included header.
24794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24795 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24796 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24798 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24799 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24801 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24802 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24803 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24804 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24805 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24806 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24807 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24808 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24809 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24810 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24811 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24812 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24813
24814 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24815
24816 [BZ #18371]
24817 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24818 intermediate but not final result might underflow.
24819 * math/s_csqrtf.c (__csqrtf): Likewise.
24820 * math/s_csqrtl.c (__csqrtl): Likewise.
24821 * math/auto-libm-test-in: Add more tests of csqrt.
24822 * math/auto-libm-test-out: Regenerated.
24823 * sysdeps/i386/fpu/libm-test-ulps: Update.
24824
24825 [BZ #18219]
24826 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24827 threshold on absolute value of exponent for which scaling is used.
24828 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24829 * math/auto-libm-test-in: Add more tests of exp2.
24830 * math/auto-libm-test-out: Regenerated.
24831
24832 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24833
24834 [BZ #17977]
24835 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24836 when initializing interface list, based on the bug analysis
24837 and the patch proposed by Eric Newton.
24838 * resolv/tst-res_hconf_reorder.c: New test.
24839 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24840 tst-res_hconf_reorder.
24841 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24842 and $(shared-thread-library).
24843 (tst-res_hconf_reorder-ENV): New variable.
24844
24845 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24846 in comment.
24847
24848 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24849
24850 [BZ #16353]
24851 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24852 (__expm1): Force underflow exception for arguments with small
24853 absolute value.
24854 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24855 (__expm1f): Force underflow exception for arguments with small
24856 absolute value.
24857 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24858 (__expm1): Force underflow exception for arguments with small
24859 absolute value.
24860 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24861 (__expm1f): Force underflow exception for arguments with small
24862 absolute value.
24863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24864 Check for small arguments before calling __expm1.
24865 * math/auto-libm-test-in: Do not mark underflow exceptions as
24866 possibly missing for bug 16353.
24867 * math/auto-libm-test-out: Regenerated.
24868
24869 2015-06-22 Andreas Schwab <schwab@suse.de>
24870
24871 [BZ #18513]
24872 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24873 PTR queries.
24874
24875 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24876
24877 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24878
24879 * string/strcoll_l.c: Remove unused struct element idxnow.
24880
24881 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24882
24883 [BZ #18569]
24884 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24885 underflow and return argument in case of subnormal argument.
24886 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24887 Likewise.
24888 * math/auto-libm-test-in: Add more tests of expm1.
24889 * math/auto-libm-test-out: Regenerated.
24890
24891 [BZ #16361]
24892 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24893 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24894 tiny results.
24895 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24896 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24897 tiny results.
24898 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24899 mark underflow exceptions as possibly missing for bug 16361.
24900 * math/auto-libm-test-out: Regenerated.
24901
24902 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24903
24904 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24905 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24906 Remove variable.
24907 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24908 (test-xfail-XOPEN2K8/utmpx.h/conform).
24909
24910 * conform/conformtest.pl ($xerrors): New variable.
24911 (note_error): New function.
24912 (compiletest): New argument $xfail. Use not_error.
24913 (runtest): Likewise.
24914 (top level): Handle xfail- lines. Update calls to compiletest and
24915 runtest. Handle xfail- and optional- in headers listed with
24916 allow-header.
24917 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24918 (O_EXEC): Likewise.
24919 (O_SEARCH): Likewise.
24920 * conform/data/stropts.h-data (ioctl): Likewise.
24921 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24922 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24923 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24924 (msghdr.msg_controllen): Likewise.
24925 (cmsghdr.cmsg_len): Likewise.
24926 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24927 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24928 variable.
24929 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24930 (test-xfail-XPG4/stropts.h/conform): Likewise.
24931 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24932 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24933 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24934 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24935 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24936 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24937 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24938 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24939 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24940 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24941 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24942 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24943 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24944 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24945 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24946 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24947 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24948 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24949 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24950
24951 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24952
24953 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24954 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24955 definitions for proper unfolding of __MATHDECL_VEC.
24956
24957 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24958
24959 * benchtests/bench-strcoll.c:
24960 Include string.h.
24961 (main): Remove unused variable res.
24962
24963 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24964
24965 * timezone/Makefile (%/UTC %/Universal):
24966 Generate test-result files for UTC and Universal.
24967
24968 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24969
24970 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24971
24972 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24973
24974 [BZ #16350]
24975 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24976 for arguments with small absolute value.
24977 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24978 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24979 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24980 (__asinh): Force underflow exception for arguments with small
24981 absolute value.
24982 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24983 (__asinhf): Force underflow exception for arguments with small
24984 absolute value.
24985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24986 (__asinhl): Force underflow exception for arguments with small
24987 absolute value.
24988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24989 (__asinhl): Force underflow exception for arguments with small
24990 absolute value.
24991 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24992 (__asinhl): Force underflow exception for arguments with small
24993 absolute value.
24994 * math/auto-libm-test-in: Do not mark underflow exceptions as
24995 possibly missing for bug 16350.
24996 * math/auto-libm-test-out: Regenerated.
24997
24998 * include/bits/ipc.h: Remove file.
24999 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25000 variable.
25001 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25002 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25003 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25004 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25005 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25006 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25007 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25008 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25009 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25010
25011 * math/auto-libm-test-in: Remove spurious underflow allowance for
25012 tests of cexp.
25013 * math/auto-libm-test-out: Regenerated.
25014
25015 [BZ #18558]
25016 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25017 unconditional definition.
25018 (MCAST_BLOCK_SOURCE): Likewise.
25019 (MCAST_UNBLOCK_SOURCE): Likewise.
25020 (MCAST_LEAVE_GROUP): Likewise.
25021 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25022 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25023 (MCAST_MSFILTER): Likewise.
25024 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25025 Remove variable.
25026 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25027 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25028 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25029 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25030 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25031
25032 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
25033
25034 * NEWS: Mention addition of x86_64 vector sincosf.
25035 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25036 * math/test-float-vlen4.h: Likewise.
25037 * math/test-float-vlen8.h: Likewise.
25038 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25039 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25040 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25041 * sysdeps/x86_64/fpu/Versions: New versions added.
25042 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25043 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25044 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25045 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25046 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25047 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25048 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25049 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25050 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25051 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25052 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25053 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25054 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25055 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25056 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25057 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25058 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25059 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25060 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25061 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25062 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25063 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25064 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25065 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25066
25067 * NEWS: Mention addition of x86_64 vector sincos.
25068 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25069 * math/math.h (__MATHDECL_VEC): New macro.
25070 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25071 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25072 declaration under condition.
25073 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25074 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25075 TEST_VEC_LOOP change.
25076 * math/test-double-vlen4.h: Likewise.
25077 * math/test-double-vlen8.h: Likewise.
25078 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25079 * math/test-float-vlen4.h: Likewise.
25080 * math/test-float-vlen8.h: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25082 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25083 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25084 * sysdeps/x86_64/fpu/Versions: New versions added.
25085 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25086 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25087 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25094 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25095 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25096 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25097 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25098 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25099 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25100 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25101 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25102 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25103 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25104 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25105 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25106 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25107 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25108 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25109
25110 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25111 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25112 redirections for powf.
25113 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25114 * sysdeps/x86_64/fpu/Versions: New versions added.
25115 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25116 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25117 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25118 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25119 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25120 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25121 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25122 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25123 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25124 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25125 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25126 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25127 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25128 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25129 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25130 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25131 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25132 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25133 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25134 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25135 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25136 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25137 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25138 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25139 * math/test-float-vlen16.h: Fixed 2 argument macro.
25140 * math/test-float-vlen4.h: Likewise.
25141 * math/test-float-vlen8.h: Likewise.
25142 * NEWS: Mention addition of x86_64 vector powf.
25143
25144 2015-06-17 Joseph Myers <joseph@codesourcery.com>
25145
25146 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25147 and redefine.
25148 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25149 and redefine.
25150 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25151 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25153
25154 [BZ #18553]
25155 * resource/getpriority.c (getpriority): Rename to __getpriority
25156 and define as weak alias of __getpriority.
25157 * resource/setpriority.c (setpriority): Rename to __setpriority
25158 and define as weak alias of __setpriority.
25159 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25160 __getpriority and define as weak alias of __getpriority.
25161 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25162 __setpriority and define as weak alias of __setpriority.
25163 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25164 strong name.
25165 (setpriority): Use __setpriority as strong name.
25166 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25167 __getpriority and define as weak alias of __getpriority.
25168 * include/sys/resource.h (__getpriority): Declare. Use
25169 libc_hidden_proto.
25170 (__setpriority): Likewise.
25171 (getpriority): Don't use libc_hidden_proto.
25172 (setpriority): Likewise.
25173 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25174 getpriority. Call __setpriority instead of setpriority.
25175 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25176 Remove variable.
25177
25178 [BZ #18547]
25179 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25180 as weak alias of __getttynam. Use prototype function definition.
25181 Call __setttyent, __getttyent and __endttyent instead of
25182 setttyent, getttyent and endttyent.
25183 (getttyent): Rename to __getttyent and define as weak alias of
25184 __getttyent. Call __setttyent instead of setttyent. Call
25185 __fgets_unlocked instead of fgets_unlocked.
25186 (setttyent): Rename to __setttyent and define as weak alias of
25187 __setttyent.
25188 (endttyent): Rename to __endttyent and define as weak alias of
25189 __endttyent.
25190 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25191 (__setttyent): Likewise.
25192 (__endttyent): Likewise.
25193 (getttyent): Don't use libc_hidden_proto.
25194 (setttyent): Likewise.
25195 (endttyent): Likewise.
25196 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25197 __endttyent instead of setttyent, getttyent and endttyent.
25198 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25199 Remove variable.
25200
25201 [BZ #18546]
25202 * socket/recv.c (__recv): Use libc_hidden_def.
25203 * socket/socket.c (__socket): Likewise.
25204 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25205 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25206 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25207 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25208 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25209 libc_hidden_def.
25210 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25211 libc_hidden_weak.
25212 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25213 Use libc_hidden_proto.
25214 (__recv): Likewise.
25215 * socket/Versions (libc): Export __recv and __socket at version
25216 GLIBC_PRIVATE.
25217 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25218 instead of recv.
25219 (init_mq_netlink): Call __socket instead of socket.
25220 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25221 Remove variable.
25222
25223 [BZ #18545]
25224 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25225 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25226 hidden_weak.
25227 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25228 define as alias of __mq_timedsend. Use hidden_weak.
25229 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25230 __mq_timedsend as strong name.
25231 (mq_timedreceive): Use __mq_timedreceive as strong name.
25232 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25233 (__mq_timedreceive): Likewise.
25234 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25235 __mq_timedreceive instead of mq_timedreceive.
25236 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25237 instead of mq_timedsend.
25238 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25239 Remove variable.
25240
25241 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25242 hidden_def and hidden_weak instead of libc_hidden_def and
25243 libc_hidden_weak.
25244 (top level): Refer to hidden_def in comment.
25245 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25246 macro. Use it instead of libc_hidden_def.
25247 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25248 specify __GI_* name explicitly.
25249 (mq_timedreceive): Likewise.
25250 (mq_setattr): Likewise.
25251
25252 [BZ #18544]
25253 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25254 __pthread_barrier_init and define as weak alias of
25255 __pthread_barrier_init.
25256 * sysdeps/sparc/nptl/pthread_barrier_init.c
25257 (pthread_barrier_init): Likewise.
25258 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25259 __pthread_barrier_wait and define as weak alias of
25260 __pthread_barrier_wait.
25261 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25262 (pthread_barrier_wait): Likewise.
25263 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25264 (pthread_barrier_wait): Likewise.
25265 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25266 (pthread_barrier_wait): Likewise.
25267 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25268 (pthread_barrier_wait): Likewise.
25269 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25270 __pthread_barrier_wait at version GLIBC_PRIVATE.
25271 * include/pthread.h (__pthread_barrier_init): Declare.
25272 (__pthread_barrier_wait): Likewise.
25273 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25274 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25275 (helper_thread): Likewise.
25276 (init_mq_netlink): Call __pthread_barrier_init instead of
25277 pthread_barrier_init.
25278
25279 [BZ #18542]
25280 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25281 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25282 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25283 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25284 vswscanf.
25285 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25286 Remove variable.
25287
25288 [BZ #18540]
25289 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25290 strong alias of _IO_fflush. Use libc_hidden_def.
25291 * libio/iofflush_u.c (fflush_unlocked): Rename to
25292 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25293 Use libc_hidden_weak.
25294 * include/stdio.h (__fflush_unlocked): Declare. Use
25295 libc_hidden_proto.
25296 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25297 fflush_unlocked.
25298 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25299 Remove variable.
25300
25301 [BZ #18539]
25302 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25303 define as weak alias of __addseverity.
25304 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25305 Remove variable.
25306 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25307 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25308 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25309
25310 [BZ #18536]
25311 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25312 (__tfind): Likewise.
25313 (__tdelete): Likewise.
25314 (__twalk): Likewise.
25315 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25316 __twalk to GLIBC_PRIVATE.
25317 * include/search.h (__tsearch): Use libc_hidden_proto.
25318 (__tfind): Likewise.
25319 (__tdelete): Likewise.
25320 (__twalk): Likewise.
25321 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25322 Call __tdelete instead of tdelete.
25323 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25324 tfind. Call __tsearch instead of tsearch.
25325 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25326 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25327 Remove variable.
25328 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25329
25330 [BZ #18534]
25331 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25332 (dprintf): Define as a weak alias of __dprintf, not a strong
25333 alias.
25334 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25335 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25336 dprintf.
25337 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25338 Remove variable.
25339 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25340 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25341
25342 [BZ #18533]
25343 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25344 not a strong alias.
25345 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25346 Remove variable.
25347
25348 [BZ #18532]
25349 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25350 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25351 (in6addr_loopback): Rename to __in6addr_loopback and define as
25352 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25353 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25354 libc_hidden_proto.
25355 (__in6addr_any): Likewise.
25356 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25357 in6addr_any.
25358 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25359 variable.
25360 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25361
25362 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25363
25364 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25365 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25366 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25367 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25368 redirections for pow.
25369 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25370 * sysdeps/x86_64/fpu/Versions: New versions added.
25371 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25372 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25373 build of SSE, AVX2 and AVX512 IFUNC versions.
25374 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25375 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25376 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25377 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25378 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25379 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25380 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25381 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25382 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25383 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25384 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25385 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25386 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25387 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25388 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25389 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25390 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25391 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25392 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25393 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25394 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25395 * NEWS: Mention addition of x86_64 vector pow.
25396
25397 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25398 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25399 redirections for expf.
25400 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25401 * sysdeps/x86_64/fpu/Versions: New versions added.
25402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25403 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25404 build of SSE, AVX2 and AVX512 IFUNC versions.
25405 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25406 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25407 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25408 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25409 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25410 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25411 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25412 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25413 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25414 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25415 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25416 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25417 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25418 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25419 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25420 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25421 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25422 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25423 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25424 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25425 * NEWS: Mention addition of x86_64 vector expf.
25426
25427 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25428 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25429 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25430 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25431 redirections for exp.
25432 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25433 * sysdeps/x86_64/fpu/Versions: New versions added.
25434 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25435 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25436 build of SSE, AVX2 and AVX512 IFUNC versions.
25437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25438 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25439 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25440 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25441 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25442 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25443 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25444 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25445 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25446 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25447 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25448 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25449 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25450 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25451 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25452 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25453 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25454 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25455 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25456 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25457 * NEWS: Mention addition of x86_64 vector exp.
25458
25459 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25460 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25461 redirections for logf.
25462 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25463 * sysdeps/x86_64/fpu/Versions: New versions added.
25464 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25465 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25466 build of SSE, AVX2 and AVX512 IFUNC versions.
25467 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25468 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25469 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25470 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25471 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25472 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25473 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25474 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25475 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25476 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25477 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25478 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25479 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25480 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25481 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25482 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25483 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25484 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25485 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25486 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25487 * NEWS: Mention addition of x86_64 vector logf.
25488
25489 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25490 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25491 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25492 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25493 redirections for log.
25494 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25495 * sysdeps/x86_64/fpu/Versions: New versions added.
25496 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25497 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25498 build of SSE, AVX2 and AVX512 IFUNC versions.
25499 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25500 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25501 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25502 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25503 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25504 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25505 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25506 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25507 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25508 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25509 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25510 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25511 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25512 test.
25513 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25514 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25515 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25516 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25517 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25518 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25519 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25520 * NEWS: Mention addition of x86_64 vector log.
25521
25522 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25523
25524 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25525 cfi_adjust_cfa_offset argument.
25526 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25527 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25528
25529 [BZ #18034]
25530 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25531 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25532 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25533 ordering using ldar.
25534 (_dl_tlsdesc_dynamic): Likewise.
25535 (_dl_tlsdesc_return_lazy): Likewise.
25536 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25537 relaxed atomics instead of volatile and synchronize with release store.
25538 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25539 volatile.
25540 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25541
25542 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25543
25544 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25545 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25546 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25547 * sysdeps/x86_64/fpu/Versions: New versions added.
25548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25549 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25550 build of SSE, AVX2 and AVX512 IFUNC versions.
25551 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25552 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25553 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25554 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25555 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25556 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25557 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25558 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25559 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25560 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25561 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25562 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25563 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25564 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25565 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25566 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25567 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25568 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25569 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25570 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25571 * NEWS: Mention addition of x86_64 vector sinf.
25572
25573 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25574
25575 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25576 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25577 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25578 Remove variable.
25579 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25580 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25581
25582 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25583
25584 [BZ #18530]
25585 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25586 strong alias of _IO_fputs. Use libc_hidden_def.
25587 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25588 and define as weak alias of __fputs_unlocked. Use
25589 libc_hidden_weak.
25590 * include/stdio.h (__fputs_unlocked): Declare. Use
25591 libc_hidden_proto.
25592 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25593 fputs_unlocked.
25594
25595 [BZ #18529]
25596 * resolv/netdb.h [__USE_POSIX]: Change condition to
25597 [__USE_XOPEN2K].
25598 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25599 not expect.
25600 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25601 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25602 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25603 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25604 [XPG4 || UNIX98] (AI_ALL): Likewise.
25605 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25606 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25607 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25608 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25609 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25610 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25611 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25612 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25613 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25614 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25615 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25616 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25617 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25618 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25619 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25620 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25621 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25622 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25623 [XPG4 || UNIX98] (gai_strerror): Likewise.
25624 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25625 [XPG4 || UNIX98] (getnameinfo): Likewise.
25626
25627 [BZ #18528]
25628 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25629 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25630 __USE_XOPEN2K8].
25631 (getgrent): Likewise.
25632 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25633 expect.
25634 [XPG3 || POSIX2008] (endgrent): Likewise.
25635 [XPG3] (setgrent): Likewise.
25636 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25637 variable.
25638 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25639
25640 [BZ #18527]
25641 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25642 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25643 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25644 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25645 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25646 * include/unistd.h (__getlogin_r): Declare. Use
25647 libc_hidden_proto.
25648 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25649 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25650 variable.
25651 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25652 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25653 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25654
25655 2015-06-12 Martin Sebor <msebor@redhat.com>
25656
25657 [BZ #18512]
25658 * Makerules (check-install-supported): New target.
25659 (install): Add check-install-supported as a dependency.
25660 * manual/install.texi (Installing the C Library): Document
25661 that overriding prefix and exec_prefix is not supported.
25662 Mention DESTDIR.
25663 * INSTALL: Regenerate from the above.
25664
25665 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25666
25667 [BZ #18519]
25668 * posix/Versions (libc): Export __libc_pread at version
25669 GLIBC_PRIVATE.
25670 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25671 instead of pread.
25672 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25673 variable.
25674
25675 [BZ #18522]
25676 * misc/efgcvt_r.c
25677 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25678 (cvt_symbol): Use weak_alias instead of strong_alias.
25679 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25680 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25681 Remove variable.
25682 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25683 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25684
25685 [BZ #18520]
25686 * inet/herrno.c (h_errno): Rename to __h_errno.
25687 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25688 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25689 to __h_errno instead of h_errno.
25690 * nptl/herrno.c (h_errno): Rename to __h_errno.
25691 (__h_errno_location): Refer to __h_errno not h_errno.
25692 * resolv/Versions (h_errno): Rename to __h_errno.
25693 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25694 Remove variable.
25695 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25696
25697 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25698
25699 * configure.ac: More strict check for AVX512 assembler support.
25700 * configure: Regenerated.
25701
25702 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25703 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25704 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25705 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25706 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25707 * sysdeps/x86_64/fpu/Versions: New versions added.
25708 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25709 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25710 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25711 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25712 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25714 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25716 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25717 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25718 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25719 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25720 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25721 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25722 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25723 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25724 test.
25725 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25726 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25727 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25728 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25729 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25730 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25731 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25732 * NEWS: Mention addition of x86_64 vector sin.
25733
25734 2015-06-11 Florian Weimer <fweimer@redhat.com>
25735
25736 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25737 comment.
25738
25739 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25740
25741 [BZ #18479]
25742 * nptl/pt-interp.c: New file.
25743 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25744 Add pt-interp.
25745 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25746 $(common-objpfx)runtime-linker.h.
25747
25748 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25749
25750 * Makeconfig (+interp): Remove unused variable.
25751 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25752 only. Depend on $(common-objpfx)runtime-linker.h instead of
25753 $(elf-objpfx)runtime-linker.h.
25754 ($(elf-objpfx)runtime-linker.h): Rename to
25755 $(common-objpfx)runtime-linker.h and move ...
25756 * Makerules [$(build-shared) = yes]: ... here.
25757 * elf/interp.c: Include <runtime-linker.h> instead of
25758 <elf/runtime-linker.h>.
25759
25760 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25761
25762 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25763 (__gettimeofday_syscall): Remove vsyscall fallback.
25764 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25765 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25766 Add syscall fallback function.
25767 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25768 if vDSO is not present.
25769 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25770 fallback function.
25771 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25772 present.
25773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25774 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25775
25776 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25777
25778 [BZ #18497]
25779 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25780 of wcscmp.
25781 (wcscmp): Define as weak alias of WCSCMP.
25782 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25783 wcscoll.
25784 (USE_HIDDEN_DEF): Define.
25785 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25786 __wcscoll. Don't use libc_hidden_weak.
25787 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25788 wcscmp.
25789 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25790 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25791 __GI_wcscmp.
25792 (weak_alias): Undefine and redefine.
25793 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25794 __wcscmp and define as weak alias of __wcscmp.
25795 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25796 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25797 (__wcscoll): Likewise.
25798 (wcscmp): Don't use libc_hidden_proto.
25799 (wcscoll): Likewise.
25800 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25801 wcscoll.
25802 * posix/regexec.c (check_node_accept_bytes): Likewise.
25803 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25804 variable.
25805 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25806 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25807
25808 [BZ #18507]
25809 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25810 __fstatvfs and define as weak alias of __fstatvfs. Use
25811 libc_hidden_weak.
25812 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25813 and define as weak alias of __statvfs. Use libc_hidden_weak.
25814 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25815 Define as alias of __fstatvfs, not fstatvfs.
25816 (fstatvfs64): Likewise.
25817 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25818 Define as alias of __statvfs, not statvfs.
25819 (statvfs64): Likewise.
25820 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25821 Remove variable.
25822
25823 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25824
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25826 (HAVE_GETCPU_VSYSCALL): Define.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25828 (HAVE_GETCPU_VSYSCALL): Likewise.
25829 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25830 * sysdeps/unix/sysv/linux/sched_getcpu.c
25831 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25832 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25833 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25834 prototype.
25835 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25836 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25839 Define.
25840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25841 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25844
25845 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25846
25847 * sysdeps/x86_64/fpu/Makefile: New file.
25848 * sysdeps/x86_64/fpu/Versions: New file.
25849 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25850 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25851 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25852 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25853 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25854 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25855 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25856 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25857 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25858 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25859 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25860 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25861 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25862 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25863 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25864 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25865 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25866 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25867 * sysdeps/x86_64/configure: Regenerated.
25868 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25869 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25870 * manual/install.texi (Configuring and compiling): Document
25871 --disable-mathvec.
25872 * INSTALL: Regenerated.
25873 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25874
25875 * math/Makefile: Added rules for vector tests.
25876 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25877 declaration under condition.
25878 * math/test-double-vlen2.h: New file.
25879 * math/test-double-vlen4.h: New file.
25880 * math/test-double-vlen8.h: New file.
25881 * math/test-vec-loop.h: Added initialization macro.
25882 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25883 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25884 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25885 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25886 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25887 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25888 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25889 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25890 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25891 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25892 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25893
25894 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25895 * sysdeps/x86_64/fpu/Versions: New versions added.
25896 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25897 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25898 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25899 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25900 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25901 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25902 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25903 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25904 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25905 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25906 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25907 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25908 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25909 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25910 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25911 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25912 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25913 * NEWS: Mention addition of x86_64 vector cosf.
25914
25915 * math/Makefile: Added CFLAGS for new tests.
25916 * math/test-float-vlen16.h: New file.
25917 * math/test-float-vlen4.h: New file.
25918 * math/test-float-vlen8.h: New file.
25919 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25920 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25921 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25922 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25923 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25924 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25925 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25926 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25927 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25928 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25929 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25930
25931 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25932
25933 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25934 * locale/programs/ld-ctype.c: Likewise.
25935
25936 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25937
25938 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25939 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25940 bit_ZMM16_31_state): New macro.
25941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25942 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25943
25944 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25945
25946 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25947
25948 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25949
25950 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25951
25952 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25953
25954 [BZ #18498]
25955 * libio/memstream.c (open_memstream): Rename to __open_memstream
25956 and define as weak alias of __open_memstream.
25957 * include/stdio.h (__open_memstream): Declare. Use
25958 libc_hidden_proto.
25959 (open_memstream): Don't use libc_hidden_proto.
25960 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25961 open_memstream.
25962 * posix/getopt.c (_getopt_internal_r): Likewise.
25963 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25964 variable.
25965 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25966 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25967 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25968
25969 [BZ #18496]
25970 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25971 instead of wcrtomb.
25972
25973 [BZ #18483]
25974 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25975 [__USE_XOPEN2K8]. Remove redundant #endif.
25976 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25977 Remove redundant #if.
25978 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25979 Remove variable.
25980 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25981 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25982
25983 [BZ #18495]
25984 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25985 (__iswlower): Likewise.
25986 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25987 (__iswlower): Likewise.
25988 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25989 instead of towlower.
25990 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25991 instead of iswlower. Call __towupper instead of towupper.
25992 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25993 instead of iswalnum.
25994
25995 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25996
25997 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25998 errors to stderr.
25999
26000 2015-06-05 Florian Weimer <fweimer@redhat.com>
26001
26002 [BZ #15661]
26003 [BZ #17322]
26004 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26005 Check for overflow properly. Check for O_APPEND. Ignore large
26006 file system block sizes. Add comments about problems.
26007 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26008 * manual/filesys.texi (Storage Allocation): New node.
26009
26010 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26011
26012 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26013 cancellable syscalls.
26014 (SYS_ify): Add guard to no redefine it.
26015 (INLINE_SYSCALL): Likewise.
26016 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26017 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26018 SYSCALL_CANCEL instead.
26019 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26020 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26021 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26022 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26023 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26024 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26025 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26026 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26027 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26028 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26029 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26030 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26031 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26032 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26033 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26035 Likewise.
26036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26037 (__libc_pread64): Likewise.
26038 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26039 (__libc_preadv): Likewise.
26040 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26041 (__libc_readv64): Likewise.
26042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26043 (__libc_pwrite): Likewise.
26044 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26045 (__libc_pwrite64): Likewise.
26046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26047 (__libc_pwritev): Likewise.
26048 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26049 (__libc_pwritev64): Likewise.
26050 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26051 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26052 (sync_file_range): Likewise.
26053 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26054 Likewise.
26055 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26056 Likewise.
26057 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26058 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26059 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26060 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26061 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26062 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26063 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26064 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26066 Likewise.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26068 (__libc_read64): Likewise.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26070 Likewise.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26072 Likewise.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26074 Likewise.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26076 Likewise.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26078 (__libc_pread64): Likewise.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26080 Likewise.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26082 (__libc_pwrite64): Likewise.
26083 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26084 (sync_file_range): Likewise.
26085 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26086 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26087 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26088 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26089 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26090 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26091 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26092 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26093 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26094 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26095 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26096 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26097 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26098 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26099 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26100 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26101 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26102 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26104 Likewise.
26105 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26106 Likewise.
26107 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26108 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26109 Likewise.
26110 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26111 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26112 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26113 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26114 Likewise.
26115 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26116 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26117 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26118 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26119 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26120
26121 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
26122
26123 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26124 Include dl-vdso.
26125 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26126 Use VDSO routines for gettimeofday, clock_gettime if
26127 available.
26128 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26129 Declare VDSO symbols.
26130 * sysdeps/unix/sysv/linux/arm/sysdep.h:
26131 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26132 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26133 * sysdeps/unix/sysv/linux/arm/Versions: Add
26134 __vdso_clock_gettime.
26135
26136 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26137
26138 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26139 be an inline implementation regardless of library is built within.
26140 (open_not_cancel_2): Likewise.
26141 (__read_nocancel): Likewise.
26142 (__write_nocancel): Likewise.
26143 (openat_not_cancel): Likewise.
26144 (openat_not_cancel_3): Likewise.
26145 (openat64_not_cancel): Likewise.
26146 (openat64_not_cancel_3): Likewise.
26147 (__close_nocancel): Likewise.
26148 (pause_not_cancel): Likewise.
26149 (nanosleep_not_cancel): Likewise.
26150 (sigsuspend_not_cancel): Likewise.
26151
26152 2015-06-04 Torvald Riegel <triegel@redhat.com>
26153
26154 [BZ #14958]
26155 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26156 wake-up.
26157 (__pthread_rwlock_rdlock_slow): Likewise.
26158 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26159 Likewise.
26160 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26161 Likewise.
26162 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26163 * nptl/tst-rwlock16.c: New file.
26164 * nptl/Makefile (tests): Add new test.
26165
26166 2015-06-04 Torvald Riegel <triegel@redhat.com>
26167
26168 [BZ #18324]
26169 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26170 missing wake-up of readers.
26171 * nptl/tst-rwlock15.c: New file.
26172 * nptl/Makefile (tests): Add new test.
26173
26174 2015-06-03 Roland McGrath <roland@hack.frob.com>
26175
26176 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26177 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26178 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26179 and __nacl_supply_interface_rtld.
26180 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26181 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26182 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26183 Add __nacl_supply_interface_rtld.
26184 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26185
26186 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26187
26188 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26189 isfinite.
26190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26191 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26192
26193 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26194
26195 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26196 __signbit* with standard C99 macros.
26197 * math/e_exp10l.c: Likewise.
26198 * math/e_exp2l.c: Likewise.
26199 * math/e_scalb.c: Likewise.
26200 * math/e_scalbf.c: Likewise.
26201 * math/e_scalbl.c: Likewise.
26202 * math/s_ldexp.c: Likewise.
26203 * math/s_ldexpf.c: Likewise.
26204 * math/s_ldexpl.c: Likewise.
26205 * math/w_atan2.c: Likewise.
26206 * math/w_atan2f.c: Likewise.
26207 * math/w_atan2l.c: Likewise.
26208 * math/w_cosh.c: Likewise.
26209 * math/w_coshf.c: Likewise.
26210 * math/w_coshl.c: Likewise.
26211 * math/w_exp10.c: Likewise.
26212 * math/w_exp10f.c: Likewise.
26213 * math/w_exp10l.c: Likewise.
26214 * math/w_exp2.c: Likewise.
26215 * math/w_exp2f.c: Likewise.
26216 * math/w_exp2l.c: Likewise.
26217 * math/w_fmod.c: Likewise.
26218 * math/w_fmodf.c: Likewise.
26219 * math/w_fmodl.c: Likewise.
26220 * math/w_hypot.c: Likewise.
26221 * math/w_hypotf.c: Likewise.
26222 * math/w_hypotl.c: Likewise.
26223 * math/w_jnl.c: Likewise.
26224 * math/w_lgamma.c: Likewise.
26225 * math/w_lgamma_r.c: Likewise.
26226 * math/w_lgammaf.c: Likewise.
26227 * math/w_lgammaf_r.c: Likewise.
26228 * math/w_lgammal.c: Likewise.
26229 * math/w_lgammal_r.c: Likewise.
26230 * math/w_pow.c: Likewise.
26231 * math/w_powf.c: Likewise.
26232 * math/w_powl.c: Likewise.
26233 * math/w_remainder.c: Likewise.
26234 * math/w_remainderf.c: Likewise.
26235 * math/w_remainderl.c: Likewise.
26236 * math/w_scalb.c: Likewise.
26237 * math/w_scalbf.c: Likewise.
26238 * math/w_scalbl.c: Likewise.
26239 * math/w_scalbln.c: Likewise.
26240 * math/w_scalblnf.c: Likewise.
26241 * math/w_scalblnl.c: Likewise.
26242 * math/w_sinh.c: Likewise.
26243 * math/w_sinhf.c: Likewise.
26244 * math/w_sinhl.c: Likewise.
26245 * math/w_tgamma.c: Likewise.
26246 * math/w_tgammaf.c: Likewise.
26247 * math/w_tgammal.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26255 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26256 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26276 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26279 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26280 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26281 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26282 * stdio-common/printf_fp.c: Likewise.
26283 * stdio-common/printf_fphex.c: Likewise.
26284 * stdio-common/printf_size.c: Likewise.
26285
26286 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26287
26288 [BZ #18470]
26289 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26290 strnlen.
26291 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26292 Remove variable.
26293 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26294 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26295 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26296 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26297 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26298 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26299 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26300 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26301 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26302 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26303
26304 [BZ #18468]
26305 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26306 weak alias of __wmemchr. Use libc_hidden_weak.
26307 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26308 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26309 instead of wmemchr.
26310
26311 2015-06-02 Roland McGrath <roland@hack.frob.com>
26312
26313 [BZ #18383]
26314 * elf/tst-tlsalign-extern.c: New file.
26315 * elf/tst-tlsalign-extern-static.c: New file.
26316 * elf/tst-tlsalign-vars.c: New file.
26317 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26318 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26319 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26320 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26321 (test-xfail-tst-tlsalign-extern-static): New variable.
26322
26323 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26324
26325 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26326 Use variable name _sc_err instead of err.
26327 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26328 instead of ret.
26329 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26330 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26331 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26332 (INLINE_SYSCALL): Likewise.
26333
26334 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26335 * include/string.h (__strnlen): Use libc_hidden_proto.
26336 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26337 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26338 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26340 (libc_hidden_def): Undefine and redefine.
26341 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26342 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26343 __GI_strnlen.
26344 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26345 libc_hidden_def.
26346 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26347
26348 [BZ #18469]
26349 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26350 weak alias of __towlower. Use libc_hidden_weak.
26351 (towupper): Rename to __towupper and define as weak alias of
26352 __towupper. Use libc_hidden_weak.
26353 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26354 (__towupper): Likewise.
26355 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26356 __towlower instead of towlower.
26357
26358 2015-06-02 Roland McGrath <roland@hack.frob.com>
26359
26360 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26361 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26362
26363 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26364
26365 * sysdeps/aarch64/libm-test-ulps: Update.
26366
26367 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26368
26369 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26370 Define.
26371 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26373 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26374 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26375 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26376 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26377 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26378
26379 2015-06-01 Martin Sebor <msebor@redhat.com>
26380
26381 [BZ #18116]
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26383 (__setcontext): Use extended four-operand version of mtsf whenever
26384 possible.
26385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26386 (__novec_swapcontext): Likewise.
26387
26388 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26389
26390 * benchtests/scripts/compare_bench.py: New file.
26391 * benchtests/scripts/import_bench.py (mean): New function.
26392 (split_list): Likewise.
26393 (do_for_all_timings): Likewise.
26394 (compress_timings): Likewise.
26395
26396 * benchtests/scripts/import_bench.py: New file.
26397 * benchtests/scripts/validate_benchout.py: Import import_bench
26398 instead of jsonschema.
26399 (validate_bench): Remove function.
26400 (main): Use import_bench.
26401
26402 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26403
26404 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26405 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26406
26407 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26408
26409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26410
26411 2015-05-28 Roland McGrath <roland@hack.frob.com>
26412
26413 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26414 set THREAD_SELF->tid to a magic value and futex-wake it.
26415 Pass its address to the thread_exit system call.
26416 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26417 bit is clear.
26418 * sysdeps/nacl/lowlevellock.h: New file.
26419 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26420
26421 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26422 Add TIMEOUT to current time, don't subtract it.
26423
26424 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 [BZ #2981]
26427 [BZ #18422]
26428 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26429 ($(objpfx)tst-audit2.out): Also depend on
26430 $(objpfx)tst-auditmod9b.so.
26431 * elf/tst-audit2.c: Include <dlfcn.h>.
26432 (calloc_called): New.
26433 (calloc): Allow to be called more than once.
26434 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26435
26436 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26437
26438 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26439 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26440
26441 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26442
26443 * stdlib/monetary.h: Fix comment.
26444
26445 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26446
26447 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26448 Avoid using variables in #defines that might cause shadowing.
26449 (INTERNAL_VSYSCALL_CALL): Likewise.
26450
26451 2015-05-26 Roland McGrath <roland@hack.frob.com>
26452
26453 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26454
26455 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26456 * nptl/lll_timedlock_wait.c: ... to this new file.
26457 * nptl/Makefile (libpthread-routines): Add it.
26458 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26459 * nptl/lll_timedwait_tid.c: ... to this new file.
26460 * nptl/Makefile (libpthread-routines): Add it.
26461 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26462 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26463 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26464 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26465 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26466 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26467 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26468 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26469 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26470 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26471
26472 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26473
26474 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26475 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26476 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26478 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26480 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26482 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26483 * sysdeps/unix/sysv/linux/tile/sysdep.h
26484 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26485 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26486 using vDSO syscall macro.
26487
26488 2015-05-26 Andriy Rysin <arysin@gmail.com>
26489
26490 [BZ #17293]
26491 * uk_UA: Fix sorting order for Ukrainian locale
26492
26493 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26494
26495 * stdlib/monetary.h: Fix comment.
26496
26497 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26498
26499 [BZ #18234]
26500 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26501 st_mtim and st_ctim members.
26502 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26503 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26504 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26505 (struct stat64): Likewise.
26506 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26507 (struct stat64): Likewise.
26508 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26509 (struct stat64): Likewise.
26510
26511 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26512
26513 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26514 Define and include sysdep-vdso.h.
26515 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26516 Likewise.
26517 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26518 Likewise.
26519 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26520 Define with VDSO_SYMBOL and use PTR_MANGLE.
26521 (__vdso_clock_gettime): Likewise.
26522 (__vdso_clock_getres): Likewise.
26523 (_libc_vdso_platform_setup): Likewise.
26524 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26525 Likewise.
26526 (_libc_vdso_platform_setup): Likewise.
26527 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26528 Likewise.
26529 (__vdso_clock_gettime): Likewise.
26530 (__vdso_clock_getres): Likewise.
26531 (__vdso_get_tbfreq): Likewise.
26532 (__vdso_getcpu): Likewise.
26533 (__vdso_time): Likewise.
26534 (__vdso_sigtramp_rt64): Likewise.
26535 (__vdso_signtramp32): Likewise.
26536 (__vdso_sigtramp_rt32): Likewise.
26537 (_libc_vdso_platform_setup): Likewise.
26538 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26539 Likewise.
26540 (__vdso_clock_gettime): Likewise.
26541 (__vdso_clock_getres): Likewise.
26542 (_libc_vdso_platform_setup): Likewise.
26543 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26544 Likewise.
26545 (__vdso_clock_gettime): Likewise.
26546 (_libc_vdso_platform_setup): Likewise.
26547 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26548 Likewise.
26549 (__vdso_getcpu): Likewise.
26550 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26551 Use VDSO_SYMBOL macro to define.
26552 (__vdso_clock_gettime): Likewise.
26553 (__vdso_clock_getres): Likewise.
26554 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26555 Likewise.
26556 (__vdso_clock_gettime): Likewise.
26557 (__vdso_clock_getres): Likewise.
26558 (__vdso_get_tbfreq): Likewise.
26559 (__vdso_getcpu): Likewise.
26560 (__vdso_time): Likewise.
26561 (__vdso_sigtramp_rt64): Likewise.
26562 (__vdso_signtramp32): Likewise.
26563 (__vdso_sigtramp_rt32): Likewise.
26564 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26565 Likewise.
26566 (__vdso_clock_gettime): Likewise.
26567 (__vdso_clock_getres): Likewise.
26568 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26569 Likewise.
26570 (__vdso_clock_gettime): Likewise.
26571 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26572 Likewise.
26573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26574 macro.
26575 (INTERNAL_VSYSCALL): Likewise.
26576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26577 Remove macro.
26578 (INTERNAL_VSYSCALL): Likewise.
26579 (INTERNAL_VSYSCALL_NCS): Likewise.
26580 (INTERNAL_VSYSCALL_CALL): New macro.
26581 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26583 Likewise.
26584 (INTERNAL_VSYSCALL): Likewise.
26585 (INTERNAL_VSYSCALL_NCS): Likewise.
26586 (INTERNAL_VSYSCALL_CALL): New macro.
26587 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26589 (INLINE_VSYSCALL): Remove macro.
26590 (INTERNAL_VSYSCALL): Remove macro.
26591 (INTERNAL_VSYSCALL_NCS): Remove macro.
26592 (INTERNAL_VSYSCALL_CALL): New macro.
26593 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26594 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26595 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26596 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26597 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26599 (INLINE_VSYSCALL): Remove macro.
26600 (INTERNAL_VSYSCALL): Likewise.
26601 (INTERNAL_VSYSCALL_NCS): Likewise.
26602 (INTERNAL_VSYSCALL_CALL): New macro.
26603 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26604 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26605 PTR_DEMANGLE on vDSO pointer.
26606 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26607 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26608 macro.
26609 (INTERNAL_SYSCALL): Likewise.
26610 (INTERNAL_VSYSCALL_NCS): Remove macro.
26611 (INTERNAL_VSYSCALL_CALL): New macro.
26612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26613 Remove macro.
26614 (INTERNAL_VSYSCALL): Likewise.
26615 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26616 sysdep-vdso.h instead of libc-vdso.h.
26617 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26618 definition.
26619 (INLINE_VSYSCALL): Likewise.
26620 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26621 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26622 definition.
26623 (INLINE_VSYSCALL): Likewise.
26624 (INTERNAL_VSYSCALL): Likewise.
26625 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26626 * sysdeps/unix/sysv/linux/timespec_get.c
26627 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26628 (timespec_get): Use ANSI prototype.
26629 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26630 and definition for Linux.
26631
26632 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26633
26634 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26635 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26636
26637 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26638
26639 [BZ #2981]
26640 [BZ #18410]
26641 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26642 for missing DT_PLTRELSZ.
26643
26644 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26645
26646 Remove obsolete aliases that broke 'locale -a'
26647 [BZ #18412]
26648 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26649 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26650 breaking some applications that use 'locale -a' output.
26651 Change the encoding of this file from Latin-1 to ASCII to avoid
26652 other potential problems with people grepping this file.
26653
26654 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26655
26656 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26657 -fasynchronous-unwind-tables.
26658 (CFLAGS-sendto.c): Likewise.
26659 (CFLAGS-sendmsg.c): Likewise.
26660 (CFLAGS-connect.c): Likewise.
26661 (CFLAGS-recvmsg.c): Likewise.
26662 (CFLAGS-recvfrom.c): Likewise.
26663 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26664 (SOCKETCALL): New macro: non-cancellable socketcall.
26665 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26666 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26667 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26668 * sysdeps/unix/sysv/linux/accept.c: New file.
26669 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26670 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26671 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26672 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26673 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26674 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26675 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26676 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26677 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26678 * sysdeps/unix/sysv/linux/send.c: Likewise.
26679 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26680 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26681 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26682 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26683 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26684 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26685 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26686 prototype.
26687 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26688 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26689 instead of __internal_xxx function.
26690 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26691 prototype.
26692 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26693 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26694 instead of __internal_xxx function.
26695 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26696 prototype.
26697 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26698 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26699 instead of __internal_xxx function.
26700 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26701 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26702 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26703 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26704 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26705 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26706 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26707 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26708 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26709 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26710 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26711 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26712 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26713 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26715 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26716 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26717 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26718 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26719 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26722 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26723 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26724 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26725 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26726 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26727 * sysdeps/unix/sysv/linux/send.S: Likewise.
26728 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26729 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26730 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26731 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26732 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26733 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26734 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26735 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26736 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26737 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26738 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26739 socketcall is implemented in GLIBC.
26740
26741 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26742
26743 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26744 (__fma): Ignore uninitialized warnings around packing.
26745 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26746 (__fmaf): Ignore uninitialized warnings around packing.
26747 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26748 (__fmal): Ignore uninitialized warnings around packing.
26749
26750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26751 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26753 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26754
26755 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26756 switch statement into default case.
26757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26758
26759 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26760 a conditional in forcing "inexact".
26761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26762 Likewise.
26763
26764 2015-05-22 Roland McGrath <roland@hack.frob.com>
26765
26766 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26767 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26768 for each INTERNAL_SYSCALL use.
26769
26770 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26771
26772 [BZ #438]
26773 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26774 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26775 variable.
26776
26777 [BZ #18444]
26778 * string/basename.c (basename): Rename to __basename and define as
26779 weak alias of __basename. Use libc_hidden_weak.
26780 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26781 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26782 __basename instead of basename.
26783 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26784 Remove variable.
26785 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26786
26787 2015-05-18 Florian Weimer <fweimer@redhat.com>
26788
26789 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26790 (_IO_JUMPS_FILE_plus): New.
26791 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26792 _IO_CAST_FIELD_ACCESS.
26793 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26794 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26795 * libio/freopen.c (freopen): Likewise.
26796 * libio/freopen64.c (freopen64): Likewise.
26797 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26798 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26799 * libio/iofwide.c (_IO_fwide): Likewise.
26800 * libio/memstream.c (open_memstream): Likewise.
26801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26802 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26803 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26804
26805 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26806
26807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26808 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26809 NADJ.
26810 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26811 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26812 NADJ.
26813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26814 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26815 NADJ.
26816
26817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26818 (p == 4) case.
26819
26820 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26821 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26822 Remove variable.
26823 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26824 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26825 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26826
26827 2015-05-21 Florian Weimer <fweimer@redhat.com>
26828
26829 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26830 Adjust jump table label generation macros.
26831
26832 2015-05-21 Florian Weimer <fweimer@redhat.com>
26833
26834 * stdio-common/vfprintf.c (vfprintf): Move local variables
26835 args_malloced, specs, specs_malloced, and the code after
26836 do_positional to the printf_positional function.
26837 (printf_positional): New function.
26838
26839 2015-05-21 Florian Weimer <fweimer@redhat.com>
26840
26841 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26842 function.
26843 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26844 STEP4_TABLE, process_arg): Move macro definitions
26845 out of the vfprintf function. (Cosmetic change only.)
26846
26847 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26848
26849 * benchtests/Makefile (stdio-common-bench): Define.
26850 (benchset): Add stdio-common-bench.
26851 * sprintf-inputs: New file.
26852 * sprintf-source.c: New file.
26853
26854 2015-05-21 Andreas Schwab <schwab@suse.de>
26855
26856 [BZ #13028]
26857 [BZ #17053]
26858 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26859 of struct __res_state.
26860 * resolv/res_send.c (__libc_res_nsend): Likewise.
26861 (get_nsaddr): New function.
26862 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26863 statp directly.
26864
26865 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26866
26867 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26868 -D_POSIX_C_SOURCE=199506L.
26869
26870 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26871
26872 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26873 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26874 Do not mention otherwise.
26875 [POSIX] (_XOPEN_VERSION): Do not expect.
26876 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26877 [POSIX] (_POSIX2_C_BIND): Likewise.
26878 [POSIX] (_POSIX2_VERSION): Likewise.
26879 [POSIX] (_XOPEN_XPG2): Likewise.
26880 [POSIX] (_XOPEN_XPG3): Likewise.
26881 [POSIX] (_XOPEN_XPG4): Likewise.
26882 [POSIX] (_XOPEN_UNIX): Likewise.
26883 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26884 [POSIX] (_POSIX_BARRIERS): Likewise.
26885 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26886 [POSIX] (_POSIX_CPUTIME): Likewise.
26887 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26888 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26889 [POSIX] (_POSIX_SHELL): Likewise.
26890 [POSIX] (_POSIX_SPAWN): Likewise.
26891 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26892 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26893 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26894 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26895 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26896 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26897 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26898 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26899 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26900 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26901 [POSIX] (_POSIX2_PBS): Likewise.
26902 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26903 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26904 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26905 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26906 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26907 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26908 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26909 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26910 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26911 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26912 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26913 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26914 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26915 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26916 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26917 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26918 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26919 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26920 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26921 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26922 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26923 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26924 [POSIX] (_SC_2_C_BIND): Likewise.
26925 [POSIX] (_SC_2_C_VERSION): Likewise.
26926 [POSIX] (_SC_2_PBS): Likewise.
26927 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26928 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26929 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26930 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26931 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26932 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26933 [POSIX] (_SC_BARRIERS): Likewise.
26934 [POSIX] (_SC_BASE): Likewise.
26935 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26936 [POSIX] (_SC_DEVICE_IO): Likewise.
26937 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26938 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26939 [POSIX] (_SC_FD_MGMT): Likewise.
26940 [POSIX] (_SC_FIFO): Likewise.
26941 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26942 [POSIX] (_SC_FILE_LOCKING): Likewise.
26943 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26944 [POSIX] (_SC_IOV_MAX): Likewise.
26945 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26946 [POSIX] (_SC_NETWORKING): Likewise.
26947 [POSIX] (_SC_PAGE_SIZE): Likewise.
26948 [POSIX] (_SC_PASS_MAX): Likewise.
26949 [POSIX] (_SC_PIPE): Likewise.
26950 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26951 [POSIX] (_SC_REGEXP): Likewise.
26952 [POSIX] (_SC_SHELL): Likewise.
26953 [POSIX] (_SC_SIGNALS): Likewise.
26954 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26955 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26956 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26957 [POSIX] (_SC_USER_GROUPS): Likewise.
26958 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26959 [POSIX] (_SC_STREAMS): Likewise.
26960 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26961 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26962 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26963 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26964 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26965 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26966 [POSIX] (_PC_FILESIZEBITS): Likewise.
26967 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26968 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26969 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26970 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26971 [POSIX] (uid_t): Likewise.
26972 [POSIX] (gid_t): Likewise.
26973 [POSIX] (off_t): Likewise.
26974 [POSIX] (pid_t): Likewise.
26975 [POSIX] (cuserid): Allow.
26976 (_SC_2_CHAR_TERM): Require constant.
26977 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26978 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26979 variable.
26980
26981 2015-05-20 Roland McGrath <roland@hack.frob.com>
26982
26983 * sysdeps/nacl/pthread-pids.h: New file.
26984 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26985 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26986
26987 * nptl/pthread-pids.h: New file.
26988 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26989 * nptl/nptl-init.c: Include <pthread-pids.h>.
26990 (__pthread_initialize_minimal_internal):
26991 Call __pthread_initialize_pids instead of set_tid_address syscall.
26992
26993 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26994 * sysdeps/posix/usleep.c: ... here.
26995
26996 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26997
26998 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26999 call_pselect6 object.
27000 [$(subdir) = io]: Remove call_sync_file_range object.
27001 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27002 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27003 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27004 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27005
27006 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
27007
27008 * math/s_cproj.c: Add include "math_private.h".
27009 * math/s_cprojf.c: Likewise.
27010 * math/s_cprojl.c: Likewise.
27011
27012 2015-05-19 Joseph Myers <joseph@codesourcery.com>
27013
27014 [BZ #18244]
27015 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27016 high mantissa bit when testing whether P is a NaN.
27017 * math/libm-test.inc (remainder_test_data): Add more tests.
27018 (remquo_test_data): Likewise.
27019
27020 [BZ #18049]
27021 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27022 below -32, return the argument, with underflow if subnormal.
27023 * math/auto-libm-test-in: Add more tests of atanh.
27024 * math/auto-libm-test-out: Regenerated.
27025
27026 2015-05-19 Roland McGrath <roland@hack.frob.com>
27027
27028 [BZ #18434]
27029 * nptl/tst-sem15.c: New file.
27030 * nptl/Makefile (tests): Add it.
27031 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27032 s/<</>>/ to fix typo in EOVERFLOW check.
27033 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27034
27035 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27036
27037 * manual/strings.texi (envz_remove): Fix typo in safety
27038 annotations.
27039
27040 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27041 Steve Ellcey <sellcey@imgtec.com>
27042
27043 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27044 in order to avoid strict alias warnings.
27045 (iruserok_af): Ditto for ra.
27046
27047 2015-05-19 James Lemke <jwlemke@codesourcery.com>
27048
27049 [BZ #17581]
27050 * malloc/hooks.c
27051 (magicbyte): Convert to a function and avoid returning 0x01.
27052 (mem2mem_check): Avoid using a length byte equal to the magic byte.
27053 (mem2chunk_check): Fix unsigned comparisons to zero.
27054 Hoist defs of sz and magic.
27055
27056 2015-05-19 Richard Henderson <rth@redhat.com>
27057
27058 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27059
27060 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27061
27062 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27063
27064 [BZ #16159]
27065 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27066 * malloc/arena.c (arena_lock): Check if arena is corrupt.
27067 (reused_arena): Find a non-corrupt arena.
27068 (heap_trim): Pass arena to unlink.
27069 * malloc/hooks.c (malloc_check_get_size): Pass arena to
27070 malloc_printerr.
27071 (top_check): Likewise.
27072 (free_check): Likewise.
27073 (realloc_check): Likewise.
27074 * malloc/malloc.c (malloc_printerr): Add arena argument.
27075 (unlink): Likewise.
27076 (munmap_chunk): Adjust.
27077 (ARENA_CORRUPTION_BIT): New macro.
27078 (arena_is_corrupt): Likewise.
27079 (set_arena_corrupt): Likewise.
27080 (sysmalloc): Use mmap if there are no usable arenas.
27081 (_int_malloc): Likewise.
27082 (__libc_malloc): Don't fail if arena_get returns NULL.
27083 (_mid_memalign): Likewise.
27084 (__libc_calloc): Likewise.
27085 (__libc_realloc): Adjust for additional argument to
27086 malloc_printerr.
27087 (_int_free): Likewise.
27088 (malloc_consolidate): Likewise.
27089 (_int_realloc): Likewise.
27090 (_int_memalign): Don't touch corrupt arenas.
27091 * malloc/tst-malloc-backtrace.c: New test case.
27092
27093 * Makefile (summarize-tests): Fix return value on success.
27094
27095 * manual/string.texi (Envz Functions): Add envz_remove.
27096
27097 2015-05-18 Roland McGrath <roland@hack.frob.com>
27098
27099 * sysdeps/posix/opendir.c: Include <stdbool.h>.
27100 (invalid_name): New function, broken out of ...
27101 (__opendirat): ... here. Call it.
27102 (need_isdir_precheck): New function, broken out of ...
27103 (__opendirat): ... here. Call it.
27104 Use __fxstatat64, not __xstatat64.
27105 (opendir_oflags): New function, broken out of ...
27106 (__opendirat): ... here. Call it.
27107 (opendir_tail): New function, broken out of ...
27108 (__opendirat): ... here. Call it.
27109 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27110 opendir_tail, rather than punting to __opendirat.
27111 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27112
27113 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27114
27115 * .gitignore: Ignore generated *.pyc.
27116
27117 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
27118
27119 * include/stdio.h: Define __need_wint_t.
27120 * test-skeleton.c: Avoid `for' loop initial declaration.
27121 * nptl/tst-initializers1.c: Use test-skeleton.c.
27122
27123 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27124
27125 [BZ #18418]
27126 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27127
27128 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27129
27130 [BZ #16352]
27131 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27132 (__ieee754_atanh): Force underflow exception for results with
27133 small absolute value.
27134 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27135 (__ieee754_atanhf): Force underflow exception for results with
27136 small absolute value.
27137 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27138 (__ieee754_atanh): Force underflow exception for results with
27139 small absolute value.
27140 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27141 (__ieee754_atanhf): Force underflow exception for results with
27142 small absolute value.
27143 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27144 (__ieee754_atanhl): Force underflow exception for results with
27145 small absolute value.
27146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27147 (__ieee754_atanhl): Force underflow exception for results with
27148 small absolute value.
27149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27150 (__ieee754_atanhl): Force underflow exception for results with
27151 small absolute value.
27152 * math/auto-libm-test-in: Do not allow missing underflow
27153 exceptions from atanh.
27154 * math/auto-libm-test-out: Regenerated.
27155
27156 [BZ #18221]
27157 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27158 2**-28 as threshold for returning x or +/- 1/x.
27159 * math/auto-libm-test-in: Add more tests of tan.
27160 * math/auto-libm-test-out: Regenerated.
27161
27162 [BZ #18220]
27163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27164 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27165 * math/auto-libm-test-in: Add another test of lgamma.
27166 * math/auto-libm-test-out: Regenerated.
27167
27168 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
27169
27170 * stdio-common/printf_fp.c (___printf_fp): Use abs.
27171 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27172 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27173 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27174 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27175 (ADD2A): Use fabs. (SUB2A): Use fabs.
27176 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27179 (log1): Use fabs. (my_log2): Use fabs.
27180 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27181 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27183 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27185 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27186 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27187 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27188 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27189 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27190 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27191
27192 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27193
27194 [BZ #18217]
27195 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27196 as threshold for returning 1 - x.
27197 * math/auto-libm-test-in: Add more tests of erfc.
27198 * math/auto-libm-test-out: Regenerated.
27199
27200 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27201
27202 [BZ #18196]
27203 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27204 threshold for large arguments.
27205 * math/auto-libm-test-in: Add another test of atan.
27206 * math/auto-libm-test-out: Regenerated.
27207
27208 [BZ #16339]
27209 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27210 (__log1p): Force underflow exception for results with small
27211 absolute value.
27212 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27213 (__log1pf): Force underflow exception for results with small
27214 absolute value.
27215 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27216 (__log1p): Force underflow exception for results with small
27217 absolute value.
27218 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27219 (__log1pf): Force underflow exception for results with small
27220 absolute value.
27221 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27222 (__log1pl): Force underflow exception for results with small
27223 absolute value.
27224 * math/auto-libm-test-in: Do not allow missing underflow
27225 exceptions from log1p.
27226 * math/auto-libm-test-out: Regenerated.
27227
27228 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27229 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27230
27231 [BZ #16704]
27232 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27233
27234 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27235
27236 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27237 (libmvec): New variable.
27238 * configure.ac: Added option for mathvec build.
27239 * configure: Regenerated.
27240 * mathvec/Depend: New file.
27241 * mathvec/Makefile: New file.
27242 * shlib-versions: Added libmvec.
27243 * math/Makefile: Added rule for libm.so installation.
27244
27245 * bits/math-vector.h: New file.
27246 * bits/libm-simd-decl-stubs.h: New header.
27247 * math/Makefile (headers): Added new header
27248 libm-simd-decl-stubs.h.
27249 * math/math.h (__MATHCALL_VEC): New macro.
27250
27251 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27252 for conditions in testing functions.
27253 * math/Makefile: Added call of libm-have-vector-test.sh.
27254 * math/libm-test.inc (HAVE_VECTOR): New macros.
27255
27256 * math/libm-test.inc: START refactored.
27257 * math/test-double.c (TEST_MATHVEC): Add define.
27258 * math/test-float.c: Likewise.
27259 * math/test-idouble.c: Likewise.
27260 * math/test-ifloat.c: Likewise.
27261 * math/test-ildoubl.c: Likewise.
27262 * math/test-ldouble.c: Likewise.
27263 * sysdeps/generic/math-tests-arch.h
27264 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27265 architecture check.
27266
27267 * math/test-double.c (FUNC_TEST): New macro.
27268 * math/test-float.c: Likewise.
27269 * math/test-idouble.c: Likewise.
27270 * math/test-ifloat.c: Likewise.
27271 * math/test-ildoubl.c: Likewise.
27272 * math/test-ldouble.c: Likewise.
27273 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27274
27275 2015-05-13 Roland McGrath <roland@hack.frob.com>
27276
27277 * sysdeps/nacl/fdopendir.c: New file.
27278
27279 * dirent/scandir-tail.c: New file.
27280 * dirent/scandir64-tail.c: New file.
27281 * dirent/Makefile (routines): Add them.
27282 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27283 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27284 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27285 [!SCANDIR] (SCANDIR_TAIL): New macro.
27286 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27287 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27288 (SCANDIRAT): Macro removed.
27289 (SCANDIR_TAIL): New macro.
27290 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27291 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27292 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27293 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27294 (READDIR): Macro removed.
27295 (SCANDIR_TAIL): New macro.
27296 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27297 (SCANDIR_TAIL): New macro.
27298
27299 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27300 * dirent/scandir-cancel.c: ... to this new file.
27301 * dirent/Makefile (routines): Add it.
27302 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27303 * sysdeps/unix/sysv/linux/i386/scandir64.c
27304 (SKIP_SCANDIR_CANCEL): Macro removed.
27305 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27306
27307 * dirent/tst-scandir.c: New file.
27308 * dirent/tst-scandir64.c: New file.
27309 * dirent/Makefile (tests): Add them.
27310
27311 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 [BZ #18409]
27314 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27315
27316 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27317
27318 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27319 list.
27320
27321 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27322
27323 * benchtests/bench-strcoll.c: New benchmark.
27324 * benchtests/Makefile: Generate locales and run benchmark.
27325 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27326 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27327 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27328 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27329 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27330 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27331 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27332 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27333 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27334 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27335 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27336 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27337 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27338 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27339 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27340 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27341 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27342 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27343 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27344 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27345 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27346 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27347 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27348 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27349
27350 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27351
27352 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27353 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27354
27355 2015-05-12 Roland McGrath <roland@hack.frob.com>
27356
27357 * posix/uname-values.h: New file.
27358 * posix/uname.c: Include that instead of <config-name.h>.
27359 * sysdeps/nacl/uname-values.h: New file.
27360 * sysdeps/arm/nacl/uname-values.h: New file.
27361
27362 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27363
27364 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27365 splitting into fields.
27366
27367 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27368
27369 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27370 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27371 * locale/localeinfo.h: Add enum collation_encoding_type.
27372 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27373 * programs/ld-collate.c (collate_output): Add encoding type info.
27374 * string/strcoll_l.c (STRDIFF): New function.
27375 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27376 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27377
27378 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27379
27380 [BZ #18397]
27381 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27382 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27383 <fpu_control.h> instead of <math/fpu_control.c>.
27384 * sysdeps/mips/mips32/fpu/Makefile: New file.
27385
27386 2015-05-11 Andreas Schwab <schwab@suse.de>
27387
27388 [BZ #18007]
27389 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27390 nss_endgrent.
27391 (_nss_compat_endgrent): Call nss_endgrent.
27392 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27393 nss_endpwent.
27394 (_nss_compat_endpwent): Call nss_endpwent.
27395 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27396 needent, call nss_setspent only if non-zero.
27397 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27398 (internal_endspent): Don't call nss_endspent.
27399 (_nss_compat_endspent): Call nss_endspent.
27400 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27401 Remove. All uses removed.
27402 (internal_setent): Remove parameter stayopen, add parameter
27403 stream. Use it instead of global variable.
27404 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27405 (internal_endent, internal_getent): Add parameter stream. Use it
27406 instead of global variable.
27407 (CONCAT(_nss_files_end,ENTNAME))
27408 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27409 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27410 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27411 uses removed.
27412 (internal_setent, internal_endent): Add parameter stream. Use it
27413 instead of global variable.
27414 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27415 stream.
27416 (get_next_alias): Add parameter stream.
27417 (_nss_files_getaliasent_r): Pass global stream.
27418 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27419 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27420 (_nss_files_gethostbyname4_r): Pass local stream to
27421 internal_setent, internal_getent and internal_endent. Remove
27422 locking.
27423
27424 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27425
27426 * tst-strfmon1.c (tests): Update expected currency symbol.
27427
27428 2015-05-08 Roland McGrath <roland@hack.frob.com>
27429
27430 * sysdeps/nacl/gethostname.c: New file.
27431
27432 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27433
27434 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27435 and sinh.
27436 * math/auto-libm-test-out: Regenerated.
27437 * sysdeps/i386/fpu/libm-test-ulps: Update.
27438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27439
27440 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27441
27442 [BZ #18125]
27443 * stdlib/tst-setcontext3.c: New file.
27444 * stdlib/tst-setcontext3.sh: New file.
27445 * stdlib/Makefile (tests): Add tst-setcontext3.
27446 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27447 to verify test program created output file.
27448 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27449 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27450 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27451 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27452
27453 2015-05-06 Roland McGrath <roland@hack.frob.com>
27454
27455 [BZ #18383]
27456 * elf/tst-tlsalign.c: New file.
27457 * elf/tst-tlsalign-static.c: New file.
27458 * elf/tst-tlsalign-lib.c: New file.
27459 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27460 (tests-static): Add tst-tlsalign-static.
27461 (modules-names): Add tst-tlsalign-lib.
27462 (test-xfail-tst-tlsalign): New variable.
27463 (test-xfail-tst-tlsalign-static): New variable.
27464
27465 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27466 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27467
27468 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27469
27470 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27471 csqrt, erfc, sin and sincos.
27472 * math/auto-libm-test-out: Regenerated.
27473 * sysdeps/i386/fpu/libm-test-ulps: Update.
27474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27475
27476 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27477
27478 * sysdeps/aarch64/libm-test-ulps: Update.
27479
27480 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27481
27482 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27483 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27484 * math/auto-libm-test-out: Regenerated.
27485 * sysdeps/i386/fpu/libm-test-ulps: Update.
27486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27487
27488 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27489
27490 [BZ #18265]
27491 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27492 (wcsncpy): Likewise.
27493
27494 2015-05-05 Florian Weimer <fweimer@redhat.com>
27495
27496 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27497 Assume __ASSUME_FALLOCATE is always true.
27498 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27499 (__posix_fallocate64_l64): Likewise.
27500 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27501 (posix_fallocate): Likewise.
27502 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27503 (__posix_fallocate64_l64): Likewise.
27504 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27505 [!__ASSUME_FALLOCATE]: Add comment.
27506
27507 2015-05-05 Florian Weimer <fweimer@redhat.com>
27508
27509 * sysdeps/unix/sysv/linux/i386/Makefile
27510 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27511 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27512 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27513 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27514 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27515 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27516 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27517
27518 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27519
27520 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27521 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27522 tgamma.
27523 * math/auto-libm-test-out: Regenerated.
27524 * sysdeps/i386/fpu/libm-test-ulps: Update.
27525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27526
27527 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27528
27529 * math/auto-libm-test-in: Add more tests of tgamma.
27530 * math/auto-libm-test-out: Regenerated.
27531 * sysdeps/i386/fpu/libm-test-ulps: Update.
27532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27533
27534 * math/auto-libm-test-in: Add more tests of tanh.
27535 * math/auto-libm-test-out: Regenerated.
27536 * sysdeps/i386/fpu/libm-test-ulps: Update.
27537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27538
27539 * math/auto-libm-test-in: Add more tests of tan.
27540 * math/auto-libm-test-out: Regenerated.
27541 * sysdeps/i386/fpu/libm-test-ulps: Update.
27542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27543
27544 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27545 * math/auto-libm-test-out: Regenerated.
27546 * sysdeps/i386/fpu/libm-test-ulps: Update.
27547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27548
27549 * math/auto-libm-test-in: Add another test of pow.
27550 * math/auto-libm-test-out: Regenerated.
27551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27552
27553 * math/auto-libm-test-in: Add more tests of lgamma.
27554 * math/auto-libm-test-out: Regenerated.
27555 * sysdeps/i386/fpu/libm-test-ulps: Update.
27556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27557
27558 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27559 log1p.
27560 * math/auto-libm-test-out: Regenerated.
27561 * sysdeps/i386/fpu/libm-test-ulps: Update.
27562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27563
27564 2015-05-01 Mark Wielaard <mjw@redhat.com>
27565
27566 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27567 Elf64_Chdr structs and ELFCOMPRESS constants.
27568
27569 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27570
27571 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27572 expm1.
27573 * math/auto-libm-test-out: Regenerated.
27574 * sysdeps/i386/fpu/libm-test-ulps: Update.
27575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27576
27577 * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27583
27584 * config.h.in (HAVE_AARCH64_BE): Add.
27585
27586 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27587
27588 * math/auto-libm-test-in: Add more tests of csqrt.
27589 * math/auto-libm-test-out: Regenerated.
27590 * sysdeps/i386/fpu/libm-test-ulps: Update.
27591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27592
27593 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27594 * math/auto-libm-test-out: Regenerated.
27595 * sysdeps/i386/fpu/libm-test-ulps: Update.
27596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27597
27598 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27599
27600 2015-04-29 Roland McGrath <roland@hack.frob.com>
27601
27602 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27603 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27604
27605 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27606 (euidaccess, eaccess): Define as weak aliases.
27607
27608 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27609 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27610 but __suseconds_t is often 'long int' so some sources assume that
27611 type is being used (e.g. they use %ld to print tv_usec).
27612
27613 2015-04-29 Florian Weimer <fweimer@redhat.com>
27614
27615 [BZ #18007]
27616 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27617 (CVE-2014-8121)
27618 * nss/tst-nss-getpwent.c: New file.
27619 * nss/Makefile (tests): Add new test.
27620
27621 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27622
27623 [BZ #18346]
27624 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27625 exponents less than 48 as cases where high part of mantissa needs
27626 examining to determine whether argument is integral.
27627 * math/libm-test.inc (round_test_data): Add more tests.
27628
27629 2015-04-28 Mark Wielaard <mjw@redhat.com>
27630
27631 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27632
27633 2015-04-27 David S. Miller <davem@davemloft.net>
27634
27635 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27636 __tls_get_addr.
27637 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27638
27639 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 [BZ#18333]
27642 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27643
27644 2015-04-27 Florian Weimer <fweimer@redhat.com>
27645
27646 [BZ#18333]
27647 * time/tzset.c (parse_tzname): Return error on memory allocation
27648 failure.
27649 * test-skeleton.c (struct temp_name_list): Change type of name
27650 member to non-const.
27651 (add_temp_file): Create a copy of the file name.
27652 (delete_temp_files): Deallocate memory.
27653 (create_temp_file): Add comment.
27654
27655 2015-04-24 Florian Weimer <fweimer@redhat.com>
27656
27657 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27658 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27659
27660 2015-04-24 Roland McGrath <roland@hack.frob.com>
27661
27662 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27663 * sysdeps/arm/configure: Regenerated.
27664
27665 2015-04-24 Florian Weimer <fweimer@redhat.com>
27666
27667 [BZ #17715]
27668 * time/tzfile.c (__tzfile_read): Check for large values of
27669 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27670 * time/tzset.c (__tzstring_len): New function, based on the old
27671 __tzstring function.
27672 (__tzstring): Call __tzstring_len.
27673 (parse_tzname): New helper function extracted from
27674 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27675 the input string.
27676 (parse_offset): New helper function extracted from
27677 __tzset_parse_tz. Replace switch with fallthrough with
27678 initialization before sscanf.
27679 (parse_rule): Likewise.
27680 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27681 new-style function definition.
27682 * timezone/Makefile (tests): Add tst-tzset.
27683 (tst-tzset.out): Dependencies on time zone files.
27684 (tst-tzset-ENV): Set TZDIR.
27685 (testdata/XT%): Copy crafted time zone files.
27686 * timezone/README: Mention crafted time zone files.
27687 * timezone/testdata/XT1, timezone/testdata/XT2,
27688 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27689 files.
27690 * timezone/tst-tzset.c: New test.
27691
27692 2015-04-24 Florian Weimer <fweimer@redhat.com>
27693
27694 * Makeconfig (+gccwarn): Remove -Winline.
27695
27696 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27697
27698 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27699
27700 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27701
27702 * NEWS: Mention sysconf() cache information support for s390.
27703 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27704
27705 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27706
27707 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27709 (__nearbyint): Likewise.
27710 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27711 (copysignl): Likewise.
27712
27713 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27714
27715 [BZ #18287]
27716 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27717 based on padding. (CVE-2015-1781)
27718
27719 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27720
27721 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27722 libc-vdso.h.
27723 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27724 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27725 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27726 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27727 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27728 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27729 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27732 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27733 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27735 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27736 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27737 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27738 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27739 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27741 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27742 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27743 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27744 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27745 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27746
27747 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27748
27749 * stdlib/setenv.c (__add_to_environ):
27750 Dump core quickly if setenv (..., NULL, ...) is called.
27751 This time, do it the right way, and pacify GCC with a pragma.
27752
27753 2015-04-17 Roland McGrath <roland@hack.frob.com>
27754
27755 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27756 IMAP->l_prev cannot be null, and #if out the code for the contrary
27757 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27758 believe that NS (&_dl_ns[NSID]) could point outside the array.
27759
27760 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27761 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27762 before using NSID as an index.
27763
27764 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27765
27766 [BZ #17825]
27767 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27768 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27769 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27770
27771 2015-04-17 Roland McGrath <roland@hack.frob.com>
27772
27773 Add preliminary port to Google Native Client on ARM.
27774 * abi-tags (.*-.*-nacl.*): New entry.
27775 * sysdeps/arm/nacl: New directory.
27776 * sysdeps/nacl: New directory.
27777
27778 2015-04-16 David S. Miller <davem@davemloft.net>
27779
27780 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27781 lowlevellock-futex.h
27782
27783 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27784
27785 * sysdeps/tile/configure.ac: New file.
27786 * sysdeps/tile/configure: Regenerated.
27787
27788 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27789
27790 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27791 conditionals for weak_alias and libc_hidden_weak.
27792 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27793 libc_hidden_weak and weak_alias.
27794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27795 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27796 and weak_alias for static one.
27797
27798 2015-04-15 David S. Miller <davem@davemloft.net>
27799
27800 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27801
27802 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27803
27804 [BZ #18206]
27805 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27806 Use signed comparision instead of substraction to avoid
27807 overflow bug.
27808 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27809 Take the sign of ret.
27810 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27811 Do not expect precise return values. Only the sign matters.
27812 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27813 * wcsmbs/test-wcsncmp.c: New File.
27814 * string/test-strncmp.c: Add wcsncmp support.
27815
27816 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27817
27818 [BZ #6792]
27819 * math/w_log1p.c: New file.
27820 * math/w_log1pf.c: Likewise.
27821 * math/w_log1pl.c: Likewise.
27822 * math/Makefile (libm-calls): Add w_log1p.
27823 * math/s_log1pl.c (log1pl): Remove weak_alias.
27824 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27825 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27826 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27827 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27828 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27829 [NO_LONG_DOUBLE] (log1pl): Likewise.
27830 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27831 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27832 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27833 (log1p): Remove long_double_symbol.
27834 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27835 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27836 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27837 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27838 remove weak_alias for corresponding log1p function.
27839 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27840 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27841 * sysdeps/ia64/fpu/w_log1p.c: New file.
27842 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27843 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27844 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27845
27846 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27847
27848 [BZ #18247]
27849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27850 decimal exponent by 1.
27851 * stdlib/tst-strtod-round-data: Add more tests.
27852 * stdlib/tst-strtod-round.c (tests): Regenerated.
27853
27854 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27855
27856 * math/auto-libm-test-in: Add more tests of clog and clog10.
27857 * math/auto-libm-test-out: Regenerated.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
27861 2015-04-09 Roland McGrath <roland@hack.frob.com>
27862
27863 * Makeconfig (module-cppflags): Exclude all .v.i files.
27864 (skip-module-cppflags): Variable removed.
27865
27866 * configure.ac (libc_config_ok): Initialize before reading
27867 preconfigure scripts, not after.
27868 * configure: Regenerated.
27869
27870 * test-skeleton.c (TIMEOUT): Move #define to top level.
27871 (main): Grok environment variable TEST_DIRECT. If set, print
27872 test expectation details into that file and then behave as if
27873 given --direct.
27874
27875 2015-04-09 Florian Weimer <fweimer@redhat.com>
27876
27877 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27878 warning on 32-bit.
27879
27880 2015-04-08 David S. Miller <davem@davemloft.net>
27881
27882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27883
27884 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27885
27886 * math/auto-libm-test-in: Add more tests of atanh.
27887 * math/auto-libm-test-out: Regenerated.
27888 * sysdeps/i386/fpu/libm-test-ulps: Update.
27889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890
27891 * math/auto-libm-test-in: Add more tests of atan.
27892 * math/auto-libm-test-out: Regenerated.
27893 * sysdeps/i386/fpu/libm-test-ulps: Update.
27894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27895
27896 2015-04-08 Florian Weimer <fweimer@redhat.com>
27897
27898 * elf/pldd.c (main): Rewrite to use struct
27899 scratch_buffer instead of extend_alloca.
27900 * elf/pldd-xx.c (find_maps): Likewise.
27901 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27902 <alloca.h>.
27903 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27904 scratch_buffer instead of extend_alloca.
27905 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27906 grp/compat-initgroups.c.
27907 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27908 Rewrite to use struct scratch_buffer instead of extend_alloca.
27909 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27910 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27911
27912 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27913
27914 * math/auto-libm-test-in: Add more tests of cbrt.
27915 * math/auto-libm-test-out: Regenerated.
27916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27917
27918 * math/auto-libm-test-in: Add more tests of cabs.
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 #18210]
27924 [BZ #18211]
27925 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27926 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27927 computations.
27928 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27929 clog10.
27930 * math/auto-libm-test-out: Regenerated.
27931 * sysdeps/i386/fpu/libm-test-ulps: Update.
27932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27933
27934 [BZ #18197]
27935 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27936 (atan): Set FE_TONEAREST mode for internal computations.
27937 * math/auto-libm-test-in: Add more tests of atan.
27938 * math/auto-libm-test-out: Regenerated.
27939
27940 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27941
27942 [BZ #17930]
27943 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27944
27945 2015-04-07 Florian Weimer <fweimer@redhat.com>
27946
27947 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27948
27949 2015-04-07 Florian Weimer <fweimer@redhat.com>
27950
27951 * include/scratch_buffer.h: New file.
27952 * malloc/scratch_buffer_grow.c: Likewise.
27953 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27954 * malloc/scratch_buffer_set_array_size.c: Likewise.
27955 * malloc/tst-scratch_buffer.c: Likewise.
27956 * malloc/Makefile (routines): Add scratch_buffer_grow.
27957 (tests): Add test case.
27958 * malloc/Versions (GLIBC_PRIVATE): Export
27959 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27960 __libc_scratch_buffer_set_array_size.
27961
27962 2015-04-06 Richard Henderson <rth@redhat.com>
27963
27964 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27965 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27966
27967 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27968 unsigned int before printing.
27969
27970 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27971
27972 [BZ #17596]
27973 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27974 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27975
27976 2015-04-02 Florian Weimer <fweimer@redhat.com>
27977
27978 * include/libc-internal.h (libc_max_align_t): Define.
27979
27980 2015-04-02 Andreas Schwab <schwab@suse.de>
27981
27982 [BZ #16850]
27983 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27984
27985 2015-04-02 Mel Gorman <mgorman@suse.de>
27986
27987 [BZ #17195]
27988 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27989 as well as the main arena.
27990
27991 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 [BZ #18185]
27994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27995 sharing L2 cache to 2 for Silvermont/Knights Landing.
27996
27997 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 [BZ #17711]
28000 * config.make.in (have-protected-data): New.
28001 * configure.ac: Check linker support for protected data symbol.
28002 * configure: Regenerated.
28003 * elf/Makefile (modules-names): Add tst-protected1moda and
28004 tst-protected1modb if $(have-protected-data) is yes.
28005 (tests): Add tst-protected1a and tst-protected1b if
28006 $(have-protected-data) is yes.
28007 ($(objpfx)tst-protected1a): New.
28008 ($(objpfx)tst-protected1b): Likewise.
28009 (tst-protected1modb.so-no-z-defs): Likewise.
28010 * elf/tst-protected1a.c: New file.
28011 * elf/tst-protected1b.c: Likewise.
28012 * elf/tst-protected1mod.h: Likewise.
28013 * elf/tst-protected1moda.c: Likewise.
28014 * elf/tst-protected1modb.c: Likewise.
28015
28016 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28017
28018 [BZ #17711]
28019 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28020 indicates it is called from do_lookup_x on relocation against
28021 protected data, skip the data definion in the executable from
28022 copy reloc.
28023 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28024 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28025 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28026 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28027 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28028 otherwise to 0.
28029 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28030 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28031 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28032 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28033 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28034 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28035
28036 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
28037
28038 * sysdeps/nptl/pthread.h: Remove duplicate definition of
28039 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28040
28041 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
28042
28043 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28044 THREAD_SETMEM_NC.
28045 * sysdeps/x86_64/nptl/tls.h: Ditto.
28046
28047 2015-03-27 Roland McGrath <roland@hack.frob.com>
28048
28049 * dlfcn/tststatic.c (main): Converted to ...
28050 (do_test): ... this.
28051 (TEST_FUNCTION): New macro.
28052 Include test-skeleton.c.
28053
28054 2015-03-26 Alan Modra <amodra@gmail.com>
28055
28056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28057 Don't segfault if ifunc resolver returns a NULL. Do set plt to
28058 zero for undefined weak.
28059 (elf_machine_plt_conflict): Similarly.
28060
28061 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28062
28063 * math/auto-libm-test-in: Add more tests of acosh, asinh and
28064 atanh.
28065 * math/auto-libm-test-out: Regenerated.
28066 * sysdeps/i386/fpu/libm-test-ulps: Update.
28067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28068
28069 * math/auto-libm-test-in: Add another test of asin.
28070 * math/auto-libm-test-out: Regenerated.
28071 * sysdeps/i386/fpu/libm-test-ulps: Update.
28072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28073
28074 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28075 Remove macro.
28076 (LLL_EBX_REG): Likewise.
28077 (LLL_ENTER_KERNEL): Likewise.
28078
28079 * math/auto-libm-test-in: Add more tests of asin.
28080 * math/auto-libm-test-out: Regenerated.
28081 * sysdeps/i386/fpu/libm-test-ulps: Update.
28082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28083
28084 [BZ #18138]
28085 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28086 libc_do_syscall_args): New structure.
28087 (INTERNAL_SYSCALL_MAIN_0): New macro.
28088 (INTERNAL_SYSCALL_MAIN_1): Likewise.
28089 (INTERNAL_SYSCALL_MAIN_2): Likewise.
28090 (INTERNAL_SYSCALL_MAIN_3): Likewise.
28091 (INTERNAL_SYSCALL_MAIN_4): Likewise.
28092 (INTERNAL_SYSCALL_MAIN_5): Likewise.
28093 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28094 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28095 Replace conditional definitions by conditional definitions of ....
28096 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
28097 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28098 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28099 (libpthread-sysdep_routines): Add libc-do-syscall.
28100 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28102 to __NR_futex not 240.
28103
28104 2015-03-25 Alan Modra <amodra@gmail.com>
28105
28106 * NEWS: Advertise TLS optimization.
28107 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28108 (DT_PPC_NUM): Increment.
28109 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28110 (CHECK_STATIC_TLS): Use here.
28111 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28112 TLS descriptors.
28113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28114 * sysdeps/powerpc/dl-tls.c: New file.
28115 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28116 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28117 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28118 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28122
28123 2015-03-25 Alan Modra <amodra@gmail.com>
28124
28125 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28126 for overlapping .opd entries" to "support...".
28127 * sysdeps/powerpc/powerpc64/configure: Regenerate
28128
28129 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28130
28131 * math/auto-libm-test-in: Add more tests of acos.
28132 * math/auto-libm-test-out: Regenerated.
28133 * sysdeps/i386/fpu/libm-test-ulps: Update.
28134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28135
28136 * math/auto-libm-test-in: Add more tests of expm1.
28137 * math/auto-libm-test-out: Regenerated.
28138 * sysdeps/i386/fpu/libm-test-ulps: Update.
28139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28140
28141 2015-03-24 Joseph Myers <joseph@codesourcery.com>
28142
28143 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28144 * math/auto-libm-test-out: Regenerated.
28145 * sysdeps/i386/fpu/libm-test-ulps: Update.
28146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28147
28148 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150
28151 * math/auto-libm-test-in: Add more tests of log2.
28152 * math/auto-libm-test-out: Regenerated.
28153 * sysdeps/i386/fpu/libm-test-ulps: Update.
28154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28155
28156 2015-03-23 Roland McGrath <roland@hack.frob.com>
28157
28158 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28159 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
28160 _IO_IS_APPENDING bit in READ_WRITE instead.
28161
28162 2015-03-23 Florian Weimer <fweimer@redhat.com>
28163
28164 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28165 (__determine_cpumask_size): Replace extend_alloca with a
28166 variable-length array. Do not treat res == 0 as an error.
28167
28168 2015-03-23 Florian Weimer <fweimer@redhat.com>
28169
28170 [BZ #18100]
28171 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28172 and integer overflow.
28173 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28174 (main): Add integer overflow tests.
28175 * manual/pattern.texi (Calling Wordexp): Document additional use
28176 for WRDE_SYNTAX.
28177
28178 2015-03-23 Alan Modra <amodra@gmail.com>
28179
28180 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28181 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28182 and false branch of conditional.
28183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28184 Likewise.
28185
28186 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28187
28188 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28189 libc-modules.h
28190 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28191 unused declaration of _hurd_intr_rpc_msg_in_trap.
28192 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28193 defined instead of whether it is non-zero.
28194 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28195 input constraint instead of both input and output constraint. Use ecx
28196 clobber instead of %ecx.
28197 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28198 mutex_unlock): Use a statement expression instead of an expression list.
28199 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28200 type to vm_size_t instead of vm_address_t.
28201 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28202 defined instead of whether it is non-zero.
28203 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28204 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28205 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28206 comparisons with mapaddr.
28207 * nscd/nscd-client.h: Include <time.h>.
28208 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28209 9th parameter to __vm_region instead of int.
28210 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28211 * scripts/check-local-headers.sh (exclude): Add device/,
28212 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28213 cthreads.h.
28214
28215 2015-03-19 Roland McGrath <roland@hack.frob.com>
28216
28217 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28218 to account for alignment padding.
28219 * sysdeps/arm/memmove.S: Likewise.
28220
28221 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28222
28223 * sysdeps/unix/sysv/linux/generic/README: New file.
28224
28225 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #18138]
28228 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28229 (futex_abstimed_wait)
28230 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28231 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28232 of lll_futex_timed_wait.
28233
28234 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28235
28236 [BZ #17542]
28237 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28238
28239 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28240
28241 [BZ #17090]
28242 [BZ #17620]
28243 [BZ #17621]
28244 [BZ #17628]
28245 * NEWS: Update.
28246 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28247 entries with Static TLS too. Skip entries past the end of the
28248 allocated DTV, from Alan Modra.
28249 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28250 Static TLS DTV entry set up from...
28251 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28252 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28253 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28254 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28255 for Static TLS.
28256 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28257 that the slot we find is associated with the given map before
28258 using its generation count.
28259 * nptl_db/db_info.c: Include ldsodefs.h.
28260 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28261 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28262 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28263 (link_map::l_tls_offset): New struct field.
28264 (dtv_t::counter): Likewise.
28265 (rtld_global): New struct.
28266 (_rtld_global): New rtld variable.
28267 (dl_tls_dtv_slotinfo_list): New rtld global field.
28268 (dtv_slotinfo_list): New struct.
28269 (dtv_slotinfo): Likewise.
28270 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28271 (td_lookup): Rename to...
28272 (td_mod_lookup): ... this. Use new mod parameter instead of
28273 LIBPTHREAD_SO.
28274 * nptl_db/td_thr_tlsbase.c: Include link.h.
28275 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28276 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28277 addresses even if the DTV is out of date or missing them.
28278 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28279 index zero-length arrays.
28280 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28281 (td_lookup): Make it a macro implemented in terms of...
28282 (td_mod_lookup): ... this declaration.
28283 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28284 (DB_MAIN_VARIABLE): Likewise.
28285
28286 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 [BZ #18134]
28289 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28290
28291 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28292
28293 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28294
28295 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28296
28297 [BZ #18128]
28298 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28299 (atomic_add, atomic_increment_and_test)
28300 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28301
28302 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28303
28304 * stdlib/setenv.c (__add_to_environ):
28305 Dump core quickly if setenv (..., NULL, ...) is called.
28306
28307 2015-03-13 Roland McGrath <roland@hack.frob.com>
28308
28309 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28310 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28311 all the necessary asm magic in one place.
28312 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28313 using those.
28314
28315 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28316
28317 [BZ #14906]
28318 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28319 traced file mtime. Use consistent log message.
28320 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28321 (register_traced_file): Call install_watches. Always set mtime.
28322 (invalidate_cache): Iterate over all trace files. Call install_watches.
28323 (inotify_check_files): Don't inline. Handle watching parent
28324 directories and configuration file movement in and out.
28325 (handle_inotify_events): New function.
28326 (main_loop_poll): Call handle_inotify_events.
28327 (main_loop_epoll): Likewise.
28328 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28329 (struct traced_file): Use array of inotify fds. Add parent directory,
28330 and basename.
28331 (struct database_dyn): Remove unused file_mtime.
28332 (init_traced_file): New inline function.
28333 (define_traced_file): New macro.
28334 * nss/nss_db/db-init.c: Use define_traced_file.
28335 (_nss_db_init): Use init_traced_file.
28336 * nss/nss_files/files-init.c: Use define_traced_file.
28337 (_nss_files_init): Use init_traced_file.
28338
28339 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28340
28341 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28342 [_LIBC]: Do not include <stdlib.h>.
28343 [!_LIBC] (abort): Remove declaration.
28344 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28345 _FP_STATIC_ASSERT instead of conditionally calling abort.
28346 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28347 (_FP_EXTEND_CNAN): Likewise.
28348 (FP_TRUNC): Likewise.
28349 (__FP_CLZ): Likewise.
28350 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28351
28352 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28353
28354 * manual/string.texi (XPG basename): Fix prototype.
28355
28356 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28357
28358 [BZ #18080]
28359 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28360 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28361 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28362 (__setcontext): Likewise.
28363 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28364 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28365 Call rt_sigprocmask syscall one time to set new signal mask
28366 and retrieve the current signal mask instead of two calls.
28367 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28368 (__swapcontext): Likewise.
28369 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28370 * stdlib/tst-setcontext2.c: New file.
28371
28372 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28373
28374 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28375
28376 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28377
28378 [BZ #18093]
28379 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28380 the wrong size.
28381
28382 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28383
28384 [BZ #18043]
28385 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28386
28387 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28388
28389 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28390 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28391 Remove define.
28392 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28393 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28394 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28395 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28396 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28397 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28398 define.
28399 * nptl_db/td_symbol_list.c (td_lookup): Remove
28400 HAVE_ASM_GLOBAL_DOT_NAME code.
28401 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28402 HAVE_ASM_GLOBAL_DOT_NAME check.
28403 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28404 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28405 (DOT_LABEL): Remove define.
28406 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28407 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28408 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28409 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28410 (__TLS_GET_ADDR): Likewise.
28411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28412 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28413
28414 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28415
28416 [BZ #18111]
28417 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28418 (_FPU_SETCW): Initialize cw from fpsr before storing.
28419 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28420 (fesetexceptflag): Rewrite using fpu_control.h.
28421 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28422
28423 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28424
28425 [BZ #18110]
28426 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28427 asms.
28428 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28429
28430 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28431
28432 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28433 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28434 abort.
28435 (_FP_FMA): Likewise.
28436 (_FP_DIV): Likewise.
28437
28438 2015-03-10 Roland McGrath <roland@hack.frob.com>
28439
28440 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28441 with 0 in that case.
28442 * Makefile (summarize-tests): New canned sequence, factored out of
28443 commands for targets tests and xtests. Display summary lines that
28444 don't start with PASS: or XFAIL: rather than ones that do start with
28445 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28446 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28447 do start with ERROR: or FAIL:.
28448 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28449 (except for [$(build-shared) = yes]).
28450 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28451 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28452 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28453 * nptl/Makefile: Revert 2015-03-04 changes.
28454 [$(CXX) empty] (tests-unsupported): New variable.
28455 * debug/Makefile: Likewise.
28456
28457 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28458 gnulib file. Replace __attribute with __attribute__ throughout.
28459
28460 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28461
28462 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28463
28464 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28465
28466 [BZ #18104]
28467 * math/auto-libm-test-in: Add another test of pow.
28468 * math/auto-libm-test-out: Regenerated.
28469
28470 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28471
28472 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28473 $(config-cflags-nofma).
28474
28475 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28476
28477 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28478 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28479 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28480 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28481 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28482 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28483 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28484 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28485 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28486 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28487 Add comment on closing #endif.
28488
28489 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28490
28491 * posix/wordexp.c (CHAR_IN_SET): New macro.
28492 (parse_param): Use it.
28493
28494 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28495
28496 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28497
28498 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28499
28500 [BZ #18043]
28501 * posix/wordexp.c (parse_param): Fix buffer overflow.
28502 * posix/wordexp-test.c (test_case): Add test case.
28503
28504 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28505
28506 [BZ #18042]
28507 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28508 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28509
28510 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28511
28512 [BZ #18043]
28513 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28514 (do_bz18043): Delete.
28515 (at_page_end): New.
28516 (testit): Refactor to have words at the edge of unreadable page.
28517
28518 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28519
28520 [BZ #16734]
28521 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28522 Cleanup read-only streams as well.
28523 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28524
28525 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28526
28527 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28528 <bits/libc-lockP.h>
28529
28530 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28531
28532 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28533 on [__KERNEL__].
28534 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28535 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28536 * soft-fp/op-common.h (_FP_DECL): Likewise.
28537
28538 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28539
28540 * elf/ifuncdep2.c (global): Replace
28541 __attribute__((visibility("protected"))) with
28542 asm (".protected global").
28543 * elf/ifuncmod1.c (global): Likewise.
28544 * elf/ifuncmod5.c (global): Likewise.
28545
28546 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28547
28548 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28549 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28550
28551 2015-03-06 Roland McGrath <roland@hack.frob.com>
28552
28553 * manual/install.texi (Configuring and compiling):
28554 Document test-wrapper-env-only.
28555 * INSTALL: Regenerated.
28556
28557 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28558
28559 [BZ #18043]
28560 * posix/wordexp.c (parse_param): Fix buffer overflow.
28561 * posix/wordexp-test.c (do_bz18043): Add test case.
28562
28563 2015-03-06 Vincent Bernat <vincent@bernat.im>
28564
28565 * time/tst-strptime2.c (do_test): Ensure failing tests are
28566 reported correctly.
28567 * time/tst-strptime3.c (do_test): Likewise.
28568
28569 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28570
28571 Fix aio_error thread-safety.
28572 * sysdeps/pthread/aio_error.c: New file
28573 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28574 synchronization.
28575
28576 2015-03-06 Florian Weimer <fweimer@redhat.com>
28577
28578 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28579 (group_number, vfprintf): Use it.
28580 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28581 (JUMP, REF): Use it.
28582 (WORK_BUFFER_SIZE): New enum constant.
28583 (process_arg, vfprintf): Use it.
28584
28585 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28586
28587 * manual/errno.texi (Error Messages): Complete example function
28588 by adding missing #define.
28589 (program_invocation_name): Add statement indicating GNU
28590 extension and reference which header file declares the variable.
28591 (program_invocation_short_name): Likewise.
28592
28593 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28594
28595 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28596 compatibility note.
28597
28598 2015-03-05 Roland McGrath <roland@hack.frob.com>
28599
28600 * Makeconfig (test-wrapper-env-only): New variable.
28601 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28602 then use that with $(test-wrapper-env-only) rather than using
28603 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28604
28605 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #18082]
28608 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28609 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28610 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28611 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28612 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28613 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28614 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28615 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28616 Likewise.
28617 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28619 Likewise.
28620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28621 Likewise.
28622 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28623 Likewise.
28624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28625 Likewise.
28626 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28628 Likewise.
28629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28630 Likewise.
28631 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28632 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28633
28634 2015-03-04 Roland McGrath <roland@hack.frob.com>
28635
28636 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28637 (ETH_ALEN): New macro.
28638 (struct ether_addr): Use it for length of ether_addr_octet.
28639
28640 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28641 (setdb): Don't call __nss_configure_lookup for "rpc".
28642 (do_test): Don't call test_rpc.
28643 (output_rpcent, test_rpc): Functions moved ...
28644 * sunrpc/test-rpcent.c: ... to this new file.
28645 * sunrpc/Makefile (tests): Add it.
28646
28647 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28648 __xpg_sigpause.
28649 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28650 * nptl/tst-signal6.c: Likewise.
28651 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28652 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28653
28654 * configure.ac (libc_cv_cxx_link_ok): New check.
28655 Reset CXX to empty if it fails to link.
28656 * configure: Regenerated.
28657 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28658 bug-atexit3-lib only if $(CXX) is nonempty.
28659 * nptl/Makefile (tests): Likewise for tst-cancel24.
28660 (tests, tests-static): Likewise for tst-cancel24-static.
28661 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28662 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28663 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28664 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28665
28666 2015-03-04 Andreas Schwab <schwab@suse.de>
28667
28668 [BZ #17631]
28669 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28670 for non-GCC compilers.
28671 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28672 Likewise.
28673
28674 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28675
28676 [BZ #17776]
28677 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28678 integer before bitwise and assembly operations.
28679 (feclearexcept): Likewise.
28680 * math/test-fenvinline.c: New file.
28681 * math/Makefile: Add test-fenvinline test.
28682
28683 2015-03-03 Alan Modra <amodra@gmail.com>
28684
28685 [BZ #16512]
28686 * scripts/localplt.awk: Strip off symbol version.
28687 * NEWS: Mention bug fix.
28688
28689 2015-03-02 Roland McGrath <roland@hack.frob.com>
28690
28691 * sysdeps/pthread/timer_routines.c
28692 (timer_free_list, thread_free_list, thread_active_list): Make static.
28693
28694 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28695
28696 [BZ #17779]
28697 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28698 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28699 Undefine.
28700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28701 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28702 Likewise.
28703 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28704 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28705 Likewise.
28706
28707 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28708
28709 [BZ #18036]
28710 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28711 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28712
28713 2015-03-02 Andreas Schwab <schwab@suse.de>
28714
28715 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28716 variable name.
28717
28718 2015-03-02 Florian Weimer <fweimer@redhat.com>
28719
28720 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28721 Return error status.
28722
28723 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28724
28725 [BZ #15969]
28726 * locale/findlocale.c (_nl_find_locale): Introduce const
28727 version of loc_name and drop unsafe type casts.
28728
28729 2015-02-27 Roland McGrath <roland@hack.frob.com>
28730
28731 * dlfcn/tststatic2.c (main): Converted to ...
28732 (do_test): ... this.
28733 (TEST_FUNCTION): New macro.
28734 Include test-skeleton.c.
28735
28736 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28737
28738 [BZ #17711]
28739 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28740 (tests-pie): Add vismain.
28741 (CFLAGS-vismain.c): New.
28742 * elf/vismain.c: Add comments for PIE requirement.
28743
28744 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28745
28746 [BZ #18046]
28747 [BZ #18047]
28748 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28749 0x1p-56L as threshold for just returning the argument.
28750 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28751 0x1p-32L as threshold for just returning the argument.
28752 * math/auto-libm-test-in: Add more tests of atanh.
28753 * math/auto-libm-test-out: Regenerated.
28754 * sysdeps/i386/fpu/libm-test-ulps: Update.
28755 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28756
28757 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28758
28759 * string/bcopy.c (bcopy): Call memmove for performance.
28760
28761 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28762
28763 * string/bzero.c (__bzero): Call memset for performance.
28764
28765 2015-02-27 John David Anglin <dave.anglin@bell.net>
28766
28767 [BZ #18068]
28768 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28769 to 00100000.
28770
28771 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28772
28773 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28774
28775 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28776
28777 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28778 (__kernel_standard): Use CSTR macro when setting exc.name.
28779 * sysdeps/ieee754/Makefile [$(subdir) = math]
28780 (CFLAGS-k_standard.c): Remove variable.
28781
28782 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28783 setting p and q from "else if" to "else".
28784 (qzero): Likewise.
28785 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28786 (qone): Likewise.
28787 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28788 (qzerof): Likewise.
28789 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28790 (qonef): Likewise.
28791 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28792 (qzero): Likewise.
28793 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28794 (qone): Likewise.
28795
28796 [BZ #18038]
28797 [BZ #18039]
28798 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28799 return pi/2 for arguments below 0x1p-113L.
28800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28801 return pi/2 for arguments below 0x1p-106L.
28802 * math/auto-libm-test-in: Add more tests of acos.
28803 * math/auto-libm-test-out: Regenerated.
28804
28805 [BZ #16351]
28806 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28807 (MO): New macro.
28808 (__ieee754_asin): Force underflow exception for results with small
28809 absolute value.
28810 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28811 (MO): New macro.
28812 (__ieee754_asinf): Force underflow exception for results with
28813 small absolute value.
28814 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28815 (__ieee754_asin): Force underflow exception for results with small
28816 absolute value.
28817 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28818 (__ieee754_asinf): Force underflow exception for results with
28819 small absolute value.
28820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28821 (__ieee754_asinl): Force underflow exception for results with
28822 small absolute value.
28823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28824 (__ieee754_asinl): Force underflow exception for results with
28825 small absolute value.
28826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28827 (__ieee754_asinl): Force underflow exception for results with
28828 small absolute value.
28829 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28830 Include <math.h>.
28831 * math/auto-libm-test-in: Do not mark underflow exceptions as
28832 possibly missing for bug 16351.
28833 * math/auto-libm-test-out: Regenerated.
28834
28835 [BZ #18030]
28836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28837 of power of 2 down when low part has opposite sign.
28838 * math/libm-test.inc (logb_test_data): Add more tests.
28839
28840 2015-02-26 Andreas Schwab <schwab@suse.de>
28841
28842 [BZ #18032]
28843 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28844 over collating symbol inside a bracket expression. Minor cleanup.
28845 * posix/tst-fnmatch3.c (do_test): Add test case.
28846
28847 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28848
28849 [BZ #18029]
28850 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28851 Adjust exponent of power of 2 down when low part has opposite
28852 sign.
28853 * math/libm-test.inc (ilogb_test_data): Add more tests.
28854
28855 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28856
28857 [BZ #15969]
28858 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28859 the previous change.
28860
28861 [BZ #15969]
28862 * locale/findlocale.c (_nl_find_locale): Retry archive search
28863 after alias expansion.
28864
28865 2015-02-25 Roland McGrath <roland@hack.frob.com>
28866
28867 * iconv/tst-iconv3.c (main): Converted to ...
28868 (do_test): ... this.
28869 (TEST_FUNCTION): New macro.
28870 Include test-skeleton.c.
28871
28872 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28873 (convert): Make function static.
28874 (test_unalign): Likewise. Add const to argument pointee types.
28875 (main): Replace with static function do_test.
28876 Print "Succeeded." only if RET is zero.
28877 (TEST_FUNCTION): New macro.
28878 Include test-skeleton.c.
28879
28880 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28881 returns a null pointer.
28882
28883 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28884
28885 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28886 to __memcpy_ppc only for static builds.
28887
28888 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28889
28890 [BZ #18020]
28891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28892 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28893 * math/auto-libm-test-in: Add more tests of asinh.
28894 * math/auto-libm-test-out: Regenerated.
28895 * sysdeps/i386/fpu/libm-test-ulps: Update.
28896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28897
28898 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28899
28900 [BZ #15850]
28901 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28902 and ip6_mtuinfo definitions here.
28903 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28904 in this define too. Update comment.
28905
28906 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28907
28908 * elf/sprof.c (load_shobj): Tweak error message to match others.
28909
28910 2015-02-24 Kevin Easton <kevin@guarana.org>
28911
28912 [BZ #16145] (partial fix)
28913 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28914 to reduce lock contention.
28915
28916 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28917
28918 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28919 (struct timex): Update time comment.
28920 (ADJ_SETOFFSET): Define.
28921
28922 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28923
28924 [BZ #18019]
28925 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28926 2**56 not 2**28 as threshold for log (2x) formula.
28927 * math/auto-libm-test-in: Add more tests of acosh.
28928 * math/auto-libm-test-out: Regenerated.
28929 * sysdeps/i386/fpu/libm-test-ulps: Update.
28930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28931
28932 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28933
28934 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28935 parenthesis around the buf assignment.
28936 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28937
28938 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28939
28940 [BZ #16783]
28941 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28942 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28943 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28944 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28945 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28946 * math/libm-test.inc (scalb_test_data): Add more tests.
28947
28948 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28949
28950 [BZ #17916]
28951 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28952 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28953
28954 2015-02-24 Eric Rannaud <e@nanocritical.com>
28955
28956 [BZ #17523]
28957 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28958 * io/bits/fcntl2.h (open): Use it.
28959 (openat): Likewise.
28960 * io/open.c (__libc_open): Likewise.
28961 * io/open64.c (__libc_open64): Likewise.
28962 * io/open64_2.c (__open64_2): Likewise.
28963 * io/open_2.c (__open_2): Likewise.
28964 * io/openat.c (__openat): Likewise.
28965 * io/openat64.c (__openat64): Likewise.
28966 * io/openat64_2.c (__openat64_2): Likewise.
28967 * io/openat_2.c (__openat_2): Likewise.
28968 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28969 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28970 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28971 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28972 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28973 (__open_nocancel): Likewise.
28974 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28975 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28976 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28977
28978 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28979
28980 [BZ #14841]
28981 * resolv/gethnamaddr.c (getanswer): Skip logging if
28982 RES_USE_DNSSEC is set.
28983 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28984
28985 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28986
28987 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28988
28989 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28990
28991 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28992 201304L, for Unicode 7.
28993
28994 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28995
28996 [BZ #17836]
28997 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28998 shared library. Add gmon-start.os otherwise.
28999 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29000 $(objpfx)gmon-start.os if builing shared library.
29001 ($(objpfx)g$(static-start-installed-name)): Likewise.
29002
29003 2015-02-23 Andreas Schwab <schwab@suse.de>
29004
29005 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29006
29007 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29008
29009 [BZ #17269]
29010 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29011 (enlarge_userbuf): Likewise.
29012
29013 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
29014
29015 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29016 * math/atest-exp.c (TIMEOUT): Adjust to 200.
29017 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29018 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29019
29020 2015-02-20 Joseph Myers <joseph@codesourcery.com>
29021
29022 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29023 expression inside statement expression.
29024
29025 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
29026
29027 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29028 <sysdeps/nptl/lowlevellock.h> and remove macros and
29029 functions that are now defined there.
29030 (SYS_futex): Remove.
29031 (lll_compare_and_swap): Remove.
29032 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29033
29034 2015-02-19 Joseph Myers <joseph@codesourcery.com>
29035
29036 [BZ #17999]
29037 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29038 instead of scandirat.
29039 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29040 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29041 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29042 __scandirat.
29043 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29044 (__scandirat): Declare. Use libc_hidden_proto.
29045 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29046 Remove variable.
29047 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29048
29049 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29050
29051 [BZ #15319]
29052 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29053 (MO): New macro.
29054 (__ieee754_atan2): For results with small absolute value, force
29055 underflow exception and remove excess range and precision from
29056 return value.
29057 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29058 (MO): New macro.
29059 (__ieee754_atan2f): For results with small absolute value, force
29060 underflow exception and remove excess range and precision from
29061 return value.
29062 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29063 (MO): New macro.
29064 (__atan): For results with small absolute value, force underflow
29065 exception and remove excess range and precision from return value.
29066 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29067 (MO): New macro.
29068 (__atanf): For results with small absolute value, force underflow
29069 exception and remove excess range and precision from return value.
29070 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29071 <math.h>.
29072 (__ieee754_atan2): Force underflow exception for results with
29073 small absolute value.
29074 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29075 <math_private.h>.
29076 (atan): Force underflow exception for results with small absolute
29077 value.
29078 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29079 (__atanf): Force underflow exception for results with small
29080 absolute value.
29081 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29082 <math.h>.
29083 (__atanl): Force underflow exception for results with small
29084 absolute value.
29085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29086 (__atanl): Force underflow exception for results with small
29087 absolute value.
29088 * sysdeps/x86/fpu/bits/mathinline.h
29089 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29090 (__ieee754_atan2): Only define inline for long double.
29091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29092 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29093 * math/auto-libm-test-in: Do not mark underflow exceptions as
29094 possibly missing for bug 15319. Add more tests of atan2.
29095 * math/auto-libm-test-out: Regenerated.
29096 * math/libm-test.inc (casin_test_data): Do not mark underflow
29097 exceptions as possibly missing for bug 15319.
29098 (casinh_test_data): Likewise.
29099 * sysdeps/i386/fpu/libm-test-ulps: Update.
29100
29101 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
29102
29103 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29104 * sysdeps/mips/bits/endian.h: Fix comments.
29105
29106 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29107
29108 [BZ #17996]
29109 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29110 (hdestroy_r): Likewise.
29111 (hsearch_r): Likewise.
29112 (__hcreate_r): Declare and use libc_hidden_proto.
29113 (__hdestroy_r): Likewise.
29114 (__hsearch_r): Likewise.
29115 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29116 (hcreate): Call __hcreate_r instead of hcreate_r.
29117 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29118 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29119 as weak alias of __hcreate_r.
29120 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29121 __hdestroy_r.
29122 (hsearch_r): Rename to __hsearch_r and define as weak alias of
29123 __hsearch_r.
29124 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29125 Remove variable.
29126 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29127 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29128 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29129 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29130
29131 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29132
29133 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29134 arena_lock into a single arena_get.
29135
29136 2015-02-17 Carlos O'Donell <carlos@redhat.com>
29137
29138 * dl-reloc.c: Inlucde libc-internal.h.
29139 (_dl_try_allocate_static_tls): Call ALIGN_UP.
29140 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29141 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29142 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29143 (grow_heap): Likewise.
29144 * malloc/malloc.c: Include libc-internal.h.
29145 (do_check_malloc): Call powerof2.
29146 (sysmalloc): Use pagesize. Call ALIGN_UP.
29147 (systrim): Use pagesize.
29148 (mremap_chunk): Use pagesize. Call ALIGN_UP.
29149 (__libc_valloc): Use pagesize.
29150 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29151
29152 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29153
29154 [BZ #17991]
29155 * include/sys/resource.h (__getrlimit64): Declare. Use
29156 libc_hidden_proto.
29157 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29158 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29159 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29160 getrlimit64.
29161 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29162 __getrlimit64.
29163 [!getrlimit64] (getrlimit64): Define as weak alias of
29164 __getrlimit64. Use libc_hidden_weak.
29165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29166 using __getrlimit64 not __new_getrlimit64.
29167 (__GI_getrlimit64): Likewise.
29168 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29169 Likewise.
29170 (__GI_getrlimit64): Likewise.
29171 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29173 (getrlimit): Add __getrlimit64 alias.
29174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29175 Likewise.
29176 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29177 Remove variable.
29178 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29179 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29180
29181 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29182
29183 * libio/fileops.c: Add missing sys/mman.h
29184 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29185
29186 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29187
29188 * manual/math.texi (Errors in Math Functions): Clarify goals
29189 regarding inexact and underflow exceptions.
29190
29191 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29192
29193 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29194 * sysdeps/mips/memset.S: Ditto.
29195
29196 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29197
29198 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29199
29200 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29201
29202 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29203 (__v1longjmp): Remove versioned symbol.
29204 (__v1siglongjmp): Remove alias and versioned symbol.
29205 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29206 (__v2siglongjmp): Likewise.
29207
29208 2015-02-16 Torvald Riegel <triegel@redhat.com>
29209
29210 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29211
29212 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29213
29214 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29215
29216 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29217
29218 [BZ #17987]
29219 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29220 zero result does not depend on the sign resulting from
29221 subtraction.
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29223 Likewise.
29224 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29227 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29228 * math/libm-test.inc (remquo_test_data): Add more tests.
29229
29230 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29231
29232 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29233 Problem reported by J William Piggott.
29234
29235 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29236
29237 [BZ #17978]
29238 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29239 products 4 * y and 2 * y where those would overflow.
29240 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29241 Likewise.
29242 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29243 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29244 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29245 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29246 * math/libm-test.inc (remquo_test_data): Add more tests.
29247
29248 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29249
29250 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29251 [defined _COMPILING_NEWLIB].
29252 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29253 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29254
29255 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29256 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29257
29258 2015-02-16 Torvald Riegel <triegel@redhat.com>
29259
29260 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29261 acquired.
29262
29263 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29264
29265 [BZ #17792]
29266 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29267 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29268 HOST_STACK_END_ADDR): Likewise.
29269
29270 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29271
29272 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29273 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29274 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29275
29276 2015-02-13 Roland McGrath <roland@hack.frob.com>
29277
29278 * sysdeps/generic/c++-types.data: New file.
29279 * sysdeps/generic/ld.abilist: New file.
29280 * sysdeps/generic/libBrokenLocale.abilist: New file.
29281 * sysdeps/generic/libanl.abilist: New file.
29282 * sysdeps/generic/libc.abilist: New file.
29283 * sysdeps/generic/libcrypt.abilist: New file.
29284 * sysdeps/generic/libdl.abilist: New file.
29285 * sysdeps/generic/libm.abilist: New file.
29286 * sysdeps/generic/libpthread.abilist: New file.
29287 * sysdeps/generic/libresolv.abilist: New file.
29288 * sysdeps/generic/librt.abilist: New file.
29289
29290 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29291
29292 [BZ #17569]
29293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29294 Compute absolute value of x as modified by fmod, not original
29295 value of x.
29296 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29297 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29298 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29299 RUN_TEST_ffI_f1_mod8.
29300 (remquo_test_data): Add more tests.
29301
29302 2015-02-13 Roland McGrath <roland@hack.frob.com>
29303
29304 * sysdeps/init_array/pt-crti.S: New file.
29305
29306 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29307
29308 [BZ #17967]
29309 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29310 __builtin_fmaf instead of relying on contraction of a * b + c.
29311
29312 2015-02-12 J William Piggott <elseifthen@gmx.com>
29313
29314 [BZ #17969]
29315 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29316 node.
29317
29318 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29319
29320 [BZ #17964]
29321 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29322 __builtin_fma instead of relying on contraction of a * b + c.
29323
29324 2015-02-12 Roland McGrath <roland@hack.frob.com>
29325
29326 * Makeconfig (ASFLAGS): Add -Werror=undef.
29327 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29328 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29329 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29330
29331 * Makeconfig (after-link): New variable.
29332 (+link-pie, +link-pie-tests): Use it.
29333 (+link-static, +link-static-tests): Likewise.
29334 (+link, +link-tests): Likewise.
29335 * Makerules (build-module, build-module-asneeded): Likewise.
29336 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29337 Likewise.
29338 * elf/Makefile ($(objpfx)ld.so): Likewise.
29339
29340 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29341
29342 [BZ #17965]
29343 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29344 both struct timeval and struct timespec.
29345
29346 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29347
29348 [BZ #16560]
29349 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29350 and redefine.
29351 (__ieee754_exp2l): Do not multiply small fractional parts by
29352 M_LN2l.
29353 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29354 small argument.
29355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29356 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29357 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29358 * math/auto-libm-test-in: Add more tests of exp2.
29359 * math/auto-libm-test-out: Regenerated.
29360
29361 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29362
29363 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29364 unaligned path.
29365
29366 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29367
29368 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29369 little endian.
29370
29371 2015-02-12 Andreas Schwab <schwab@suse.de>
29372
29373 [BZ #15790]
29374 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29375 Filter out elision flags from value returned in kind.
29376 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29377 * nptl/tst-pthread-mutexattr.c: New file.
29378
29379 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29380
29381 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29382 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29383 into gnu-gnu, and update comment to refer to abi-tags.
29384
29385 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29386
29387 [BZ #15467]
29388 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29389 (__sincos): Set errno to EDOM for infinite argument.
29390 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29391 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29392 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29393 (__sincosl): Set errno to EDOM for infinite argument.
29394 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29395 (__sincosl): Set errno to EDOM for infinite argument.
29396 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29397 (__sincosl): Set errno to EDOM for infinite argument.
29398 * math/libm-test.inc (sincos_test_data): Test errno setting.
29399
29400 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29401
29402 * string/strxfrm_l.c: Remove #define STRCMP.
29403 * string/strcoll_l.c: Remove #define STRLEN.
29404 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29405 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29406
29407 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29408
29409 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29410 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29411 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29412 * sysdeps/mips/mips64/Makefile: ... here.
29413 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29414 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29415 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29416 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29417 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29418 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29419 * sysdeps/mips/mips64/n64/Implies: Likewise.
29420
29421 2015-02-10 Roland McGrath <roland@hack.frob.com>
29422
29423 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29424 <sys/time.h>, <string.h>, and <errno.h>.
29425 (dest_offset, dest_address, value, zero): Remove unused variables.
29426 (ldouble): Remove typedef.
29427 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29428 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29429 1). Fix code style.
29430 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29431 (check): Function removed.
29432 (CHECK): New macro.
29433 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29434 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29435 Don't call set_sigaction_FP and remove_sigaction_FP here.
29436 (ldouble_test): Just use 'long double' as macro argument, no need for
29437 the 'ldouble' typedef.
29438 (do_test): Set up SIGFPE handler at start, using plain signal rather
29439 than sigaction. Fix code style.
29440
29441 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29442
29443 [BZ #17949]
29444 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29445 jump label.
29446
29447 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29448
29449 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29450 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29451
29452 * sysdeps/powerpc/configure.ac: Remove file.
29453 * sysdeps/powerpc/configure: Likewise.
29454
29455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29456 [sysdep_routines]: Remove wordcopy-power6 object.
29457 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29458 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29459 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29460 (__memmove_ppc32): Likewise.
29461 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29462 file.
29463 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29464 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29465 Remove preprocessor.
29466
29467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29468 [sysdep_routines]: Remove wide chars objects.
29469 [wcsmbs]: New rule for wide char objects.
29470
29471 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29472 Remove wordcopy-power6 obejct.
29473 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29474 Use local call for wordcopy and memcpy symbols.
29475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29476 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29477 implementation for loader.
29478 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29479
29480 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29481 Remove wordcopy-power7 object.
29482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29484 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29485 (_wordcopy_fwd_dest_aligned): Likewise.
29486 (_wordcopy_bwd_aligned): Likewise.
29487 (_wordcopy_bwd_dest_aligned): Likewise.
29488
29489 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29490 Rewrite to call __memmove_ppc instead of include default
29491 implementation.
29492
29493 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29494 Remove wide chars objects.
29495 [wcsmbs]: New rule for wide char objects.
29496
29497 2015-02-09 Andreas Schwab <schwab@suse.de>
29498
29499 [BZ #17912]
29500 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29501 in terms of __O_DIRECTORY.
29502
29503 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29504
29505 * time/getdate.c: Include <stdbool.h>.
29506 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29507 call PTR_MANGLE.
29508 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29509 PTR_DEMANGLE.
29510
29511 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29512
29513 Add ersatz _Static_assert on older C hosts
29514 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29515 pre-C11 C platform that is not known to support _Static_assert.
29516
29517 2015-02-07 Richard Braun <rbraun@sceen.net>
29518
29519 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29520 sigstate.
29521 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29522
29523 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29524
29525 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29526 priority against unexistent AIO_PRIO_DELTA_MAX.
29527 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29528 instead of int.
29529 * misc/fchflags.c (fchflags): Likewise.
29530 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29531 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29532 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29533 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29534 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29535 Declare macros.
29536 [__USE_MISC] (chflags, fchflags): Declare functions.
29537 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29538 EINVAL when nfds is greater than FD_SETSIZE.
29539 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29540 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29541 45.
29542 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29543 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29544 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29545 MACH_RCV_TIMED_OUT.
29546 * hurd/hurd/signal.h (_hurd_self_sigstate,
29547 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29548 Explicit casts from void *.
29549 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29550 * abi-tags: Rename gnu-gnu os into gnu.
29551
29552 [BZ #4719]
29553 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29554 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29555 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29556 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29557 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29558 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29559
29560 [BZ #17944]
29561 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29562 duplicates ADDR->sun_path with sockaddr LEN limitation.
29563 * sysdeps/mach/hurd/connect.c: Include <string.h>
29564 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29565 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29566 * sysdeps/mach/hurd/sendto.c: Likewise.
29567 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29568 implementing it by hand.
29569
29570 2015-02-06 Roland McGrath <roland@hack.frob.com>
29571
29572 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29573 Use sfi_breg on ldr.
29574 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29575 Likewise.
29576
29577 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29578 it's defined.
29579 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29580 Test SIGSETXID only if it's defined.
29581
29582 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29583
29584 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29585 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29586
29587 * nptl/tst-align2.c: Moved ...
29588 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29589 * nptl/Makefile (tests): Remove tst-align2.
29590 * sysdeps/unix/sysv/linux/Makefile
29591 [$(subdir) = nptl] (tests): Add tst-align-clone.
29592 * nptl/tst-getpid1.c: Moved ...
29593 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29594 * nptl/tst-getpid2.c: Moved ...
29595 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29596 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29597 * sysdeps/unix/sysv/linux/Makefile
29598 [$(subdir) = nptl] (tests): ... here.
29599 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29600 * sysdeps/unix/sysv/linux/Makefile
29601 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29602
29603 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29604 Drop trailing \n from perror argument. Use return rather than exit.
29605
29606 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29607 on [SA_SIGINFO].
29608 * nptl/tst-cancel21.c (do_test): Likewise.
29609 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29610 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29611 [!SA_SIGINFO]: Make it a stub test.
29612
29613 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29614 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29615
29616 * posix/tst-getlogin.c: Move to ...
29617 * login/tst-getlogin.c: ... here.
29618 * posix/Makefile (tests): Move tst-getlogin to ...
29619 * login/Makefile (tests): ... here.
29620
29621 * libio/tst-atime.c (do_test): Move local variables SV and E
29622 inside [ST_NOATIME] conditional.
29623
29624 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29625
29626 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29627
29628 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29629 (wait_code): New function replaces macro.
29630 Call nanosleep rather than syscall.
29631
29632 * nptl/pt-system.c: Rewritten. Put everything under
29633 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29634 Use IFUNC to redirect when possible.
29635
29636 * nptl/pt-longjmp.c: Rewritten. Put everything under
29637 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29638 Use IFUNC to redirect when possible.
29639
29640 * nptl/pt-fork.c: Rewritten. Put everything under
29641 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29642 Use IFUNC to redirect when possible.
29643 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29644
29645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29646 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29647 unconditionally nowadays. This included the only reference to
29648 __vdso_clock_gettime that appears outside libc proper.
29649 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29650 Remove version set (containing only __vdso_clock_gettime).
29651 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29652 Add attribute_hidden.
29653 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29654 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29655 libc_hidden_data_def.
29656 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29657 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29658
29659 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29660 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29661 setrpcent, and getrpcport to ...
29662 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29663 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29664 getrpcbynumber_r, and getrpcent_r to ...
29665 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29666 * inet/getrpcbyname.c: Moved ...
29667 * sunrpc/getrpcbyname.c: ... here.
29668 * inet/getrpcbyname_r.c: Moved ...
29669 * sunrpc/getrpcbyname_r.c: ... here.
29670 * inet/getrpcbynumber.c: Moved ...
29671 * sunrpc/getrpcbynumber.c: ... here.
29672 * inet/getrpcbynumber_r.c: Moved ...
29673 * sunrpc/getrpcbynumber_r.c: ... here.
29674 * inet/getrpcent.c: Moved ...
29675 * sunrpc/getrpcent.c: ... here.
29676 * inet/getrpcent_r.c: Moved ...
29677 * sunrpc/getrpcent_r.c: ... here.
29678 * inet/Makefile (routines): Move those to ...
29679 * sunrpc/Makefile (routines): ... here.
29680 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29681 the $(subdirs) list.
29682 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29683 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29684 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29685 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29686
29687 * elf/Makefile (routines): Include $(all-dl-routines), not just
29688 $(dl-routines).
29689 (rtld-routines): Likewise. Use = rather than :=.
29690 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29691 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29692 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29693 * sysdeps/arm/Makefile: Likewise.
29694 * sysdeps/i386/Makefile: Likewise.
29695 * sysdeps/x86_64/Makefile: Likewise.
29696 * sysdeps/hppa/Makefile [$(subdir) = elf]
29697 (sysdep_routines, sysdep-rtld-routines): Don't add
29698 $(sysdep-dl-routines) to these.
29699 * sysdeps/ia64/Makefile: Likewise.
29700 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29701 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29702 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29703 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29704 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29705 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29706 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29707 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29708 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29709 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29710 these; sysdep-dl-routines alone is enough.
29711
29712 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29713
29714 [BZ #17932]
29715 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29716 where multiplication results in zero and third argument is finite
29717 and nonzero.
29718 * math/auto-libm-test-in: Add more tests of fma.
29719 * math/auto-libm-test-out: Regenerated.
29720
29721 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29722 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29723 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29724 (_FP_CMP_EQ): Likewise.
29725 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29726
29727 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29728 extra argument CHECK_NAN. Redefine as wrapper around
29729 _FP_EXTEND_CNAN.
29730
29731 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29732
29733 * version.h (RELEASE): Set to "stable".
29734 (VERSION): Set to "2.21"
29735 * include/features.h (__GLIBC_MINOR__): Set to 21.
29736
29737 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29738
29739 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29740 Paul Eggert <eggert@cs.ucla.edu>
29741
29742 [BZ #16618]
29743 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29744 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29745 size in bytes. Store needed elements in wpmax. Use needed size
29746 in bytes for extend_alloca.
29747
29748 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29749
29750 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29751 binutls 2.25, and texinfo 5.2.
29752 * INSTALL: Regenerate.
29753 * sysdeps/nios2/configure: Regenerate.
29754 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29755 * manual/contrib.texi: Update.
29756 * po/be.po: Update.
29757 * po/bg.po: Update.
29758 * po/ca.po: Update.
29759 * po/cs.po: Update.
29760 * po/da.po: Update.
29761 * po/de.po: Update.
29762 * po/el.po: Update.
29763 * po/eo.po: Update.
29764 * po/es.po: Update.
29765 * po/fi.po: Update.
29766 * po/fr.po: Update.
29767 * po/gl.po: Update.
29768 * po/hr.po: Update.
29769 * po/hu.po: Update.
29770 * po/ia.po: Update.
29771 * po/id.po: Update.
29772 * po/it.po: Update.
29773 * po/ja.po: Update.
29774 * po/ko.po: Update.
29775 * po/lt.po: Update.
29776 * po/nb.po: Update.
29777 * po/nl.po: Update.
29778 * po/pl.po: Update.
29779 * po/pt_BR.po: Update.
29780 * po/ru.po: Update.
29781 * po/rw.po: Update.
29782 * po/sk.po: Update.
29783 * po/sl.po: Update.
29784 * po/sv.po: Update.
29785 * po/tr.po: Update.
29786 * po/uk.po: Update.
29787 * po/vi.po: Update.
29788 * po/zh_CN.po: Update.
29789 * po/zh_TW.po: Update.
29790
29791 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29792 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29793 * sysdeps/hppa/dl-irel.h: Remove #warning.
29794 * sysdeps/hppa/entry.h: Provide prototype for
29795 __canonicalize_funcptr_for_compare and cast argument.
29796 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29797 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29798 * sysdeps/hppa/sotruss-lib.c: New file.
29799 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29800 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29801 (atomic_compare_and_exchange_bool_acq): Likewise.
29802 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29803 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29804
29805 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29806 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29807 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29808
29809 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29810
29811 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29812 called function in non-PIC case.
29813
29814 2015-01-31 David S. Miller <davem@davemloft.net>
29815
29816 * sysdeps/sparc/sparc32/bits/atomic.h
29817 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29818 unlock not after it.
29819 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29820 volatile register usage warnings from the compiler.
29821
29822 * sysdeps/sparc/nptl/sem_init.c: Delete.
29823 * sysdeps/sparc/nptl/sem_post.c: Delete.
29824 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29825 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29826 * sysdeps/sparc/sparc32/sem_init.c: New file.
29827 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29828 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29829 padding explicitly initialized.
29830 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29831 padding for in-semaphore spinlock.
29832 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29833 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29834 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29835 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29836 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29837 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29838 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29839 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29840 version.
29841 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29842 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29843
29844 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29845
29846 [BZ #17801]
29847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29848 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29849 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29850 New.
29851 (index_AVX_Fast_Unaligned_Load): Likewise.
29852 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29853 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29854 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29855 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29856 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29857 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29858 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29859 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29860 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29861
29862 2015-01-29 Andreas Schwab <schwab@suse.de>
29863
29864 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29865
29866 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29867
29868 [BZ #17892]
29869 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29870
29871 2015-01-28 Martin Sebor <msebor@redhat.com>
29872
29873 * math/README.libm-test: Clarify. Add "How to read the test output."
29874
29875 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29876
29877 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29878 Define to 0.
29879
29880 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29881
29882 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29883 (__HAVE_64B_ATOMICS): Define to 0.
29884
29885 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29886
29887 [BZ #17885]
29888 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29889 value to set as new flag.
29890
29891 [BZ #16576]
29892 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29893 and use _ARCH_PPCSQ instead.
29894 (__ieee754_sqrt): Likewise.
29895 (__ieee754_sqrtf): Likewise.
29896 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29897 _ARCH_PPCSQ is defined.
29898 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29899 fsqrt instruction.
29900 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29901 _ARCH_PPCSQ is defined.
29902 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29903 fsqrts instruction.
29904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29905
29906 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29907
29908 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29909 bug (GCC BZ #64739).
29910
29911 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29912
29913 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29914 Mark _retval as used.
29915 (lll_futex_wake_unlock): Likewise.
29916 (lll_futex_timed_wait_requeue_pi): Likewise.
29917
29918 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29919 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29920 register variables.
29921
29922 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29923 libm_hidden_def.
29924
29925 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29926 (__bswap_64): Mark as __always_inline.
29927
29928 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29929
29930 [BZ #15378]
29931 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29932 when none of the search directories exist.
29933
29934 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29935
29936 [BZ #17869]
29937 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29938 power8 in .machine directive.
29939
29940 [BZ #17868]
29941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29942 set dependency from opd value.
29943
29944 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29945
29946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29947 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29948 architecture.
29949
29950 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29951
29952 [BZ #17870]
29953 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29954 with uint64_t.
29955 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29956 (uint64_t) 1.
29957 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29958 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29959 Replace 1UL with (uint64_t) 1.
29960 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29961 int with uint64_t.
29962
29963 2015-01-23 Roland McGrath <roland@hack.frob.com>
29964
29965 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29966 (if_freenameindex): Likewise.
29967
29968 * resource/getrlimit64.c: Add missing libc_hidden_def.
29969
29970 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29971
29972 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29973 __label__.
29974 (_FP_FMA): Likewise.
29975 (_FP_TO_INT_ROUND): Likewise.
29976 (_FP_FROM_INT): Likewise.
29977
29978 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29979
29980 [BZ #16418]
29981 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29982 Make code racy and cancel safe.
29983
29984 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29985
29986 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29987 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29988 attribution.
29989
29990 * pwd/tst-getpw.c: Rewrite.
29991
29992 [BZ #17702]
29993 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29994 (modules-names): Add moddummy1 and moddummy2.
29995 ($(objpfx)tst-rec-dlopen): Define.
29996 * dlfcn/moddummy1.c: New file.
29997 * dlfcn/moddummy2.c: New file.
29998 * dlfcn/tst-rec-dlopen.c: New file.
29999 * elf/dl-cache.c (_dl_load_cache_lookup):
30000 Return char*. Copy result with alloca/strcpy/strdup.
30001 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30002 returns char*. Free cached. If not saving realname
30003 free cached.
30004 * elf/dl-open.c (dl_open_worker): Do not assert that
30005 _r_debug->r_state is RT_CONSISTENT.
30006 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30007 returns char*.
30008
30009 2015-01-21 Torvald Riegel <triegel@redhat.com>
30010 Carlos O'Donell <carlos@redhat.com>
30011
30012 [BZ #12674]
30013 * nptl/sem_waitcommon.c: New file.
30014 * nptl/sem_wait.c: Include sem_waitcommon.c.
30015 (__sem_wait_cleanup, do_futex_wait): Remove.
30016 (__new_sem_wait): Adapt.
30017 (__new_sem_trywait): New function.
30018 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30019 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30020 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30021 (sem_timedwait): Adapt.
30022 * nptl/sem_post.c (__new_sem_post): Adapt.
30023 (futex_wake): New function.
30024 (__old_sem_post): Add release MO fence.
30025 * nptl/sem_open.c (sem_open): Adapt.
30026 * nptl/sem_init.c (__new_sem_init): Adapt.
30027 (futex_private_if_supported): New function.
30028 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30029 (__old_sem_getvalue): Add using previous code.
30030 * sysdeps/nptl/internaltypes.h: Adapt.
30031 * nptl/tst-sem13.c (do_test): Adapt.
30032 * nptl/tst-sem11.c (main): Adapt.
30033 * nptl/sem_trywait.c: Remove.
30034 * nptl/DESIGN-sem.txt: Remove.
30035 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30036 (gen-as-const-headers): Remove structsem.sym.
30037 * nptl/structsem.sym: Remove.
30038 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30039 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30040 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30041 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30042 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30043 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30044 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30045 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30046 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30047 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30048 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30049 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30050 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30051 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30052 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30053 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30054 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30055 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30056 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30057 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30058 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30059 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30060
30061 2015-01-20 Carlos O'Donell <carlos@redhat.com>
30062
30063 * INSTALL: Regenerated.
30064
30065 * po/libc.pot: Regenerated.
30066
30067 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
30068 Sandra Loosemore <sandra@codesourcery.com>
30069 Andrew Jenner <andrew@codesourcery.com>
30070 Joseph Myers <joseph@codesourcery.com>
30071 Nathan Sidwell <nathan@codesourcery.com>
30072
30073 * NEWS: Mention new Nios II port.
30074 * sysdeps/nios2/Implies: New file.
30075 * sysdeps/nios2/Makefile: New file.
30076 * sysdeps/nios2/Subdirs: New file.
30077 * sysdeps/nios2/Versions: New file.
30078 * sysdeps/nios2/__longjmp.S: New file.
30079 * sysdeps/nios2/abort-instr.h: New file.
30080 * sysdeps/nios2/backtrace.c: New file.
30081 * sysdeps/nios2/bits/endian.h: New file.
30082 * sysdeps/nios2/bits/fenv.h: New file.
30083 * sysdeps/nios2/bits/link.h: New file.
30084 * sysdeps/nios2/bits/setjmp.h: New file.
30085 * sysdeps/nios2/bsd-_setjmp.S: New file.
30086 * sysdeps/nios2/bsd-setjmp.S: New file.
30087 * sysdeps/nios2/configure: New generated file.
30088 * sysdeps/nios2/configure.ac: New file.
30089 * sysdeps/nios2/crti.S: New file.
30090 * sysdeps/nios2/crtn.S: New file.
30091 * sysdeps/nios2/dl-init.c: New file.
30092 * sysdeps/nios2/dl-machine.h: New file.
30093 * sysdeps/nios2/dl-sysdep.h: New file.
30094 * sysdeps/nios2/dl-tls.h: New file.
30095 * sysdeps/nios2/dl-trampoline.S: New file.
30096 * sysdeps/nios2/gccframe.h: New file.
30097 * sysdeps/nios2/gmp-mparam.h: New file.
30098 * sysdeps/nios2/jmpbuf-offsets.h: New file.
30099 * sysdeps/nios2/jmpbuf-unwind.h: New file.
30100 * sysdeps/nios2/ldsodefs.h: New file.
30101 * sysdeps/nios2/libc-tls.c: New file.
30102 * sysdeps/nios2/libm-test-ulps: New file.
30103 * sysdeps/nios2/machine-gmon.h: New file.
30104 * sysdeps/nios2/math-tests.h: New file.
30105 * sysdeps/nios2/math_private.h: New file.
30106 * sysdeps/nios2/memusage.h: New file.
30107 * sysdeps/nios2/nptl/Makefile: New file.
30108 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30109 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30110 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30111 * sysdeps/nios2/nptl/pthreaddef.h: New file.
30112 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30113 * sysdeps/nios2/nptl/tls.h: New file.
30114 * sysdeps/nios2/preconfigure: New file.
30115 * sysdeps/nios2/s_fma.c: New file.
30116 * sysdeps/nios2/s_fmaf.c: New file.
30117 * sysdeps/nios2/setjmp.S: New file.
30118 * sysdeps/nios2/sfp-machine.h: New file.
30119 * sysdeps/nios2/sotruss-lib.c: New file.
30120 * sysdeps/nios2/stackguard-macros.h: New file.
30121 * sysdeps/nios2/stackinfo.h: New file.
30122 * sysdeps/nios2/start.S: New file.
30123 * sysdeps/nios2/sysdep.h: New file.
30124 * sysdeps/nios2/tls-macros.h: New file.
30125 * sysdeps/nios2/tst-audit.h: New file.
30126 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30127 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30128 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30129 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30130 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30131 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30132 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30133 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30134 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30135 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30136 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30137 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30138 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30139 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30140 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30141 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30142 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30143 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30144 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30145 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30146 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30147 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30148 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30149 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30150 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30151 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30152 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30153 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30154 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30155 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30156 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30157 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30158 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30160 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30161 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30162 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30163 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30164 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30165 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30166 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30167 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30168 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30169 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30170
30171 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30172
30173 [BZ #17844]
30174 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30175 (getutent): Use weak_alias in non SHARED case
30176 and default_symbol_version in SHARED case.
30177 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30178 (getutent_r, pututline): Likewise.
30179 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30180 (getutid): Likewise.
30181 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30182 (getutid_r): Likewise.
30183 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30184 (getutline): Likewise.
30185 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30186 (getutline_r): Likewise.
30187 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30188 (updwtmp): Likewise.
30189
30190 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30191
30192 [BZ #17848]
30193 * sysdeps/s390/s390-32/memcmp.S
30194 (memcmp_g5): Rename to __memcmp_g5.
30195 * sysdeps/s390/s390-32/memcpy.S
30196 (memcpy_g5): Rename to __memcpy_g5.
30197 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30198 (memcpy_mvcle) Rename to __memcpy_mvcle.
30199 * sysdeps/s390/s390-32/memset.S
30200 (memset_g5): Rename to __memset_g5.
30201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30202 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30203 and use prefixed functions.
30204 * sysdeps/s390/s390-32/multiarch/memcmp.S
30205 (memcmp_z196): Rename to __memcmp_z196.
30206 (memcmp_z10): Rename to __memcmp_z10.
30207 (memcmp): Set alias to __memcmp_g5.
30208 (bcmp): Set alias to __memcmp_g5.
30209 * sysdeps/s390/s390-32/multiarch/memcpy.S
30210 (memcpy_z196): Rename to __memcpy_z196.
30211 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30212 (memcpy_z10): Rename to __memcpy_z10.
30213 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30214 (memcpy): Set alias to __memcpy_g5.
30215 * sysdeps/s390/s390-32/multiarch/memset.S
30216 (memset_z196): Rename to __memset_z196.
30217 Jump to __memset_mvcle instead of memset_mvcle.
30218 (memset_z10): Rename to __memset_z10.
30219 Jump to __memset_mvcle instead of memset_mvcle.
30220 (memset_mvcle) Rename to __memset_mvcle.
30221 (memset): Set alias to __memset_g5.
30222 * sysdeps/s390/s390-64/memcmp.S
30223 (memcmp_z900): Rename to __memcmp_z900.
30224 * sysdeps/s390/s390-64/memcpy.S
30225 (memcpy_z900): Rename to __memcpy_z900.
30226 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30227 (memcpy_mvcle) Rename to __memcpy_mvcle.
30228 * sysdeps/s390/s390-64/memset.S
30229 (memset_z900): Rename to __memset_z900.
30230 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30231 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30232 and use prefixed functions.
30233 * sysdeps/s390/s390-64/multiarch/memcmp.S
30234 (memcmp_z196): Rename to __memcmp_z196.
30235 (memcmp_z10): Rename to __memcmp_z10.
30236 (memcmp): Set alias to __memcmp_z900.
30237 (bcmp): Set alias to __memcmp_z900.
30238 * sysdeps/s390/s390-64/multiarch/memcpy.S
30239 (memcpy_z196): Rename to __memcpy_z196.
30240 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30241 (memcpy_z10): Rename to __memcpy_z10.
30242 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30243 (memcpy): Set alias to __memcpy_z900.
30244 * sysdeps/s390/s390-64/multiarch/memset.S
30245 (memset_z196): Rename to __memset_z196.
30246 Jump to __memset_mvcle instead of memset_mvcle.
30247 (memset_z10): Rename to __memset_z10.
30248 Jump to __memset_mvcle instead of memset_mvcle.
30249 (memset_mvcle) Rename to __memset_mvcle.
30250 (memset): Set alias to __memset_z900.
30251
30252 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30253
30254 [BZ #17748]
30255 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30256 __fesetenv instead of fesetenv.
30257
30258 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30259
30260 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30261 macro.
30262
30263 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30264
30265 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30266 regression on LE.
30267
30268 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30269 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30270 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30271 strncmp-power8 object.
30272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30273 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30274 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30275 * NEWS: Update.
30276
30277 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30278 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30279
30280 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30281 trailing byte check.
30282
30283 2015-01-13 David S. Miller <davem@davemloft.net>
30284
30285 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30286
30287 2015-01-13 Roland McGrath <roland@hack.frob.com>
30288
30289 * login/logout.c (logout): Use memset rather than bzero.
30290 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30291 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30292 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30293 (_gethtbyaddr): Likewise.
30294 * locale/programs/simple-hash.c (bcopy): Macro removed.
30295
30296 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30297
30298 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30299 Add strcmp-power8 object.
30300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30301 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30302 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30303 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30304 __strcmp_power8 implementation.
30305 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30306 * NEWS: Update.
30307
30308 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30309 Add strncpy-power8 and stpncpy-power8 objects.
30310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30311 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30312 implementations.
30313 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30315 __stpncpy_power8 implementation.
30316 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30317 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30318 __strncpy_power8 implementation.
30319 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30320 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30321 * NEWS: Update.
30322
30323 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30324 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30325 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30326
30327 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30328 strncat-power8 object.
30329 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30330 __strcat_power8 implementation.
30331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30332 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30333 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30334 optimized strcat for power8.
30335
30336 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30337 strcpy-power8 and stpcpy-power8 objects.
30338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30339 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30340 implementations.
30341 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30342 multiarch stpcpy implementation for POWER8.
30343 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30344 multiarch strcpy implementation for POWER8.
30345 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30346 __strcpy_power8 function.
30347 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30348 stpcpy for POWER8.
30349 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30350 strcpy for POWER8.
30351 * NEWS: Update.
30352
30353 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30354
30355 [BZ #16009]
30356 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30357 weights and rules. Use do_xfrm_cached if data fits in cache,
30358 do_xfrm otherwise. Moved former main loop to...
30359 * (do_xfrm_cached): New function.
30360 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30361 find_idx, find_position and stack_push.
30362 * (find_idx): New function.
30363 * (find_position): Likewise.
30364 * localedata/sort-test.sh: Added test run for do_xfrm.
30365 * localedata/xfrm-test.c (main): Added command line option
30366 -nocache to run the test with strings that are too large for
30367 the STRXFRM cache.
30368
30369 2015-01-13 Torvald Riegel <triegel@redhat.com>
30370
30371 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30372 variable to lll_futex_wake call, not the value itself.
30373
30374 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30375
30376 [BZ #17803]
30377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30378 twom64. Adjust value to 0x1p-64L.
30379 (__scalblnl): Only return standard underflowing result for K <=
30380 -64 not K <= -63; adjust exponent for underflowing result by 64
30381 not 63.
30382 * math/libm-test.inc (scalbn_test_data): Add more tests.
30383 (scalbln_test_data): Likewise.
30384
30385 [BZ #17834]
30386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30387 0x1p63L.
30388 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30389 not HX.
30390 * math/libm-test.inc (scalbn_test_data): Add more tests.
30391 (scalbln_test_data): Likewise.
30392
30393 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30394 Stefani Seibold <stefani@seibold.net>
30395
30396 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30397 (sysdep_routines): Add dl-vdso here, ...
30398 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30399 (sysdep_routines): ... not here.
30400 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30401 fallback when vDSO is not presented.
30402 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30403 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30404 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30405 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30406 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30407 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30408 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30410 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30412 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30413 fallback configurable symbol when vDSO is not available.
30414 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30415 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30416 be able to redefine fallback symbol when vDSO is not available.
30417 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30418 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30419
30420 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30421
30422 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30423 (TLS_INIT_TP): Add tm_capable initialization.
30424 (TLS_DEFINE_INIT_TP): Likewise.
30425 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30426 TCB.
30427 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30428 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30429 calculation.
30430 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30431 transactoion is lock elision is built and TCB tm_capable is set.
30432 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30434 (INTERNAL_SYSCALL_NCS): Likewise.
30435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30436 (INTERNAL_SYSCALL_NCS): Likewise.
30437 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30438
30439 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30440 for powerpc.
30441 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30442 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30443 and remove it for 32 bits case.
30444 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30446 initialization.
30447 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30448 Disable lock elision with rdlocks if elision is not available.
30449
30450 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30451 (sysdep_routines): Add lock elision objects.
30452 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30453 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30454 [pthread_mutex_t] (__elision): Add field.
30455 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30456 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30457 elision definitions for powerpc.
30458 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30459 implementation of lock elision for powerpc.
30460 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30461 implementation of timed lock elision for powerpc.
30462 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30463 implementation of trylock with lock elision for powerpc.
30464 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30465 implementaion of unlock for lock elision for powerpc.
30466 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30467 automatic enable lock elision for mutexes.
30468 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30469 transaction execution definitions for powerpc.
30470 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30471 definitions.
30472 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30473 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30474 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30475 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30476 * NEWS: Update.
30477
30478 2015-01-09 Roland McGrath <roland@hack.frob.com>
30479
30480 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30481 for #include of <shm-directory.h>.
30482
30483 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30484
30485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30486 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30487
30488 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30489
30490 [BZ #17791]
30491 * NEWS: Mention bug fix.
30492 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30493 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30494 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30495
30496 2015-01-09 Torvald Riegel <triegel@redhat.com>
30497
30498 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30499
30500 2015-01-09 Torvald Riegel <triegel@redhat.com>
30501
30502 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30503
30504 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30505
30506 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30507 pointer and cast to uintptr_t.
30508
30509 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30510
30511 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30512 removed.
30513 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30514
30515 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30516
30517 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30518 of 0.
30519
30520 2015-01-08 Roland McGrath <roland@hack.frob.com>
30521
30522 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30523 <nptl/pthreadP.h> instead.
30524 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30525
30526 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30527 already defined.
30528 [__SIGRTMIN] (init): Function removed.
30529 [__SIGRTMIN] (initialized): Variable removed.
30530 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30531 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30532 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30533 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30534 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30535 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30536 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30537 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30538 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30539 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30540 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30541 * sysdeps/nptl/allocrtsig.c: New file.
30542 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30543 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30544 * sysdeps/generic/testrtsig.h: File removed.
30545
30546 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30547 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30548
30549 * nptl/nptl-init.c (pthread_functions): Conditionalize
30550 .ptr__nptl_setxid initialization on [SIGSETXID].
30551
30552 * sysdeps/nptl/sys/procfs.h: New file.
30553 * nptl_db/Makefile (headers): Add it.
30554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30555
30556 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30557 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30558 * nptl/pthread_attr_setaffinity.c: Include it.
30559 * nptl/pthread_setattr_default_np.c: Likewise.
30560 * nptl/check-cpuset.h: New file.
30561
30562 2015-01-08 Richard Henderson <rth@redhat.com>
30563
30564 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30565 (CFLAGS-tst-execstack-prog.c): Likewise.
30566 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30567
30568 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30569 Sandra Loosemore <sandra@codesourcery.com>
30570 Andrew Jenner <andrew@codesourcery.com>
30571 Joseph Myers <joseph@codesourcery.com>
30572 Nathan Sidwell <nathan@codesourcery.com>
30573
30574 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30575 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30576 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30577 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30578 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30579 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30580 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30581 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30582 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30583 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30584 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30585 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30586 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30587 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30588 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30589 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30590 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30591
30592 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30593
30594 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30595 timespec struct member in syscall macro.
30596 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30597 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30598 first timeval struct member in syscall macro.
30599 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30600
30601 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30602
30603 [BZ #17748]
30604 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30605 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30606 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30607 __feupdateenv and define as weak alias of __feupdateenv. Use
30608 libm_hidden_weak.
30609 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30610 libm_hidden_def.
30611 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30612 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30613 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30614 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30615 libm_hidden_def.
30616 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30617 __feupdateenv and define as weak alias of __feupdateenv. Use
30618 libm_hidden_weak.
30619 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30620 libm_hidden_def.
30621 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30622 __feupdateenv and define as weak alias of __feupdateenv. Use
30623 libm_hidden_weak.
30624 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30625 libm_hidden_def.
30626 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30627 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30628 (__feupdateenv): Likewise.
30629 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30630 __feupdateenv and define as weak alias of __feupdateenv. Use
30631 libm_hidden_weak.
30632 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30633 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30634 libm_hidden_def.
30635 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30636 function.
30637 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30638 libm_hidden_def.
30639 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30640 __feupdateenv instead of feupdateenv.
30641 (default_libc_feupdateenv_test): Likewise.
30642 (libc_feresetround_ctx): Likewise.
30643
30644 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30645
30646 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30647 prototype.
30648
30649 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30650
30651 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30652 COLL_SYM in a couple of places to avoid uninitialized variable
30653 wanings on tilegx gcc 4.8.2.
30654
30655 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30656
30657 * sysdeps/aarch64/strcpy.S: New file.
30658 * sysdeps/aarch64/stpcpy.S: New file.
30659 * NEWS: Updated.
30660
30661 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30662
30663 * sysdeps/aarch64/strrchr.S: New file.
30664 * NEWS: Updated.
30665
30666 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30667
30668 [BZ #17658]
30669 * stdlib/setenv.c: Fix memory leak when setting large,
30670 duplicate string.
30671
30672 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30673
30674 [BZ #17273]
30675 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30676 and tabs from buffer before parsing fstab entry.
30677 * misc/tst-mntent.c (main): Add test for mount entry with
30678 trailing spaces and tabs.
30679
30680 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30681
30682 [BZ #17748]
30683 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30684 * math/fesetround.c (fesetround): Rename to __fesetround and
30685 define as weak alias of __fesetround. Use libm_hidden_weak.
30686 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30687 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30688 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30689 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30690 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30691 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30692 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30693 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30694 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30695 __fesetround_inline.
30696 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30697 __fesetround_inline instead of __fesetround.
30698 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30699 __fesetround and define as weak alias of __fesetround. Use
30700 libm_hidden_weak. Call __fesetround_inline instead of
30701 __fesetround.
30702 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30703 __fesetround and define as weak alias of __fesetround. Use
30704 libm_hidden_weak.
30705 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30706 Likewise.
30707 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30708 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30709 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30710 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30711 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30712 __fesetround and define as weak alias of __fesetround. Use
30713 libm_hidden_weak.
30714 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30715 __fesetround instead of fesetround.
30716 (default_libc_feholdexcept_setround): Likewise.
30717 (libc_feholdsetround_ctx): Likewise.
30718 (libc_feholdsetround_noex_ctx): Likewise.
30719
30720 [BZ #17748]
30721 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30722 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30723 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30724 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30725 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30726 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30727 define as weak alias of __fesetenv. Use libm_hidden_weak.
30728 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30729 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30730 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30731 define as weak alias of __fesetenv. Use libm_hidden_weak.
30732 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30733 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30734 define as weak alias of __fesetenv. Use libm_hidden_weak.
30735 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30736 libm_hidden_def.
30737 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30738 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30739 Likewise.
30740 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30741 define as weak alias of __fesetenv. Use libm_hidden_weak.
30742 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30743 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30744 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30745 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30746 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30747 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30748 __fesetenv instead of fesetenv.
30749 (libc_feresetround_noex_ctx): Likewise.
30750 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30751 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30752 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30753 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30754 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30755 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30756 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30757 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30758 (__feupdateenv): Likewise.
30759 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30760 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30761 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30762 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30763
30764 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30765
30766 [BZ #17806]
30767 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30768 addresses have been freed.
30769
30770 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30771
30772 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30773 and nservall.
30774
30775 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30776
30777 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30778 Clean up check_pf allocation pattern. addresses
30779
30780 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30781
30782 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30783 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30784 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30785 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30786 * nptl/pthread_join.c (pthread_join): Likewise.
30787 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30788 * sysdeps/posix/waitid.c (__waitid): Likewise.
30789 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30790 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30791 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30792 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30794 Likewise.
30795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30796 (__libc_pread64): Likewise.
30797 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30798 (__libc_pwrite): Likewise.
30799 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30800 (__libc_pwrite64): Likewsie.
30801 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30802 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30803 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30804 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30805 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30806 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30809 Likewise.
30810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30811 (__libc_pread64): Likewise.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30813 Likewise.
30814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30815 (__libc_pwrite64): Likewise.
30816 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30817 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30818 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30819 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30820 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30821 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30822 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30823 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30824 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30825 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30826 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30827 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30828 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30829 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30830 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30831 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30832 Likewise.
30833
30834 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30835
30836 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30837 (CFLAGS-test-double.c): Likewise.
30838 (CFLAGS-test-ldouble.c): Likewise.
30839 (CPPFLAGS-test-ifloat.c): Likewise.
30840 (CPPFLAGS-test-idouble.c): Likewise.
30841 (CPPFLAGS-test-ildoubl.c): Likewise.
30842 (CFLAGS-test-test-fenv.c): Remove variable.
30843 (CFLAGS-test-misc.c): Likewise.
30844
30845 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30846
30847 [BZ #17797]
30848 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30849 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30850 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30851 CLOCKS_PER_SEC == 1000000.
30852 * time/clocktest.c (main): Replace %ld with %jd and cast to
30853 intmax_t.
30854
30855 2015-01-05 Roland McGrath <roland@hack.frob.com>
30856
30857 * sysdeps/generic/unwind-resume.h: New file.
30858 * sysdeps/gnu/unwind-resume.c: Include it.
30859 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30860 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30861 argument list.
30862 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30863 global rather than static.
30864 (_Unwind_Resume): Update user.
30865 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30866 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30867 rather than static. Add __attribute__ ((cold)).
30868 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30869 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30870 * sysdeps/arm/arm-unwind-resume.S: New file.
30871 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30872 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30873 * sysdeps/arm/Makefile [$(subdir) = csu]
30874 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30875 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30876 Add rt-arm-unwind-resume.
30877 [$(subdir) = nptl]
30878 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30879 Add pt-arm-unwind-resume.
30880 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30881 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30882
30883 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30884
30885 [BZ #17748]
30886 * include/fenv.h (__feholdexcept): Declare. Use
30887 libm_hidden_proto.
30888 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30889 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30890 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30891 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30892 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30893 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30894 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30895 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30896 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30897 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30898 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30899 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30900 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30901 (feholdexcept): Likewise.
30902 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30903 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30904 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30905 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30906 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30907 __feholdexcept instead of feholdexcept.
30908 (default_libc_feholdexcept_setround): Likewise.
30909
30910 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30911
30912 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30913 to avoid using stl/str to align destination.
30914
30915 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30916
30917 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30918
30919 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30920
30921 [BZ #17796]
30922 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30923 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30924 Define as weak alias not strong alias.
30925
30926 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30927
30928 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30929 bltzal with addiupc.
30930 (RTLD_START): Ditto.
30931
30932 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30933
30934 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30935 for __vdso_* functions in declarations.
30936 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30937 definitions.
30938 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30939 INTERNAL_VSYSCALL): Use struct return types to check for error.
30940
30941 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30942 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30943 function with cast from llround().
30944 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30945 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30946 Define.
30947
30948 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30949
30950 [BZ #17793]
30951 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30952 Define as weak alias not strong alias.
30953
30954 [BZ #17635]
30955 * ctype/ctype-c99.c: New file. isblank implementation moved from
30956 ...
30957 * ctype/ctype-extn.c: ... here.
30958 (__isblank_l): Move to ...
30959 * ctype/ctype-c99_l.c: ... here. New file.
30960 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30961 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30962 Remove variable.
30963 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30964 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30965 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30966 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30967 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30968
30969 [BZ #17777]
30970 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30971 (posix_fadvise64): Define as weak alias not strong alias.
30972 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30973 (posix_fallocate64): Likewise.
30974 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30975 Remove variable.
30976 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30977 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30978 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30979 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30980 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30981
30982 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30983
30984 [BZ #16191]
30985 * NEWS: Mention bug fix.
30986 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30987 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30988 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30989 (HOST_STACK_END_ADDR): Likewise.
30990
30991 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30992
30993 [BZ #17748]
30994 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30995 * math/fegetround.c (fegetround): Rename to __fegetround and
30996 define as weak alias of __fegetround. Use libm_hidden_weak.
30997 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30998 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30999 * sysdeps/arm/fegetround.c (fegetround): Likewise.
31000 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31001 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31002 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31003 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31004 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31005 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31006 Undefine after rather than before function definition; use
31007 parentheses around function name in definition.
31008 (__fegetround): Also undefine macro after function definition.
31009 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31010 __fegetround and define as weak alias of __fegetround. Use
31011 libm_hidden_weak. Do not undefine as macro.
31012 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31013 Likewise.
31014 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31015 __fegetround and define as weak alias of __fegetround. Use
31016 libm_hidden_weak.
31017 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31018 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31019 * sysdeps/tile/math_private.h (__fegetround): New inline function.
31020 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31021 __fegetround and define as weak alias of __fegetround. Use
31022 libm_hidden_weak.
31023 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31024 __fegetround instead of fegetround.
31025
31026 [BZ #17782]
31027 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31028 Condition macro definition on [__USE_MISC].
31029
31030 [BZ #17781]
31031 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31032 (struct sigaction): Change type of sa_flags field to int.
31033
31034 [BZ #17780]
31035 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31036 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31037 __glibc_reserved0.
31038
31039 * nptl/version.c (banner): Use single year in copyright notice.
31040
31041 * NEWS: Update copyright dates.
31042 * catgets/gencat.c (print_version): Likewise.
31043 * csu/version.c (banner): Likewise.
31044 * debug/catchsegv.sh: Likewise.
31045 * debug/pcprofiledump.c (print_version): Likewise.
31046 * debug/xtrace.sh (do_version): Likewise.
31047 * elf/ldconfig.c (print_version): Likewise.
31048 * elf/ldd.bash.in: Likewise.
31049 * elf/pldd.c (print_version): Likewise.
31050 * elf/sotruss.sh: Likewise.
31051 * elf/sprof.c (print_version): Likewise.
31052 * iconv/iconv_prog.c (print_version): Likewise.
31053 * iconv/iconvconfig.c (print_version): Likewise.
31054 * locale/programs/locale.c (print_version): Likewise.
31055 * locale/programs/localedef.c (print_version): Likewise.
31056 * login/programs/pt_chown.c (print_version): Likewise.
31057 * malloc/memusage.sh (do_version): Likewise.
31058 * malloc/memusagestat.c (print_version): Likewise.
31059 * malloc/mtrace.pl: Likewise.
31060 * manual/libc.texinfo: Likewise.
31061 * nptl/version.c (banner): Likewise.
31062 * nscd/nscd.c (print_version): Likewise.
31063 * nss/getent.c (print_version): Likewise.
31064 * nss/makedb.c (print_version): Likewise.
31065 * posix/getconf.c (main): Likewise.
31066 * scripts/test-installation.pl: Likewise.
31067 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31068
31069 2015-01-02 Will Newton <will.newton@linaro.org>
31070
31071 * sysdeps/arm/armv7/configure: Removed.
31072 * sysdeps/arm/armv7/configure.ac: Likewise.
31073
31074 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31075
31076 * All files with FSF copyright notices: Update copyright dates
31077 using scripts/update-copyrights.
31078 * intl/plural.c: Regenerated.
31079 * locale/programs/charmap-kw.h: Likewise.
31080 * locale/programs/locfile-kw.h: Likewise.
31081
31082 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31083
31084 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31085
31086 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31087
31088 [BZ #17748]
31089 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31090 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31091 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31092 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31093 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31094 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31095 define as weak alias of __fegetenv. Use libm_hidden_weak.
31096 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31097 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31098 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31099 define as weak alias of __fegetenv. Use libm_hidden_weak.
31100 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31101 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31102 define as weak alias of __fegetenv. Use libm_hidden_weak.
31103 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31104 libm_hidden_def.
31105 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31106 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31107 Likewise.
31108 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31109 define as weak alias of __fegetenv. Use libm_hidden_weak.
31110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31111 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31112 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31113 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31114 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31115 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31116 __fegetenv instead of fegetenv.
31117 (libc_feholdsetround_noex_ctx): Likewise.
31118
31119 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
31120
31121 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31122 (Elf_MIPS_ABIFlags_v0): New structure.
31123 (EF_MIPS_FP64): Define.
31124 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31125 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31126 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31127 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31128 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31129 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31130 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31131 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31132 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31133 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31134 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31135 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31136 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31137 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31138 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31139 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31140 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31141 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31142 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31143 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31144 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31145 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31146 field.
31147 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31148 EF_MIPS_FP64.
31149 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31150 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31151 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31152 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31153 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31154 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31155 * sysdeps/mips/tst-abi-interlink.c: Likewise.
31156 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31157 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31158 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31159 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31160 record the current FP ABI extension.
31161 (mips-mode-switch): Define to show if kernel headers support mode
31162 switching.
31163 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31164 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31165 supported SYSV ABI version to 3.
31166 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31167 feature.
31168
31169 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31171
31172 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31173 path.
31174 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31175
31176 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31177
31178 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31179 __fegetround and redefine to call __fegetround. Remove condition
31180 on [!__NO_MATH_INLINES].
31181 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31182 function.
31183 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31184 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31185 Remove macro.
31186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31187 instead of <fenv_libc.h>.
31188 (__llrintl): Call fegetround instead of __fegetround.
31189 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31190 instead of <fenv_libc.h>.
31191 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31192 (__lrintl): Call fegetround instead of __fegetround.
31193 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31194 instead of <fenv_libc.h>.
31195 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31196 (__rintl): Call fegetround instead of __fegetround.
31197
31198 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31199
31200 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31201 arrays.
31202
31203 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31204
31205 [BZ #17775]
31206 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31207 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31208 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31209
31210 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31211
31212 * sysdeps/i386/tls-macros.h: Include <features.h>.
31213 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31214 (TLS_IE): Likewise.
31215 (TLS_LD): Likewise.
31216 (TLS_GD): Likewise.
31217 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31218 define for GCC >= 5.0.
31219
31220 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31221
31222 * math/test-fenv.c (test_single_exception, set_single_exc,
31223 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31224 feexcp_mask_test, feenable_test, fe_single_test): Add
31225 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31226 case where they are not used.
31227 * math/libm-test.inc: Likewise.
31228 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31229 unused in the absence of FP rounding/exception support.
31230 * stdio-common/tst-printf-round.c: Likewise.
31231 * stdlib/tst-strtod-round.c: Likewise.
31232 * stdlib/tst-strtod-underflow.c: Likewise.
31233
31234 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31235
31236 [BZ #17723]
31237 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31238 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31239 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31240 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31241 libm_hidden_weak.
31242 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31243 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31244 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31245 libm_hidden_def.
31246 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31247 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31248 libm_hidden_weak.
31249 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31250 Likewise.
31251 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31252 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31253 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31254 libm_hidden_weak.
31255 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31256 libm_hidden_def.
31257 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31258 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31259 (__feraiseexcept): Likewise.
31260 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31261 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31262 libm_hidden_weak.
31263 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31264 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31265 libm_hidden_def.
31266 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31267 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31268 Use libm_hidden_def.
31269 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31270 libm_hidden_def.
31271 (feraiseexcept): Define as weak not strong alias. Use
31272 libm_hidden_weak.
31273 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31274 New inline function. Factored out of ...
31275 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31276 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31277 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31278 feraiseexcept.
31279 * math/w_acos.c (__acos): Likewise.
31280 * math/w_asin.c (__asin): Likewise.
31281 * math/w_ilogb.c (__ilogb): Likewise.
31282 * math/w_j0.c (y0): Likewise.
31283 * math/w_j1.c (y1): Likewise.
31284 * math/w_jn.c (yn): Likewise.
31285 * math/w_log.c (__log): Likewise.
31286 * math/w_log10.c (__log10): Likewise.
31287 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31288 * sysdeps/aarch64/fpu/math_private.h
31289 (libc_feupdateenv_test_aarch64): Likewise.
31290 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31291 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31292 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31293 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31294 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31295 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31296 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31297 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31298 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31299 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31300
31301 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 [BZ #17732]
31304 * io/test-utime.c (main): Replace %ld with %jd and cast to
31305 intmax_t.
31306 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31307 * nptl/tst-mutex5.c: Include <stdint.h>.
31308 (do_test): Replace %ld with %jd and cast to intmax_t.
31309 * posix/tst-regex.c (run_test): Likewise.
31310 (run_test_backwards): Likewise.
31311 * rt/tst-clock.c: Include <stdint.h>.
31312 (clock_test): Replace %ld with %jd and cast to intmax_t.
31313 * rt/tst-cpuclock1.c: Include <stdint.h>.
31314 (do_test): Replace %lu with %ju and cast to uintmax_t.
31315 * rt/tst-cpuclock2.c: Include <stdint.h>.
31316 (do_test): Replace %lu with %ju and cast to uintmax_t.
31317 * rt/tst-mqueue1.c: Include <stdint.h>.
31318 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31319 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31320 intmax_t.
31321 * rt/tst-mqueue4.c (do_test): Likewise.
31322 * rt/tst-timer4.c: Include <stdint.h>.
31323 (check_ts): Replace %ld with %jd and cast to intmax_t.
31324 (do_test): Likewise.
31325 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31326 and cast to intmax_t.
31327 * sysdeps/pthread/tst-timer.c (main): Likewise.
31328 * time/clocktest.c (main): Likewise.
31329 * time/tst-posixtz.c (do_test): Likewise.
31330 * timezone/tst-timezone.c (main): Likewise.
31331
31332 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31333 H.J. Lu <hongjiu.lu@intel.com>
31334
31335 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31336 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31337 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31338 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31339 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31340 version if bit_Fast_Unaligned_Load is set.
31341 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31343 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31345 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31346 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31348 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31349 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31350 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31351 to 4.
31352 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31353 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31354 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31355 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31356
31357 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31358
31359 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31360 instead of #if to avoid a Wundef warning.
31361 * stdlib/tst-limits.c (do_test): Likewise.
31362
31363 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31364 parallel other exception macros.
31365 (fegetenv): Convert from macro to extern inline so that it applies
31366 retroactively to inline functions already seen by the compiler.
31367 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31368
31369 * posix/Makefile (before-compile): Use $(objpfx) for
31370 posix-conf-vars-def.h.
31371
31372 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31373
31374 * posix/getconf.c (main): Use size_t for type of I.
31375 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31376 NSPEC.
31377
31378 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31379 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31380 * posix/posix-envs.def: Likewise.
31381 * sysdeps/posix/sysconf.c: Likewise.
31382 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31383 (specs): Remove array.
31384 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31385 array.
31386
31387 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31388 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31389 (__sysconf): Use CONF_IS_* macros.
31390
31391 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31392 ($(objpfx)posix-conf-vars-def.h): New target.
31393 * posix/posix-conf-vars.list: New file.
31394 * posix/posix-conf-vars.h: New file.
31395 * posix/confstr.c: Include posix-conf-vars.h.
31396 (confstr): Use CONF_IS_* macros.
31397 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31398 CONF_IS_* macros.
31399 * scripts/gen-posix-conf-vars.awk: New file.
31400
31401 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31402
31403 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31404 fegetround): Add no-op macros to avoid linknamespace issues.
31405
31406 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31407 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31408
31409 * sysdeps/unix/sysv/linux/tile/sysdep.h
31410 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31411 assembly-specific section to avoid a redefinition warning.
31412
31413 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31414 long before casting to pointer to avoid a cast warning.
31415
31416 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31417
31418 * sysdeps/tile/tilegx/Implies: New file.
31419
31420 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31421
31422 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31423
31424 2014-12-23 Florian Weimer <fweimer@redhat.com>
31425
31426 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31427
31428 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31429
31430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31431 not define.
31432 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31433 <kernel-features.h>.
31434 (__utimes) [__NR_utimes]: Make code unconditional.
31435 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31436 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31437 (__ASSUME_UTIMES): Do not undefine.
31438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31439 (__ASSUME_UTIMES): Likewise.
31440 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31441 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31442 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31443 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31444
31445 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31446
31447 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31448
31449 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31450
31451 [BZ #17747]
31452 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31453 alias to weak alias for j0l, y0l.
31454 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31455 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31456
31457 [BZ #17746]
31458 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31459 conversion.
31460
31461 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31462
31463 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31464 to zero if not already defined.
31465
31466 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31467
31468 [BZ #17724]
31469 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31470 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31471 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31472 (char *) casts added.
31473 * sysdeps/ieee754/k_standardf.c: New file.
31474 * sysdeps/ieee754/k_standardl.c: Likewise.
31475 * math/Makefile (libm-support): Remove k_standard.
31476 (libm-calls): Add k_standard.
31477
31478 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31479
31480 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31481 Optimize to avoid an unnecessary FPCR read.
31482
31483 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31484
31485 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31486 Optimize to reduce FPCR/FPSR accesses.
31487
31488 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31489
31490 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31491 Call libc_fetestexcept_aarch64.
31492
31493 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31494
31495 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31496 Call libc_fesetround_aarch64.
31497
31498 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31499
31500 [BZ #17733]
31501 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31502 (__bind): Do not define as weak alias.
31503 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31504 define.
31505 (__getsockname): Do not define as weak alias.
31506
31507 2014-12-22 Will Newton <will.newton@linaro.org>
31508
31509 * manual/install.texi: Document that we require bison 2.7
31510 or above.
31511 * INSTALL: Regenerate.
31512 * configure.ac: Use AC_CHECK_PROG_VER instead of
31513 AC_PATH_PROG when checking for bison and check for
31514 version 2.7 or above.
31515 * configure: Regenerate.
31516
31517 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31518
31519 [BZ #17745]
31520 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31521 * sysdeps/tile/ffsll.c (ffsll): To here.
31522
31523 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31524
31525 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31528 if not defined.
31529 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31530 definition.
31531 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31532 hidden ___tls_get_addr.
31533 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31534 hidden __tls_get_addr.
31535 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31536 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31537 Likewise.
31538
31539 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31540
31541 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31542 _dl_init call.
31543
31544 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31545
31546 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31547 from "call _dl_init@PLT".
31548 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31549
31550 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31551
31552 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31553 guarantees.
31554
31555 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31556
31557 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31558
31559 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31560
31561 [BZ #17744]
31562 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31563 strnlen.
31564
31565 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31566
31567 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31568 of multu on MIPSr6.
31569 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31570 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31571 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31572 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31573 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31574
31575 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31576
31577 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31578 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31579 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31580 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31581 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31582 mips32r6/mips64r6.
31583 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31584
31585 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31586
31587 * string/strncat.c (STRNCAT): Simplify implementation.
31588
31589 2014-12-19 David S. Miller <davem@davemloft.net>
31590
31591 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31592 access the quad as both a long double and as a series of 4 words.
31593
31594 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31595 link_map->l_info array access.
31596
31597 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31598
31599 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31600
31601 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31602 * math/atest-exp2.c (TIMEOUT): Likewise.
31603 * math/atest-sincos.c (TIMEOUT): Likewise.
31604
31605 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31606
31607 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31608 -Wno-error with -fno-builtin-lround.
31609
31610 2014-12-19 Torvald Riegel <triegel@redhat.com>
31611
31612 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31613 Contains futex constants and functions moved over from ...
31614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31615 <lowlevellock-futex.h>.
31616 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31617 (lll_timedwait_tid): Add comments and parentheses around macro
31618 arguments.
31619
31620 2014-12-19 Torvald Riegel <triegel@redhat.com>
31621
31622 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31623 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31624 (__lll_private_flag): Remove.
31625 (lll_futex_wait): Likewise.
31626 (lll_futex_timed_wait): Likewise.
31627 (lll_futex_wake): Likewise.
31628 (lll_futex_requeue): Likewise.
31629 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31630 (__lll_timedwait_tid): Spell out argument names.
31631 (lll_timedwait_tid): Add comments and parentheses around macro
31632 arguments.
31633 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31634 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31635
31636 2014-12-19 Torvald Riegel <triegel@redhat.com>
31637
31638 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31639 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31640 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31641 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31642 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31643 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31644 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31645 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31646 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31647 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31649 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31650 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31651 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31652 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31653 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31654 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31655 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31656 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31657
31658 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31659
31660 * sysdeps/x86_64/x32/Makefile: New file.
31661
31662 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31663
31664 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31665 1L with (mp_limb_t) 1.
31666
31667 2014-12-17 Roland McGrath <roland@hack.frob.com>
31668
31669 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31670 * nptl/libc_pthread_init.c: ... here.
31671 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31672 * nptl/register-atfork.c: ... here.
31673
31674 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31675 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31676 Use assert_perror to check its return value.
31677 (__gai_create_helper_thread): Likewise.
31678
31679 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31680
31681 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31682
31683 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31684
31685 [BZ #17725]
31686 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31687 __profil_counter.
31688 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31689 Likewise.
31690 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31691 Likewise.
31692 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31693 Likewise.
31694 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31695 (profil_counter): Likewise.
31696 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31697 (profil_counter): Likewise.
31698 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31699 Likewise.
31700 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31701 Likewise.
31702 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31703 (profil_counter): Likewise.
31704 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31705 Likewise.
31706 [!__profil_counter] (profil_counter): Define as weak alias of
31707 __profil_counter.
31708 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31709 (profil_counter): Rename to __profil_counter.
31710 [!__profil_counter] (profil_counter): Define as weak alias of
31711 __profil_counter.
31712 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31713 (profil_counter): Rename to __profil_counter.
31714 [!__profil_counter] (profil_counter): Define as weak alias of
31715 __profil_counter.
31716 * sysdeps/posix/profil.c: Update comment referring to
31717 profil_counter.
31718 (__profil): Use __profil_counter instead of profil_counter.
31719 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31720 __profil_counter. Use __profil_counter_ushort and
31721 __profil_counter_uint in definitions.
31722 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31723 instead of profil_counter_uint and profil_counter_ushort.
31724
31725 [BZ #17722]
31726 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31727 define as weak alias of __inet_makeaddr.
31728 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31729 as weak alias of __inet_addr.
31730 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31731 as weak alias of __inet_pton. Use libc_hidden_weak.
31732 * include/arpa/inet.h (__inet_pton): Declare. Use
31733 libc_hidden_proto.
31734 (inet_makeaddr): Don't use libc_hidden_proto.
31735 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31736 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31737 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31738 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31739 Remove variable.
31740 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31741 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31742
31743 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31744
31745 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31746
31747 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31748
31749 * stdio-common/bug-vfprintf-nargs.c (do_test):
31750 Cast value to intptr_t to avoid format warning
31751 for usage with PRIdPTR printing macro.
31752
31753 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31754
31755 * libio/tst-widetext.c (do_test):
31756 Use format type %td instead of %Zd for ptrdiff_t
31757 in order to avoid format warning.
31758
31759 2014-12-17 Andreas Schwab <schwab@suse.de>
31760
31761 * nscd/mem.c (gc): Add size_t cast to match printf format.
31762
31763 2014-12-16 Roland McGrath <roland@hack.frob.com>
31764
31765 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31766 (init): Apply PTR_MANGLE to pointers before storing them.
31767 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31768 before using them.
31769
31770 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31771
31772 [BZ #17719]
31773 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31774 define as weak alias of __memrchr.
31775 (__memrchr): Do not define as strong alias of memrchr.
31776 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31777 Remove variable.
31778 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31779 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31780 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31781
31782 [BZ #17717]
31783 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31784 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31785 (if_indextoname): Rename to __if_indextoname and define as weak
31786 alias of __if_indextoname. Use libc_hidden_weak.
31787 (if_freenameindex): Rename to __if_freenameindex and define as
31788 weak alias of __if_freenameindex.
31789 (if_nameindex): Rename to __if_nameindex and define as weak alias
31790 of __if_nameindex.
31791 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31792 __if_nametoindex and define as weak alias of __if_nametoindex.
31793 Use libc_hidden_weak.
31794 (if_freenameindex): Rename to __if_freenameindex and define as
31795 weak alias of __if_freenameindex.
31796 (if_nameindex): Rename to __if_nameindex and define as weak alias
31797 of __if_nameindex.
31798 (if_indextoname): Rename to __if_indextoname and define as weak
31799 alias of __if_indextoname. Use libc_hidden_weak.
31800 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31801 __if_nametoindex and define as weak alias of __if_nametoindex.
31802 Use libc_hidden_weak.
31803 (if_freenameindex): Rename to __if_freenameindex and define as
31804 weak alias of __if_freenameindex. Use libc_hidden_weak.
31805 (if_nameindex_netlink): Use __if_freenameindex instead of
31806 if_freenameindex.
31807 (if_nameindex): Rename to __if_nameindex and define as weak alias
31808 of __if_nameindex. Use libc_hidden_weak.
31809 (if_indextoname): Rename to __if_indextoname and define as weak
31810 alias of __if_indextoname. Use libc_hidden_weak.
31811 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31812 libc_hidden_proto.
31813 [!_ISOMAC] (__if_freenameindex): Likewise.
31814 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31815 if_nametoindex.
31816 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31817 variable.
31818 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31819 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31820 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31821 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31822 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31823 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31824 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31825
31826 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31827 Remove variable.
31828 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31829 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31830
31831 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31832
31833 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31834 subscript above bounds'
31835
31836 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31837 bounds.
31838
31839 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31840
31841 * libio/tst-fopenloc.c: Use test-skeleton.c.
31842
31843 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31844 (entry): Rename to ITEM.
31845 (do_test, comp): Adjust.
31846
31847 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31848
31849 2014-12-16 Torvald Riegel <triegel@redhat.com>
31850
31851 * string/tester.c: Include <libc-internal.h>.
31852 (test_memset): Ignore -Wmemset-transposed-args.
31853
31854 2014-12-16 Torvald Riegel <triegel@redhat.com>
31855
31856 * misc/tst-mntent2.c (do_test): Fix warning.
31857
31858 2014-12-16 Torvald Riegel <triegel@redhat.com>
31859
31860 * elf/tst-unique4lib.cc(a): Mark as used.
31861
31862 2014-12-16 Florian Weimer <fweimer@redhat.com>
31863
31864 [BZ #17630]
31865 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31866 names.
31867
31868 2014-12-16 Allan McRae <allan@archlinux.org>
31869
31870 * stdio-common/Makefile (tests): Re-add bug26.
31871
31872 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31873
31874 [BZ #17657]
31875 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31876 static array.
31877
31878 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31879
31880 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31881 (__lll_lock_wait): Likewise.
31882 (__lll_timedlock_wait): Likewise.
31883 (__lll_timedwait_tid): Likewise.
31884 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31885 (__lll_robust_timedlock_wait): Likewise.
31886 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31887 (lll_cond_trylock): Likewise.
31888 (__lll_lock): Likewise.
31889 (__lll_robust_lock): Likewise.
31890 (__lll_cond_lock): Likewise.
31891 (lll_robust_cond_lock): Likewise.
31892 (__lll_timedlock): Likewise.
31893 (__lll_robust_timedlock): Likewise.
31894 (__lll_unlock): Likewise.
31895 (__lll_robust_unlock): Likewise.
31896 (lll_wait_tid): Likewise.
31897 (lll_timedwait_tid): Likewise.
31898
31899 2014-12-15 Torvald Riegel <triegel@redhat.com>
31900
31901 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31902
31903 2014-12-15 Torvald Riegel <triegel@redhat.com>
31904
31905 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31906
31907 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31908
31909 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31910 * stdio-common/tst-sprintf.c: Likewise.
31911
31912 2014-12-15 Torvald Riegel <triegel@redhat.com>
31913
31914 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31915
31916 2014-12-15 Jeff Law <law@redhat.com>
31917
31918 [BZ #16617]
31919 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31920 on the heap. (CVE-2012-3406)
31921 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31922 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31923 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31924
31925 2014-12-15 Will Newton <will.newton@linaro.org>
31926
31927 * manual/install.texi: Bump required version of texinfo
31928 to 4.7 from 4.5.
31929 * INSTALL: Regenerated.
31930 * configure.ac: Check for makeinfo version 4.7 and above.
31931 * configure: Regenerated.
31932
31933 2014-12-12 Roland McGrath <roland@hack.frob.com>
31934
31935 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31936 PREFIX, string constant to insert between directory and name.
31937 * sysdeps/posix/shm_open.c: Update caller.
31938 * sysdeps/posix/shm_unlink.c: Likewise.
31939 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31940 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31941 (SEM_SHM_PREFIX): New macro.
31942 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31943 [$(have-thread-library) = no].
31944 * nptl/Makefile (libpthread-routines): Add shm-directory.
31945 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31946 * sysdeps/nptl/shm-directory.h: New file.
31947 * sysdeps/posix/shm-directory.c
31948 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31949 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31950 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31951 INTERNAL_SYSCALL.
31952 (__where_is_shmfs): Function removed.
31953 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31954 Variables removed.
31955 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31956 Use SHM_GET_NAME.
31957 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31958
31959 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31960 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31961 unconditional for use inside libpthread.
31962 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31963
31964 2014-12-12 Roland McGrath <roland@hack.frob.com>
31965
31966 * nptl/pthread_getaffinity.c: New file.
31967 * nptl/pthread_setaffinity.c: New file.
31968 * nptl/pthread_getname.c: New file.
31969 * nptl/pthread_setname.c: New file.
31970
31971 * nptl/pthread_create.c (START_THREAD_DEFN)
31972 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31973
31974 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31975 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31976
31977 * resolv/res_send.c (send_vc): Disable warning resplen may
31978 be used uninitialized.
31979
31980 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31981
31982 * nptl/tst-mutex6.c
31983 (ATTR_NULL): New define checks ATTR against NULL.
31984 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31985 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31986
31987 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31988
31989 [BZ #17581]
31990 * malloc/hooks.c
31991 (mem2mem_check): Revert my previous change.
31992 (malloc_check_get_size): Revert my previous change.
31993 (mem2chunk_check): Revert my previous change.
31994
31995 2014-12-11 Roland McGrath <roland@hack.frob.com>
31996
31997 * sysdeps/posix/shm-directory.c: New file.
31998 * sysdeps/posix/shm-directory.h: New file.
31999 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32000 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32001 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
32002 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32003 Transmute EPERM to EACCES.
32004 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32005 from ...
32006 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
32007 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32008
32009 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32010
32011 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32012 pointer and cast to uintptr_t.
32013 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32014 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32015 Add cast to avoid warning.
32016 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32017
32018 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32019
32020 * nptl/semaphore.h: Move to ...
32021 * sysdeps/pthread/semaphore.h: ... here.
32022 * Makefile (installed-headers): Change nptl/semaphore.h to
32023 sysdeps/pthread/semaphore.h.
32024
32025 2014-12-11 Roland McGrath <roland@hack.frob.com>
32026
32027 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32028 generated error format strings.
32029
32030 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32031 -Wformat-extra-args warnings for scanf formats.
32032 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32033 test of zero-length format (duh).
32034 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32035 corner-case scanf format test.
32036 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32037 generated fprintf format string.
32038 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32039 corner-case sprintf format tests.
32040 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32041 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32042 -Wformat-extra-args warnings throughout.
32043 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32044 (CFLAGS-scanf4.c): Likewise.
32045 (CFLAGS-scanf7.c): Likewise.
32046 (CFLAGS-tst-sprintf.c): Likewise.
32047 (CFLAGS-tst-printf.c): Likewise.
32048 (CFLAGS-tst-printfsz.c): Likewise.
32049
32050 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32051
32052 * include/cpio.h: New file.
32053 * include/fmtmsg.h: Likewise.
32054
32055 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
32056 corresponding format argument to size_t.
32057 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
32058 arguments.
32059 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
32060 corresponding format argument to size_t.
32061 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
32062 arguments.
32063 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
32064 corresponding format argument to size_t.
32065 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32066 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32067 (CFLAGS-tst-mbswcs2.c): Likewise.
32068 (CFLAGS-tst-mbswcs3.c): Likewise.
32069 (CFLAGS-tst-mbswcs4.c): Likewise.
32070 (CFLAGS-tst-mbswcs5.c): Likewise.
32071 (CFLAGS-tst-trans.c): Likewise.
32072
32073 2014-12-11 Roland McGrath <roland@hack.frob.com>
32074
32075 * posix/regexbug1.c (main): Use "%s" format with regerror results,
32076 rather than assuming they won't contain any '%'s.
32077
32078 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
32079
32080 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32081 inhibit_loop_to_libcall to avoid recursive calls.
32082 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32083 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32084
32085 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32086
32087 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32088 prototype.
32089
32090 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32091
32092 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32093 integer value instead of boolean.
32094
32095 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32096
32097 * malloc/malloc.c: Fix powerof2 check.
32098
32099 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32100
32101 * locale/programs/locfile.h (maybe_swap_uint32):
32102 Remove inline and add unused attribute.
32103
32104 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32105
32106 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32107 Truncating assembler expression to a .long expression.
32108
32109 2014-12-11 Andreas Schwab <schwab@suse.de>
32110
32111 * elf/rtld.c (struct map_args): Constify str member.
32112 (do_preload): Constify fname argument.
32113
32114 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32115
32116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32117 constants definition.
32118
32119 2014-12-11 Andreas Schwab <schwab@suse.de>
32120
32121 [BZ #16657]
32122 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32123 FORCE_ELISION instead of DO_ELISION.
32124 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32125 Remove.
32126 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32127 Likewise.
32128
32129 * iconvdata/gconv-modules: Remove duplicate entry.
32130
32131 2014-12-11 Will Newton <will.newton@linaro.org>
32132
32133 Merge gettext 0.19.3 into intl/.
32134
32135 This involves a number of cosmetic changes to comments
32136 and ANSI function definitions and prototypes throughout
32137 all the files. The gettext copyright header is used but
32138 with the date ranges taken from the glibc copy.
32139
32140 * NEWS: Add gettext merge to 2.21.
32141 * intl/bindtextdom.c: Switch to gettext copyright.
32142 Use ANSI definitions and prototypes.
32143 Use gl_* locking primitives rather than __libc_* ones.
32144 Use __builtin_expect rather than __glibc_likely/unlikely.
32145 * intl/dcgettext.c: Switch to gettext copyright.
32146 Use ANSI definitions and prototypes.
32147 * intl/dcigettext.c: Switch to gettext copyright.
32148 Use ANSI definitions and prototypes.
32149 (INTDIV0_RAISES_SIGFPE): New define.
32150 Use gl_* locking primitives rather than __libc_* ones.
32151 Include eval-plural.h instead of plural-eval.c.
32152 Use __builtin_expect rather than __glibc_likely/unlikely.
32153 * intl/dcngettext.c: Switch to gettext copyright.
32154 Use ANSI definitions and prototypes.
32155 * intl/dgettext.c: Likewise.
32156 * intl/dngettext.c: Likewise.
32157 * intl/plural-eval.c: Renamed to...
32158 * intl/eval-plural.h: ...this.
32159 * intl/explodename.c: Switch to gettext copyright.
32160 Use ANSI definitions and prototypes.
32161 (_nl_explode_name): Use strchr instead of __rawmemchr.
32162 * intl/finddomain.c: Switch to gettext copyright.
32163 Use ANSI definitions and prototypes.
32164 Use gl_* locking primitives rather than __libc_* ones.
32165 (_nl_find_domain): Use malloc rather than alloca for
32166 allocation of temporary locale name.
32167 * intl/gettext.c: Switch to gettext copyright.
32168 Use ANSI definitions and prototypes.
32169 * intl/gettextP.h: Switch to gettext copyright.
32170 Use ANSI definitions and prototypes.
32171 Use gl_* locking primitives rather than __libc_* ones.
32172 * intl/gmo.h: Switch to gettext copyright.
32173 (struct sysdep_string): Move struct segment_pair outside of
32174 struct definition.
32175 * intl/hash-string.c: Use ANSI definitions and prototypes.
32176 * intl/hash-string.h: Switch to gettext copyright.
32177 Use ANSI definitions and prototypes.
32178 * intl/l10nflist.c: Switch to gettext copyright.
32179 Use ANSI definitions and prototypes.
32180 (_nl_normalize_codeset): Avoid integer overflow.
32181 * intl/loadinfo.h: Switch to gettext copyright.
32182 Use ANSI definitions and prototypes.
32183 (LIBINTL_DLL_EXPORTED): New define.
32184 (PATH_SEPARATOR): New define.
32185 * intl/loadmsgcat.c: Switch to gettext copyright.
32186 * intl/localealias.c: Switch to gettext copyright.
32187 Use ANSI definitions and prototypes.
32188 (_nl_expand_alias): Use PATH_SEPARATOR.
32189 * intl/ngettext.c: Switch to gettext copyright.
32190 Use ANSI definitions and prototypes.
32191 * intl/plural-exp.c: Likewise.
32192 * intl/plural-exp.h: Switch to gettext copyright.
32193 Use ANSI definitions and prototypes.
32194 (struct expression): Move definition of enum operator outside
32195 of struct definition.
32196 * intl/plural.c: Regenerate.
32197 * intl/plural.y: Switch to gettext copyright.
32198 Use ANSI definitions and prototypes.
32199 Port to bison 3.0.
32200 * intl/textdomain.c: Switch to gettext copyright.
32201 Use ANSI definitions and prototypes.
32202 Use gl_* locking primitives rather than __libc_* ones.
32203
32204 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32205
32206 * debug/warning-nop.c: Add used atrribute.
32207
32208 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32209
32210 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32211
32212 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32213 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32214 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32215
32216 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32217 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32218
32219 [BZ #17634]
32220 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32221 Undefine after defining function. Define as weak alias of
32222 __wcschr. Use libc_hidden_weak.
32223 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32224 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32225 (libc_hidden_def): Also define __GI___wcschr alias.
32226 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32227 __wcschr and define as weak alias of __wcschr.
32228 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32229 __wcschr.
32230 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32231 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32232 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32233 libc_hidden_weak. Do not use libc_hidden_def.
32234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32235 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32236 __GI___wcschr alias.
32237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32238 [IS_IN (libc)] (wcschr): Define as macro expanding to
32239 __redirect_wcschr.
32240 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32241 [IS_IN (libc)] (__wcschr_power6): Likewise.
32242 [IS_IN (libc)] (__wcschr_power7): Likewise.
32243 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32244 instead of wcschr.
32245 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32246 __libc_wcschr.
32247 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32248 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32249 __wcschr and define as weak alias of __wcschr. Use
32250 libc_hidden_builtin_def.
32251 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32252 as weak alias of __wcschr. Use libc_hidden_weak.
32253 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32254 wcschr.
32255 * time/era.c (_nl_init_era_entries): Likewise.
32256 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32257 variable.
32258 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32259 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32260
32261 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32262
32263 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32264 format for long int variable.
32265
32266 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32267
32268 [BZ #10672]
32269 * manual/search.texi: (Array Sort Function): Remove claim how to make
32270 qsort stable.
32271
32272 2014-12-10 Andreas Schwab <schwab@suse.de>
32273
32274 [BZ #12847]
32275 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32276 user-controlled locks.
32277
32278 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32279
32280 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32281 register.
32282
32283 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32284
32285 * configure.ac (--disable-werror): New configure option.
32286 (enable_werror): New AC_SUBST.
32287 * configure: Regenerated.
32288 * config.make.in (enable-werror): New variable.
32289 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32290 -Wno-error=undef.
32291 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32292 * manual/install.texi (Configuring and compiling): Document
32293 --disable-werror.
32294 * INSTALL: Regenerated.
32295 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32296 (CFLAGS-tst-chk2.c): Likewise.
32297 (CFLAGS-tst-chk3.c): Likewise.
32298 (CFLAGS-tst-chk4.cc): Likewise.
32299 (CFLAGS-tst-chk5.cc): Likewise.
32300 (CFLAGS-tst-chk6.cc): Likewise.
32301 (CFLAGS-tst-lfschk1.c): Likewise.
32302 (CFLAGS-tst-lfschk2.c): Likewise.
32303 (CFLAGS-tst-lfschk3.c): Likewise.
32304 (CFLAGS-tst-lfschk4.cc): Likewise.
32305 (CFLAGS-tst-lfschk5.cc): Likewise.
32306 (CFLAGS-tst-lfschk6.cc): Likewise.
32307
32308 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32309 (main): Disable -Wdeprecated-declarations around calls to
32310 register_printf_function.
32311
32312 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32313 (do_test): Disable -Wdiv-by-zero around some calls to
32314 fwrite_unlocked and fread_unlocked.
32315
32316 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32317 (DIAG_POP_NEEDS_COMMENT): Likewise.
32318 (_DIAG_STR1): Likewise.
32319 (_DIAG_STR): Likewise.
32320 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32321 * stdio-common/bug21.c: Include <libc-internal.h>.
32322 (do_test): Disable -Wformat around call to sscanf.
32323 * stdio-common/scanf14.c: Include <libc-internal.h>.
32324 (main): Disable -Wformat around some calls to scanf functions.
32325
32326 2014-12-09 Torvald Riegel <triegel@redhat.com>
32327
32328 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32329
32330 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32331
32332 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32333 stack variable alignment.
32334
32335 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32336
32337 [BZ #17682]
32338 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32339 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32340 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32341 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32342 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32343 __getrlimit instead of getrlimit.
32344 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32345 __gettimeofday instead of gettimeofday.
32346 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32347 Likewise.
32348 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32349 Likewise.
32350 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32351 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32352 Remove variable.
32353 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32354 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32355
32356 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32357
32358 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32359 for wide-character tests.
32360
32361 2014-12-04 Roland McGrath <roland@hack.frob.com>
32362
32363 * io/openat64.c: #include <libc-internal.h>
32364 (__openat64): Prototypify. Use ignore_value on MODE.
32365 * io/openat.c: Likewise.
32366 * misc/reboot.c: #include <libc-internal.h>
32367 (reboot): Prototypify. Use ignore_value on HOWTO.
32368 * misc/ptrace.c: #include <libc-internal.h>
32369 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32370
32371 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32372
32373 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32374 XPG4, UNIX98 and XOPEN2K.
32375 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32376 Remove variable.
32377 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32378
32379 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32380
32381 * libio/fileops.c: Use ISO C style for function definitions.
32382 * libio/iofopen.c: Likewise.
32383 * libio/wfileops.c: Likewise.
32384
32385 [BZ #17653]
32386 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32387 offset on EOF.
32388 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32389 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32390 (fgets_func): Function pointer to fgets and fgetws.
32391 (do_ftell_test): Add test to verify ftell value after read
32392 EOF.
32393 (do_test): Set fgets_func.
32394
32395 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32396 O_TRUNC flag for w and w+ modes.
32397 (do_rewind_test): Likewise.
32398 (do_ftell_test): Likewise.
32399 (do_write_test): Likewise.
32400
32401 [BZ #17647]
32402 * libio/fileops.c (do_ftell): Seek only when there are
32403 unflushed writes.
32404 * libio/wfileops.c (do_ftell_wide): Likewise.
32405 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32406 test case.
32407 (do_one_test): Call it.
32408
32409 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32410
32411 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32412 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32413 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32414 Remove variable.
32415 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32416 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32417 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32418
32419 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32420
32421 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32422 Remove variable.
32423 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32424
32425 [BZ #17668]
32426 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32427 as weak alias of __getifaddrs. Use libc_hidden_weak.
32428 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32429 __freeifaddrs. Use libc_hidden_weak.
32430 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32431 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32432 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32433 __freeifaddrs. Use libc_hidden_weak.
32434 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32435 __getifaddrs and define as weak alias of __getifaddrs. Use
32436 libc_hidden_weak.
32437 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32438 __freeifaddrs. Use libc_hidden_weak.
32439 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32440 Remove variable.
32441 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32442 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32443
32444 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32445
32446 [BZ #17601]
32447 * sysdeps/mips/start.S (__start): Use indirect jump to call
32448 __libc_start_main.
32449
32450 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32451
32452 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32453
32454 * nptl/tst-mutex1.c: Include <stdbool.h>.
32455 [!ATTR] (ATTR_NULL): New macro.
32456 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32457 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32458 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32459
32460 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32461 to char *.
32462
32463 [BZ #17665]
32464 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32465 Change conditional to [__USE_MISC].
32466
32467 [BZ #17664]
32468 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32469 fgets_unlocked.
32470 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32471 __fgets_unlocked.
32472 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32473 fgets_unlocked.
32474 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32475 Remove variable.
32476 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32477 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32478 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32479 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32480 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32481 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32482 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32483 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32484 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32485
32486 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32487
32488 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32489
32490 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32491 Remove strpbrk objects.
32492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32493 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32494 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32495 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32496 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32497 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32498
32499 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32500 Remove strcspn objects.
32501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32502 (__libc_ifunc_impl_list): Remove strcspn implementation.
32503 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32504 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32505 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32506 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32507
32508 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32509 Remove strspn objetcs.
32510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32511 (__libc_ifunc_impl_list): Remove strspn implementation.
32512 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32513 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32514 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32515 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32516
32517 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32518
32519 [BZ #17581]
32520 * malloc/hooks.c
32521 (mem2mem_check): Add a terminator to the chain of checking blocks.
32522 (malloc_check_get_size): Use it here.
32523 (mem2chunk_check): Ditto.
32524
32525 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32526
32527 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32528 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32529
32530 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32531
32532 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32533
32534 * nptl/nptl-init.c: Include libc-internal.h.
32535 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32536
32537 * elf/ldconfig.c (search_dir): Expand comment.
32538
32539 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32540
32541 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32542 variable.
32543 (linknamespace-symlist-stdlibs-tests): Likewise.
32544 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32545 instead of $(objpfx)symlist-stdlibs.
32546 (linknamespace-libs-isoc): New variable.
32547 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32548 (linknamespace-libs-ISO): New variable.
32549 (linknamespace-libs-ISO99): Likewise.
32550 (linknamespace-libs-ISO11): Likewise.
32551 (linknamespace-libs-XPG3): Likewise.
32552 (linknamespace-libs-XPG4): Likewise.
32553 (linknamespace-libs-POSIX): Likewise.
32554 (linknamespace-libs-UNIX98): Likewise.
32555 (linknamespace-libs-XOPEN2K): Likewise.
32556 (linknamespace-libs-POSIX2008): Likewise.
32557 (linknamespace-libs-XOPEN2K8): Likewise.
32558 ($(objpfx)symlist-stdlibs): Replace by
32559 $(linknamespace-symlist-stdlibs-tests). Use
32560 $(linknamespace-libs-$*) as set of libraries.
32561 ($(linknamespace-header-tests)): Update dependencies. Use
32562 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32563 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32564 * conform/linknamespace.pl: Remove comment about considering
32565 definitions of symbols from irrelevant libraries.
32566
32567 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32568
32569 [BZ #13862]
32570 * elf/dl-tls.c: Include <atomic.h>.
32571 (oom): Remove #ifdef SHARED/#endif.
32572 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32573 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32574 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32575 big enough.
32576 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32577 * nptl/Makefile (tests): Add tst-stack4.
32578 (modules-names): Add tst-stack4mod.
32579 ($(objpfx)tst-stack4): New.
32580 (tst-stack4mod.sos): Likewise.
32581 ($(objpfx)tst-stack4.out): Likewise.
32582 ($(tst-stack4mod.sos)): Likewise.
32583 (clean): Likewise.
32584 * nptl/tst-stack4.c: New file.
32585 * nptl/tst-stack4mod.c: Likewise.
32586
32587 2014-11-27 J. Brown <jb999@gmx.de>
32588
32589 * sysdeps/x86/bits/string.h: Add recent CPUs.
32590
32591 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32592
32593 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32594 sigblock.
32595
32596 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32597 feof.
32598
32599 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32600 variable.
32601
32602 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32603
32604 * nscd/connections.c: Include libc-internal.h because of macro
32605 usage ignore_value.
32606
32607 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32608
32609 * string/bits/string3.h (__warn_memset_zero_len): Don't
32610 declare for gcc newer than 5.0.
32611 (memset): Don't test for zero-length __LEN for gcc newer than
32612 5.0.
32613
32614 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32615
32616 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32617 size_t for %zu format.
32618
32619 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32620 difference, not %ju.
32621
32622 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32623
32624 * include/libc-internal.h (ignore_value): New macro.
32625 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32626 with ignore_value.
32627
32628 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32629 definition.
32630
32631 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32632 pthread_cleanup_push to void *.
32633
32634 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32635 Undefine.
32636
32637 [BZ #16619]
32638 [BZ #16740]
32639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32640 instead of 1L << 52.
32641
32642 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32643 * libio/bug-rewind2.c (do_test): Likewise.
32644
32645 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32646 * debug/test-strcpy_chk-ifunc.c: Likewise.
32647 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32648 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32649 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32650 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32651 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32652 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32653 * Rules [$(multi-arch) = no] (tests): Do not filter out
32654 $(tests-ifunc).
32655 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32656 * debug/Makefile (tests-ifunc): Remove variable.
32657 (tests): Do not add $(tests-ifunc).
32658 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32659 (tests): Do not add $(tests-ifunc).
32660 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32661 [TEST_IFUNC]: Remove conditionals.
32662 * string/test-string.h (TEST_IFUNC): Remove macro.
32663 [TEST_IFUNC]: Remove conditionals.
32664
32665 * string/test-strchr.c [!WIDE] (L): New macro.
32666 [WIDE] (L): Likewise.
32667 (check1): Use CHAR instead of char. Use L on string and character
32668 constants.
32669
32670 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32671
32672 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32673 tests.
32674 * sysdeps/powerpc/bits/atomic.h
32675 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32676 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32677 (atomic_exchange_and_add_acq): Likewise.
32678 (atomic_exchange_and_add_rel): Likewise.
32679 * sysdeps/powerpc/powerpc32/bits/atomic.h
32680 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32681 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32682 * sysdeps/powerpc/powerpc64/bits/atomic.h
32683 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32684 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32685
32686 2014-11-26 Torvald Riegel <triegel@redhat.com>
32687
32688 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32689 Change synchronization of __sched_fifo_min_prio and
32690 __sched_fifo_max_prio.
32691 * nptl/pthread_mutexattr_getprioceiling.c
32692 (pthread_mutexattr_getprioceiling): Likewise.
32693 * nptl/pthread_mutexattr_setprioceiling.c
32694 (pthread_mutexattr_setprioceiling): Likewise.
32695 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32696 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32697 Likewise.
32698
32699 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32700
32701 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32702 void.
32703
32704 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32705
32706 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32707 third argument const.
32708
32709 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32710
32711 fnmatch: work around GCC compiler warning bug with uninit var
32712 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32713 This works around a bug with x86-64 GCC 4.9.2 and earlier
32714 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32715 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32716 used uninitialized in this function [-Wmaybe-uninitialized]".
32717
32718 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32719
32720 * posix/bug-regex31.c (main): Return RES not 0.
32721
32722 2014-11-25 Anton Blanchard <anton@samba.org>
32723
32724 * sysdeps/powerpc/bits/atomic.h
32725 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32726
32727 2014-11-24 Sterling Augustine <saugustine@google.com>
32728
32729 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32730
32731 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32732
32733 [BZ #17608]
32734 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32735
32736 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32737
32738 [BZ #17633]
32739 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32740 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32741 variable.
32742 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32743 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32744
32745 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32746
32747 * string/strncpy.c (strncpy): Improve performance by using memset.
32748
32749 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32750
32751 * string/strcpy.c (strcpy):
32752 Improve performance by using strlen and memcpy.
32753
32754 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32755
32756 * string/strcoll_l.c (get_next_seq): __always_inline.
32757 * string/strcoll_l.c (do_compare): __always_inline.
32758
32759 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32760
32761 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32762 defined.
32763 * include/mqueue.h: Likewise.
32764 * include/stdlib.h: Likewise.
32765
32766 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32767 (get_null_defines): Adjust.
32768 * sunrpc/Makefile: Adjust comment.
32769 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32770 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32771 (CFLAGS-interp.c): Likewise.
32772 (CFLAGS-ldconfig.c): Likewise.
32773 (CPPFLAGS-.os): Likewise.
32774 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32775 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32776 * extra-modules.mk (extra-modules.mk): Likewise.
32777 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32778 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32779 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32780 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32781 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32782 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32783 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32784 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32785 * iconvdata/Makefile (CPPFLAGS): Likewise.
32786 (cpp-srcs-left): Add libof for all iconvdata routines.
32787 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32788 * include/assert.h: Likewise.
32789 * include/ctype.h: Likewise.
32790 * include/errno.h: Likewise.
32791 * include/libc-symbols.h: Likewise.
32792 * include/math.h: Likewise.
32793 * include/netdb.h: Likewise.
32794 * include/resolv.h: Likewise.
32795 * include/stdio.h: Likewise.
32796 * include/stdlib.h: Likewise.
32797 * include/string.h: Likewise.
32798 * include/sys/stat.h: Likewise.
32799 * include/wctype.h: Likewise.
32800 * intl/l10nflist.c: Likewise.
32801 * libidn/idn-stub.c: Likewise.
32802 * libio/libioP.h: Likewise.
32803 * nptl/libc_multiple_threads.c: Likewise.
32804 * nptl/pthreadP.h: Likewise.
32805 * posix/regex_internal.h: Likewise.
32806 * resolv/res_hconf.c: Likewise.
32807 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32808 * sysdeps/arm/memmove.S: Likewise.
32809 * sysdeps/arm/sysdep.h: Likewise.
32810 * sysdeps/generic/_itoa.h: Likewise.
32811 * sysdeps/generic/symbol-hacks.h: Likewise.
32812 * sysdeps/gnu/errlist.awk: Likewise.
32813 * sysdeps/gnu/errlist.c: Likewise.
32814 * sysdeps/i386/i586/memcpy.S: Likewise.
32815 * sysdeps/i386/i586/memset.S: Likewise.
32816 * sysdeps/i386/i686/memcpy.S: Likewise.
32817 * sysdeps/i386/i686/memmove.S: Likewise.
32818 * sysdeps/i386/i686/mempcpy.S: Likewise.
32819 * sysdeps/i386/i686/memset.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32826 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32837 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32839 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32841 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32843 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32844 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32846 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32847 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32848 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32849 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32850 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32851 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32854 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32862 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32863 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32866 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32867 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32868 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32869 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32871 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32872 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32874 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32875 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32876 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32877 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32878 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32879 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32880 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32881 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32882 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32883 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32884 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32885 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32886 * sysdeps/posix/closedir.c: Likewise.
32887 * sysdeps/posix/opendir.c: Likewise.
32888 * sysdeps/posix/readdir.c: Likewise.
32889 * sysdeps/posix/rewinddir.c: Likewise.
32890 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32891 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32892 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32893 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32894 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32895 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32896 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32901 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32902 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32904 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32905 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32906 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32907 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32908 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32910 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32911 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32912 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32913 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32918 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32925 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32926 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32928 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32929 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32930 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32931 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32932 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32934 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32935 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32936 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32937 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32938 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32939 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32940 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32941 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32944 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32945 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32946 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32947 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32948 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32949 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32950 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32951 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32952 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32953 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32954 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32955 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32956 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32957 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32958 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32959 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32960 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32961 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32962 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32963 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32964 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32965 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32966 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32967 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32968 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32969 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32970 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32971 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32972 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32973 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32974 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32976 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32977 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32978 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32979 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32980 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32981 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32982 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32984 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32986 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32988 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32989 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32991 * sysdeps/unix/alpha/sysdep.S: Likewise.
32992 * sysdeps/unix/alpha/sysdep.h: Likewise.
32993 * sysdeps/unix/make-syscalls.sh: Likewise.
32994 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32995 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32996 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32997 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32998 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32999 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33000 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33001 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33002 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33003 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33004 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33005 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33007 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33008 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33010 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33012 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33013 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33014 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33015 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33016 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33017 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33018 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33019 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33020 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33023 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33024 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33028 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33032 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33033 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33034 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33035 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33036 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33037 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33038 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33040 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33041 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33044 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33045 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33046 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33047 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33048 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33049 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33050 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33052 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33053 * sysdeps/x86_64/memcpy.S: Likewise.
33054 * sysdeps/x86_64/memmove.c: Likewise.
33055 * sysdeps/x86_64/memset.S: Likewise.
33056 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33058 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33059 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33060 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33063 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33064 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33065 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33066 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33067 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33068 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33069 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33070 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33071 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33072 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33073 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33075 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33076 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33077 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33080 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33081 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33082 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33083 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33084 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33085 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33086 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33087 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33088 * sysdeps/x86_64/strcmp.S: Likewise.
33089
33090 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33091
33092 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33093 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33094 * elf/rtld-Rules: Likewise.
33095 * elf/setup-vdso.h: Likewise.
33096 * include/assert.h: Likewise.
33097 * include/bits/stdlib-float.h: Likewise.
33098 * include/errno.h: Likewise.
33099 * include/sys/stat.h: Likewise.
33100 * include/unistd.h: Likewise.
33101 * sysdeps/aarch64/setjmp.S: Likewise.
33102 * sysdeps/alpha/setjmp.S: Likewise.
33103 * sysdeps/arm/__longjmp.S: Likewise.
33104 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33105 * sysdeps/arm/setjmp.S: Likewise.
33106 * sysdeps/arm/sysdep.h: Likewise.
33107 * sysdeps/generic/_itoa.h: Likewise.
33108 * sysdeps/generic/dl-sysdep.h: Likewise.
33109 * sysdeps/generic/ldsodefs.h: Likewise.
33110 * sysdeps/i386/dl-tls.h: Likewise.
33111 * sysdeps/i386/setjmp.S: Likewise.
33112 * sysdeps/m68k/setjmp.c: Likewise.
33113 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33114 * sysdeps/mach/hurd/opendir.c: Likewise.
33115 * sysdeps/posix/getcwd.c: Likewise.
33116 * sysdeps/posix/opendir.c: Likewise.
33117 * sysdeps/posix/profil.c: Likewise.
33118 * sysdeps/powerpc/dl-procinfo.h: Likewise.
33119 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33120 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33121 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33123 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33124 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33125 * sysdeps/s390/dl-tls.h: Likewise.
33126 * sysdeps/s390/s390-32/setjmp.S: Likewise.
33127 * sysdeps/s390/s390-64/setjmp.S: Likewise.
33128 * sysdeps/sh/sh3/setjmp.S: Likewise.
33129 * sysdeps/sh/sh4/setjmp.S: Likewise.
33130 * sysdeps/unix/alpha/sysdep.h: Likewise.
33131 * sysdeps/unix/arm/sysdep.S: Likewise.
33132 * sysdeps/unix/i386/sysdep.S: Likewise.
33133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33134 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33135 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33136 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33137 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33138 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33139 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33140 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33141 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33142 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33143 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33144 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33145 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33148 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33151 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33153 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33156 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33157 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33158 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33161 * sysdeps/x86_64/setjmp.S: Likewise.
33162
33163 * include/math.h: Use IS_IN instead of IS_IN_libm.
33164 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33176 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33184 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33185 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33186 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33187 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33188 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33189 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33191 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33192 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33193 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33194 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33195 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33196 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33198 Likewise.
33199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33200 Likewise.
33201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33202 Likewise.
33203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33204 Likewise.
33205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33206 Likewise.
33207 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33209 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33211 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33212 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33218 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33219 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33220 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33221 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33222 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33223 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33224 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33225 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33226 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33227 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33228 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33229 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33231 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33233 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33234
33235 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33236 * nptl/pthreadP.h: Likewise.
33237 * nptl_db/structs.def: Likewise.
33238 * sysdeps/arm/sysdep.h: Likewise.
33239 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33240 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33241 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33242 * sysdeps/unix/alpha/sysdep.h: Likewise.
33243 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33245 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33246 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33247 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33248 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33250 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33251 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33252 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33253 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33254 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33255 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33256 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33261 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33264 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33265 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33266 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33267 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33268 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33269
33270 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33271 * nptl/pthreadP.h: Likewise.
33272 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33273 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33274 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33275 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33276 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33277 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33278 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33279 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33280 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33281 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33282 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33283 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33285 Likewise.
33286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33287 Likewise.
33288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33290 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33293 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33294 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33295 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33296
33297 * dlfcn/dladdr.c: Use IS_IN.
33298 * dlfcn/dladdr1.c: Likewise.
33299 * dlfcn/dlclose.c: Likewise.
33300 * dlfcn/dlerror.c: Likewise.
33301 * dlfcn/dlinfo.c: Likewise.
33302 * dlfcn/dlmopen.c: Likewise.
33303 * dlfcn/dlopen.c: Likewise.
33304 * dlfcn/dlsym.c: Likewise.
33305 * dlfcn/dlvsym.c: Likewise.
33306
33307 * include/ifaddrs.h: Use IS_IN.
33308 * inet/check_pf.c: Likewise.
33309 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33310 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33311
33312 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33313 IS_IN_ldconfig.
33314 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33315 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33316
33317 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33318 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33319 IS_IN (libc).
33320
33321 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33322
33323 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33324 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33325 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33326 * include/libc-symbols.h (IS_IN_LIB): New macro.
33327 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33328 * include/netdb.h: Likewise.
33329 * include/stap-probe.h: Remove all uses of IN_LIB.
33330
33331 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33332 instead of IN_MODULE.
33333 * include/libc-symbols.h (IN_MODULE): Define using
33334 MODULE_NAME.
33335 (PASTE_NAME, PASTE_NAME1): New macros.
33336 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33337 of IN_LIB.
33338 (STAP_PROBE_ASM): Likewise.
33339
33340 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33341
33342 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33343 __mach_init in dlopened libc.
33344
33345 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33346
33347 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33348 * sysdeps/arm/preconfigure: Regenerate.
33349
33350 2014-11-21 Roland McGrath <roland@hack.frob.com>
33351
33352 * nptl/pthread_create.c (__pthread_create_2_1): Set
33353 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33354 when copying values from IATTR into PD.
33355
33356 2014-11-21 Will Newton <will.newton@linaro.org>
33357 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33358
33359 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33360 Refactor inline-asm. Also add comment.
33361
33362 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33363 ElfW macro instead of hardcoded Elf64 types.
33364 (la_aarch64_gnu_pltenter): Likewise.
33365 * sysdeps/aarch64/dl-machine.h
33366 (elf_machine_runtime_setup): Use ElfW(Addr).
33367
33368 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33369 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33370 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33371 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33372 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33373 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33374 (R_AARCH64_TLS_DTPMOD): This.
33375 (R_AARCH64_TLS_DTPREL64): Rename to ...
33376 (R_AARCH64_TLS_DTPREL): This.
33377 (R_AARCH64_TLS_TPREL64): Rename to ...
33378 (R_AARCH64_TLS_TPREL): This.
33379 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33380 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33381 R_AARCH64_TLS_TPREL64.
33382 (elf_machine_rela): Likewise.
33383
33384 2014-11-21 Torvald Riegel <triegel@redhat.com>
33385
33386 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33387 by setting it to 0. 64b atomics are not supported currently.
33388
33389 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33390
33391 [BZ #16469]
33392 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33393 search domain names.
33394
33395 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33396
33397 [BZ #16469]
33398 * NEWS: Update.
33399 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33400 trailing dot.
33401 * posix/tst-getaddrinfo5.c: New.
33402 * posix/Makefile (tests): Add it.
33403
33404 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33405
33406 [BZ #14498]
33407 * NEWS: Fixed.
33408 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33409 after parsing line but before break_if_match.
33410 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33411 if there is a protocol mismatch.
33412
33413 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33414
33415 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33416 because the potential race is on the user-supplied stream.
33417
33418 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33419
33420 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33421 string literal if not passed a buffer.
33422 * manual/job.texi (ctermid): Update reasoning, note deviation
33423 from posix, suggest mtasurace when not passed a buffer, for
33424 future non-preliminary safety notes.
33425
33426 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33427
33428 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33429 of not passing it a buffer.
33430 Reported by Peng Haitao.
33431
33432 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33433
33434 * manual/Makefile ($(objpfx)stamp-summary): Require
33435 check-safety.sh to pass.
33436 * manual/check-safety.sh: Wish for verification that every
33437 @deftypefn and @deftypefun is followed by a @safety remark.
33438
33439 2014-11-20 Roland McGrath <roland@hack.frob.com>
33440
33441 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33442
33443 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33444 PTHREAD_CANCEL_ASYNCHRONOUS.
33445 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33446 send SIGCANCEL.
33447
33448 * nptl/default-sched.h: New file.
33449 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33450 * nptl/pthread_create.c: Include it.
33451 (__pthread_create_2_1): Use collect_default_sched instead of making
33452 Linux syscalls here directly.
33453
33454 2014-11-20 Torvald Riegel <triegel@redhat.com>
33455
33456 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33457 __pthread_once): Use C11 atomics.
33458
33459 2014-11-20 Torvald Riegel <triegel@redhat.com>
33460
33461 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33462
33463 2014-11-20 Torvald Riegel <triegel@redhat.com>
33464
33465 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33466 atomic_thread_fence_acquire, atomic_thread_fence_release,
33467 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33468 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33469 atomic_compare_exchange_weak_relaxed,
33470 atomic_compare_exchange_weak_acquire,
33471 atomic_compare_exchange_weak_release,
33472 atomic_exchange_acquire, atomic_exchange_release,
33473 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33474 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33475 atomic_fetch_and_acquire,
33476 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33477
33478 2014-11-20 Torvald Riegel <triegel@redhat.com>
33479
33480 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33481 USE_ATOMIC_COMPILER_BUILTINS): Define.
33482 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33483 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33484 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33485 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33486 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33487 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33488 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33489 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33490 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33491 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33492 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33494 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33496 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33498 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33500 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33502 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33504 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33508 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33510 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33512 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33514 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33516 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33517 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33520 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33522
33523 2014-11-19 Roland McGrath <roland@hack.frob.com>
33524
33525 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33526 the sched_priority value here. It was already checked when the user
33527 called pthread_attr_setschedparam.
33528
33529 * nptl/tst-bad-schedattr.c: New file.
33530 * nptl/Makefile (tests): Add it.
33531
33532 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33533 Florian Weimer <fweimer@redhat.com>
33534 Joseph Myers <joseph@codesourcery.com>
33535 Adam Conrad <adconrad@0c3.net>
33536 Andreas Schwab <schwab@suse.de>
33537 Brooks <bmoses@google.com>
33538
33539 [BZ #17625]
33540 * wordexp-test.c (__dso_handle): Add prototype.
33541 (__register_atfork): Likewise.
33542 (__app_register_atfork): New function.
33543 (registered_forks): New global.
33544 (register_fork): New function.
33545 (test_case): Add 3 new tests for WRDE_CMDSUB.
33546 (main): Call __app_register_atfork.
33547 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33548 fork count is non-zero fail the test.
33549 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33550 is set.
33551 (parse_dollars): Remove check for WRDE_NOCMD.
33552 (parse_dquote): Likewise.
33553
33554 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33555
33556 * Makeconfig (built-modules): List non-library modules to be
33557 built.
33558 (module-cppflags): Include libc-modules.h for
33559 everything except shlib-versions.v.i.
33560 (CPPFLAGS): Use it.
33561 (before-compile): Add libc-modules.h.
33562 ($(common-objpfx)libc-modules.h,
33563 $(common-objpfx)libc-modules.stmp): New targets.
33564 (common-generated): Add libc-modules.h and libc-modules.stmp.
33565 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33566 * include/libc-symbols.h: Don't include libc-modules.h.
33567 * include/libc-modules.h: Remove file.
33568 * scripts/gen-libc-modules.awk: New script to generate
33569 libc-modules.h.
33570 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33571 Depend on libc-modules.stmp.
33572
33573 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33574
33575 * Makeconfig (in-module): Get value of libof set for the
33576 translation unit.
33577 (CPPFLAGS): Use $(in-module).
33578 * Makerules: Don't suffix routine names for nonlib.
33579 * include/libc-modules.h: New file.
33580 * include/libc-symbols.h: Include libc-modules.h
33581 (IS_IN): New macro to replace IS_IN_* macros.
33582 * elf/Makefile: Set libof-* for each routine.
33583 * elf/rtld-Rules: Likewise.
33584 * extra-modules.mk: Likewise.
33585 * iconv/Makefile: Likewise.
33586 * iconvdata/Makefile: Likewise.
33587 * locale/Makefile: Likewise.
33588 * malloc/Makefile: Likewise.
33589 * nss/Makefile: Likewise.
33590 * sysdeps/gnu/Makefile: Likewise.
33591 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33592 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33593 * sysdeps/s390/s390-64/Makefile: Likewise.
33594 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33595 CPPFLAGS for nscd instead of nonlib.
33596
33597 2014-11-18 Roland McGrath <roland@hack.frob.com>
33598
33599 * nptl/createthread.c: New file.
33600
33601 * nptl/createthread.c: Moved ...
33602 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33603
33604 * nptl/createthread.c: Add proper top-line comment.
33605 (do_clone): Folded into ...
33606 (create_thread): ... here. Take new arguments STOPPED_START and
33607 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33608 increment __nptl_threads, do event-reporting logic, do
33609 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33610 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33611 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33612 just send SIGCANCEL.
33613 * nptl/pthread_create.c: Forward-declare create_thread before
33614 including createthread.c.
33615 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33616 declaration, and new macro START_THREAD_SELF to replace argument.
33617 Remove return statement.
33618 (report_thread_creation): New function.
33619 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33620 synchronization logic, and __nptl_nthreads increment here, around
33621 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33622 PD->parent_cancelhandling here, before create_thread. When
33623 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33624 __deallocate_stack, and ENOMEM translation here.
33625
33626 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33627
33628 [BZ #17616]
33629 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33630 (mptwo): Rename to __mptwo.
33631 (__inv): Use __mptwo instead of mptwo.
33632 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33633 (mptwo): Rename to __mptwo.
33634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33635 of mpone and __mptwo instead of mptwo.
33636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33637 instead of mpone.
33638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33639 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33640 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33641 of mpone and __mptwo instead of mptwo.
33642 (__mpranred): Use __mpone instead of mpone.
33643 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33644 variable.
33645 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33646 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33647 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33648 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33649 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33650 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33651 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33652 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33653 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33654 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33655 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33656 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33657 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33658 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33659 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33660 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33661 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33662 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33663 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33664
33665 2014-11-18 Tom de Vries <tom@codesoucery.com>
33666
33667 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33668 replace BSD Handler xref with BSD Signal Handling.
33669
33670 2014-11-17 Richard Henderson <rth@redhat.com>
33671
33672 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33673 (_FP_PACK_RAW_2): Remove.
33674 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33675 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33676 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33677 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33678 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33679 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33680 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33681 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33682 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33683 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33684 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33685 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33686 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33687 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33688 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33689 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33690
33691 2014-11-14 Roland McGrath <roland@hack.frob.com>
33692
33693 * signal/signal.h [__USE_MISC]
33694 (struct sigvec): Remove type.
33695 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33696 (sigvec): Remove declaration.
33697 * sysdeps/posix/sigvec.c: Moved ...
33698 * signal/sigvec.c: ... here, replacing old file.
33699 (struct sigvec): New type, copied from old signal.h definition.
33700 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33701 (__sigvec): Convert definition to prototype.
33702 (sigvec): Replace weak_alias with compat_symbol.
33703 * signal/Versions (libc: GLIBC_2.21): New version set.
33704 * include/signal.h: Remove __sigvec declaration.
33705 * sysdeps/unix/bsd/sigvec.c: Remove file.
33706 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33707 * manual/signal.texi (BSD Handler): Remove subsection.
33708 Move siginterrupt up to ...
33709 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33710 (Blocking in BSD): Fold subsection into its parent.
33711 * NEWS: Mention sigvec removal.
33712
33713 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33714
33715 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33716 (DLA_FMS): Make definition conditional only on [__FMA4__].
33717 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33718 definition.
33719
33720 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33721 Make definition conditional only on [PROF].
33722 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33723 definition.
33724 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33725 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33726
33727 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33728 !__GNUC__].
33729 * include/signal.h (__sigpause): Move declaration above call to
33730 libc_hidden_proto.
33731 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33732 variable.
33733 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33734 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33735
33736 2014-11-14 David S. Miller <davem@davemloft.net>
33737
33738 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33739 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33740
33741 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33742
33743 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33744 * configure: Regenerated.
33745 * manual/install.texi (Tools for Compilation): Document a
33746 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33747 compiler verified to work.
33748 * INSTALL: Regenerated.
33749
33750 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33751 redeclare with asm name.
33752 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33753 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33754 including <string.h>.
33755 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33756 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33757 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33758 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33759 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33760 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33761 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33762
33763 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33764
33765 * stdlib/strtol.c (__strtol): Use prototype definition.
33766
33767 [BZ #17594]
33768 * stdlib/strtol.c (SYM__): New macro.
33769 (SYM__1): Likewise.
33770 (__strtol): Likewise.
33771 (strtol): Rename to __strtol and define as weak alias of
33772 __strtol. Use libc_hidden_weak.
33773
33774 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33775
33776 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33777 Use numbered labels in inline assembly.
33778
33779 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33780
33781 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33782 Add setjmp LIBC_PROBE.
33783 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33784 Likewise.
33785 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33786 Add longjmp, longjmp_target LIBC_PROBE.
33787 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33788 Likewise.
33789
33790 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33791
33792 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33793 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33794 to get rid of unused variable warning.
33795
33796 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33797
33798 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33799 Check for unwind_backtrace == NULL only in SHARED case.
33800 (__backchain_backtrace): Compile only in SHARED case.
33801 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33802 Likewise.
33803 (__backchain_backtrace): Declare as static.
33804
33805 2014-11-12 Roland McGrath <roland@hack.frob.com>
33806
33807 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33808 (__libc_multiple_threads_ptr): Variable moved ...
33809 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33810
33811 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33812
33813 * conform/GlibcConform.pm: New file.
33814 * conform/conformtest.pl: Use GlibcConform module.
33815 * conform/linknamespace.pl: New file.
33816 * conform/list-header-symbols.pl: Likewise.
33817 * conform/Makefile (linknamespace-symlists-base): New variable.
33818 (linknamespace-symlists-tests): Likewise.
33819 (linknamespace-header-base): Likewise.
33820 (linknamespace-header-tests): Likewise.
33821 (tests-special): Add new tests.
33822 ($(linknamespace-symlists-tests)): New rule.
33823 (linknamespace-libs): New variable.
33824 ($(objpfx)symlist-stdlibs): New rule.
33825 ($(linknamespace-header-tests)): Likewise.
33826 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33827 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33828 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33829 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33830 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33831 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33832 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33833 (test-xfail-ISO/math.h/linknamespace): Likewise.
33834 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33835 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33836 (test-xfail-ISO/time.h/linknamespace): Likewise.
33837 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33838 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33839 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33840 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33841 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33842 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33843 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33844 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33845 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33846 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33847 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33848 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33849 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33850 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33851 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33852 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33853 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33854 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33855 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33856 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33857 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33858 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33859 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33860 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33861 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33862 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33863 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33864 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33865 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33866 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33867 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33868 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33869 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33870 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33871 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33872 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33873 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33874 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33875 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33876 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33877 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33878 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33879 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33880 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33881 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33882 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33883 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33884 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33885 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33886 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33887 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33888 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33889 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33890 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33891 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33892 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33893 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33894 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33895 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33896 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33897 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33898 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33899 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33900 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33901 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33902 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33903 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33904 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33905 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33906 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33907 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33908 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33909 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33910 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33911 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33912 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33913 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33914 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33915 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33916 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33917 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33918 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33919 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33920 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33921 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33922 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33923 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33924 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33925 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33926 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33927 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33928 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33929 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33930 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33931 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33932 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33933 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33934 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33935 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33936 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33937 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33938 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33939 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33940 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33941 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33942 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33943 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33944 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33945 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33946 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33947 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33948 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33949 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33950 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33951 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33952 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33953 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33954 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33955 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33956 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33957 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33958 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33959 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33960 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33961 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33962 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33963 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33964 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33965 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33966 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33967 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33968 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33969 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33970 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33971 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33972 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33973 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33974 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33975 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33976 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33977 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33978 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33979 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33980 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33981 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33982 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33983 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33984 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33985 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33986 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33987
33988 [BZ #17589]
33989 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33990 of fgets_unlocked.
33991
33992 [BZ #17585]
33993 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33994 (memmem): Rename to __memmem and define as weak alias of
33995 __memmem. Use libc_hidden_weak.
33996 (__memmem): Use libc_hidden_def.
33997 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33998 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33999 memmem.
34000
34001 [BZ #17582]
34002 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34003 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
34004 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34005 and define as weak alias of __fgets_unlocked. Use
34006 libc_hidden_weak.
34007 (__fgets_unlocked): Use libc_hidden_def.
34008 * include/stdio.h (__fgets_unlocked): Declare. Use
34009 libc_hidden_proto.
34010 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34011 __fgets_unlocked instead of fgets_unlocked.
34012 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34013 (GET_NPROCS_CONF_PARSER): Likewise.
34014 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34015 (GET_NPROCS_CONF_PARSER): Likewise.
34016
34017 [BZ #17574]
34018 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34019 weak alias of __wmemset. Use libc_hidden_weak.
34020 (__wmemset): Use libc_hidden_def.
34021 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
34022 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34023 of wmemset.
34024
34025 [BZ #17573]
34026 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34027 with asm name __mempcpy.
34028 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34029
34030 [BZ #17572]
34031 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34032 and define as weak alias of __rawmemchr.
34033 (__rawmemchr): Do not define as strong alias of rawmemchr.
34034
34035 [BZ #17571]
34036 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34037 alias of __qsort_r.
34038 (qsort): Call __qsort_r instead of qsort_r.
34039 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34040 (__qsort_r): Declare. Call libc_hidden_proto.
34041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34042 instead of qsort_r.
34043 * nscd/gai.c (__qsort_r): Define to qsort_r.
34044 * posix/tst-rfc3484.c (__qsort_r): Likewise.
34045 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34046 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34047
34048 [BZ #17570]
34049 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34050 define as weak alias of __malloc_info.
34051
34052 [BZ #17584]
34053 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34054 as weak alias of __rewinddir. Don't use libc_hidden_def.
34055 (__rewinddir): Use libc_hidden_def.
34056 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34057 as weak alias of __rewinddir. Don't use libc_hidden_def.
34058 (__rewinddir): Use libc_hidden_def.
34059 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34060 weak alias of __rewinddir. Don't use libc_hidden_def.
34061 (__rewinddir): Use libc_hidden_def.
34062 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34063 (__rewinddir): Use libc_hidden_proto.
34064 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34065 rewinddir.
34066 (__getcwd): Use __rewinddir instead of rewinddir.
34067
34068 [BZ #17583]
34069 * libio/fileno.c (fileno): Rename to __fileno and define as weak
34070 alias of __fileno. Use libc_hidden_weak.
34071 (__fileno): Use libc_hidden_def.
34072 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34073 * libio/ftello.c (ftello): Rename to __ftello and define as weak
34074 alias of __ftello.
34075 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34076 __ftello.
34077 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34078 (__fread_unlocked): Define as strong alias of _IO_fread. Use
34079 libc_hidden_def.
34080 (fread_unlocked): Don't use libc_hidden_ver.
34081 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34082 and define as weak alias of __fread_unlocked. Don't use
34083 libc_hidden_def.
34084 (__fread_unlocked): Use libc_hidden_def.
34085 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
34086 (ftello): Don't use libc_hidden_proto.
34087 (__ftello): Declare. Use libc_hidden_proto.
34088 (fread_unlocked): Don't use libc_hidden_proto.
34089 (__fread_unlocked): Declare. Use libc_hidden_proto.
34090 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34091 and __ftello instead of fileno, fread_unlocked and ftello.
34092
34093 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34094
34095 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34096 GOT12.
34097 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34098 Likewise.
34099 (_dl_start_user): Likewise.
34100 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34101
34102 2014-11-12 Carlos O'Donell <carlos@redhat.com>
34103 Siddhesh Poyarekar <siddhesh@redhat.com>
34104
34105 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34106 Move argv and envp down instead of moving argc up.
34107 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34108
34109 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
34110
34111 [BZ #17506]
34112 * test-skeleton.c (main): Return successful if one of
34113 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34114 * string/tst-strcoll-overflow.c: Define expected status.
34115
34116 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
34117
34118 [BZ #17475]
34119 * locale/iso-639.def: Define Bhili and Tulu language codes.
34120
34121 2014-11-11 Alan Hayward <alan.hayward@arm.com>
34122
34123 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34124
34125 2014-11-10 Renlin Li <Renlin.Li@arm.com>
34126
34127 [BZ #17555]
34128 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34129
34130 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
34131
34132 * configure.ac: Updated check of minimal required version to
34133 2.22.
34134 * manual/install.texi (Tools for Compilation): Updated version
34135 number.
34136 * configure: Regenerated.
34137 * INSTALL: Likewise.
34138
34139 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
34140
34141 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34142 __tls_get_addr.
34143
34144 2014-11-07 Joseph Myers <joseph@codesourcery.com>
34145
34146 * include/sys/wait.h (__libc_waitpid): Remove declaration.
34147 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34148 (__waitpid): Don't define as alias. Use libc_hidden_def not
34149 libc_hidden_weak.
34150 (waitpid): Define as alias of __waitpid.
34151 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34152 __waitpid.
34153 (__waitpid): Don't define as alias. Use libc_hidden_def not
34154 libc_hidden_weak.
34155 (waitpid): Define as alias of __waitpid.
34156 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34157 __libc_waitpid alias.
34158 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34159 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34160 Likewise.
34161 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34162 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34163 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34164 alias.
34165 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34166 __waitpid.
34167 (__waitpid): Don't define as alias. Use libc_hidden_def not
34168 libc_hidden_weak.
34169 (waitpid): Define as alias of __waitpid.
34170
34171 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34172
34173 * manual/llio.texi: Add comment that write safety has been
34174 fixed in Linux.
34175
34176 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34177 (localplt-build-dso): Add elf/ld.so.
34178 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34179 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34180 and free for ld.so.
34181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34182 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34184 Likewise.
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34186 Likewise.
34187 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34188 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34189 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34190 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34191 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34192 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34193 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34194 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34195 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34196 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34197 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34198
34199 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34200
34201 [BZ #14132]
34202 * include/libc-symbols.h (INTUSE): Remove macro.
34203 (INTDEF): Likewise.
34204 (INTVARDEF): Likewise.
34205 (_INTVARDEF): Likewise.
34206 (INTDEF2): Likewise.
34207 (INTVARDEF2): Likewise.
34208 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34209 rtld_hidden_def instead of INTVARDEF.
34210 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34211 (_dl_starting_up_internal): Remove declaration.
34212 (_dl_starting_up): Use rtld_hidden_proto.
34213 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34214 declaration.
34215 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34216 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34217 _dl_starting_up.
34218 * elf/dl-writev.h (_dl_writev): Likewise.
34219 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34220 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34221 _dl_starting_up_internal.
34222
34223 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34224
34225 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34226 test-skeleton.c.
34227
34228 2014-11-05 Will Newton <will.newton@linaro.org>
34229
34230 * benchtests/Makefile: (bench-malloc): Add malloc thread
34231 scalability benchmark.
34232 * benchtests/bench-malloc-threads.c: New file.
34233
34234 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34235
34236 * sysdeps/aarch64/strchrnul.S: New file.
34237
34238 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34239
34240 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34241 definition.
34242 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34243 Likewise.
34244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34245 Likewise.
34246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34247 Likewise.
34248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34249 Likewise.
34250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34251 Likewise.
34252
34253 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34254
34255 * catgets/test-gencat.c: Use test-skeleton.c.
34256 * catgets/tst-catgets.c: Likewise.
34257 * csu/tst-empty.c: Likewise.
34258 * elf/tst-audit2.c: Likewise.
34259 * elf/tst-global1.c: Likewise.
34260 * elf/tst-pathopt.c: Likewise.
34261 * elf/tst-piemod1.c: Likewise.
34262 * elf/tst-tls10.c: Likewise.
34263 * elf/tst-tls11.c: Likewise.
34264 * elf/tst-tls12.c: Likewise.
34265 * gnulib/tst-gcc.c: Likewise.
34266 * iconvdata/tst-e2big.c: Likewise.
34267 * iconvdata/tst-loading.c: Likewise.
34268 * iconv/tst-iconv1.c: Likewise.
34269 * iconv/tst-iconv2.c: Likewise.
34270 * inet/test-inet6_opt.c: Likewise.
34271 * inet/tst-gethnm.c: Likewise.
34272 * inet/tst-network.c: Likewise.
34273 * inet/tst-ntoa.c: Likewise.
34274 * intl/tst-codeset.c: Likewise.
34275 * intl/tst-gettext2.c: Likewise.
34276 * intl/tst-gettext3.c: Likewise.
34277 * intl/tst-ngettext.c: Likewise.
34278 * intl/tst-translit.c: Likewise.
34279 * io/test-stat.c: Likewise.
34280 * libio/test-fmemopen.c: Likewise.
34281 * libio/tst-freopen.c: Likewise.
34282 * libio/tst-sscanf.c: Likewise.
34283 * libio/tst-ungetwc1.c: Likewise.
34284 * libio/tst-ungetwc2.c: Likewise.
34285 * libio/tst-widetext.c: Likewise.
34286 * localedata/tst-ctype.c: Likewise.
34287 * localedata/tst-digits.c: Likewise.
34288 * localedata/tst-leaks.c: Likewise.
34289 * localedata/tst-mbswcs1.c: Likewise.
34290 * localedata/tst-mbswcs2.c: Likewise.
34291 * localedata/tst-mbswcs3.c: Likewise.
34292 * localedata/tst-mbswcs4.c: Likewise.
34293 * localedata/tst-mbswcs5.c: Likewise.
34294 * localedata/tst-setlocale.c: Likewise.
34295 * localedata/tst-trans.c: Likewise.
34296 * localedata/tst-wctype.c: Likewise.
34297 * localedata/tst-xlocale1.c: Likewise.
34298 * login/tst-grantpt.c: Likewise.
34299 * malloc/tst-calloc.c: Likewise.
34300 * malloc/tst-malloc.c: Likewise.
34301 * malloc/tst-mallocstate.c: Likewise.
34302 * malloc/tst-mcheck.c: Likewise.
34303 * malloc/tst-mtrace.c: Likewise.
34304 * malloc/tst-obstack.c: Likewise.
34305 * math/atest-exp2.c: Likewise.
34306 * math/atest-exp.c: Likewise.
34307 * math/atest-sincos.c: Likewise.
34308 * math/test-matherr.c: Likewise.
34309 * math/test-misc.c: Likewise.
34310 * math/test-powl.c: Likewise.
34311 * math/tst-definitions.c: Likewise.
34312 * misc/tst-dirname.c: Likewise.
34313 * misc/tst-efgcvt.c: Likewise.
34314 * misc/tst-fdset.c: Likewise.
34315 * misc/tst-hsearch.c: Likewise.
34316 * misc/tst-mntent2.c: Likewise.
34317 * nptl/tst-sem7.c: Likewise.
34318 * nptl/tst-sem8.c: Likewise.
34319 * nptl/tst-sem9.c: Likewise.
34320 * nss/test-netdb.c: Likewise.
34321 * posix/tst-fnmatch.c: Likewise.
34322 * posix/tst-getlogin.c: Likewise.
34323 * posix/tst-gnuglob.c: Likewise.
34324 * posix/tst-mmap.c: Likewise.
34325 * pwd/tst-getpw.c: Likewise.
34326 * resolv/tst-inet_ntop.c: Likewise.
34327 * rt/tst-timer.c: Likewise.
34328 * stdio-common/test-fseek.c: Likewise.
34329 * stdio-common/test-popen.c: Likewise.
34330 * stdio-common/test-vfprintf.c: Likewise.
34331 * stdio-common/tst-cookie.c: Likewise.
34332 * stdio-common/tst-fileno.c: Likewise.
34333 * stdio-common/tst-gets.c: Likewise.
34334 * stdio-common/tst-obprintf.c: Likewise.
34335 * stdio-common/tst-perror.c: Likewise.
34336 * stdio-common/tst-sprintf2.c: Likewise.
34337 * stdio-common/tst-sprintf3.c: Likewise.
34338 * stdio-common/tst-sprintf.c: Likewise.
34339 * stdio-common/tst-swprintf.c: Likewise.
34340 * stdio-common/tst-tmpnam.c: Likewise.
34341 * stdio-common/tst-unbputc.c: Likewise.
34342 * stdio-common/tst-wc-printf.c: Likewise.
34343 * stdlib/tst-environ.c: Likewise.
34344 * stdlib/tst-fmtmsg.c: Likewise.
34345 * stdlib/tst-limits.c: Likewise.
34346 * stdlib/tst-rand48-2.c: Likewise.
34347 * stdlib/tst-rand48.c: Likewise.
34348 * stdlib/tst-random2.c: Likewise.
34349 * stdlib/tst-random.c: Likewise.
34350 * stdlib/tst-strtol.c: Likewise.
34351 * stdlib/tst-strtoll.c: Likewise.
34352 * stdlib/tst-tls-atexit.c: Likewise.
34353 * stdlib/tst-xpg-basename.c: Likewise.
34354 * string/test-ffs.c: Likewise.
34355 * string/tst-bswap.c: Likewise.
34356 * string/tst-inlcall.c: Likewise.
34357 * string/tst-strtok.c: Likewise.
34358 * string/tst-strxfrm.c: Likewise.
34359 * sysdeps/x86_64/tst-audit10.c: Likewise.
34360 * sysdeps/x86_64/tst-audit3.c: Likewise.
34361 * sysdeps/x86_64/tst-audit4.c: Likewise.
34362 * sysdeps/x86_64/tst-audit5.c: Likewise.
34363 * time/tst-ftime_l.c: Likewise.
34364 * time/tst-getdate.c: Likewise.
34365 * time/tst-mktime3.c: Likewise.
34366 * time/tst-mktime.c: Likewise.
34367 * time/tst-posixtz.c: Likewise.
34368 * time/tst-strptime2.c: Likewise.
34369 * time/tst-strptime3.c: Likewise.
34370 * wcsmbs/tst-btowc.c: Likewise.
34371 * wcsmbs/tst-mbrtowc.c: Likewise.
34372 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34373 * wcsmbs/tst-wchar-h.c: Likewise.
34374 * wcsmbs/tst-wcpncpy.c: Likewise.
34375 * wcsmbs/tst-wcrtomb.c: Likewise.
34376 * wcsmbs/tst-wcsnlen.c: Likewise.
34377 * wcsmbs/tst-wcstof.c: Likewise.
34378
34379 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34380
34381 [BZ #14132]
34382 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34383 INTDEF.
34384 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34385 declaration.
34386 (_dl_mcount): Use rtld_hidden_proto.
34387 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34388 _dl_mcount.
34389 * elf/rtld.c (_rtld_global_ro): Likewise.
34390
34391 [BZ #14132]
34392 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34393 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34394 of _dl_init_internal.
34395 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34396 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34397 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34398 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34399 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34400 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34401 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34402 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34403 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34404 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34405 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34406 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34407 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34408 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34409 * sysdeps/tile/dl-start.S (_start): Likewise.
34410 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34411 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34412
34413 [BZ #14132]
34414 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34415 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34416 (rtld_progname): Make macro definition unconditional.
34417 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34418 INTDEF.
34419 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34420 (dl_main): Likewise.
34421 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34422 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34423 instead of _dl_argv_internal.
34424 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34425 __GI__dl_argv instead of INTUSE(_dl_argv).
34426 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34427 __GI__dl_argv instead of _dl_argv_internal.
34428
34429 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34430 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34431 macro.
34432 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34433 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34434 New macro.
34435 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34436 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34437 macro.
34438 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34439 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34440
34441 2014-11-04 Andreas Schwab <schwab@suse.de>
34442
34443 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34444
34445 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34446
34447 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34448 mtvsrd instruction in binary form.
34449
34450 2014-11-03 Andreas Schwab <schwab@suse.de>
34451
34452 [BZ #17522]
34453 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34454 for less than MB_LEN_MAX use a local buffer of that size.
34455 * libio/tst-fputws.c: New file.
34456 * libio/Makefile (tests): Add tst-fputws.
34457
34458 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34459
34460 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34461 the size of the fpu_fr.fpu_dregs[] array.
34462
34463 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34464
34465 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34466 (__nanosleep): Do not define as alias.
34467 (nanosleep): Define as alias of __nanosleep.
34468 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34469 __libc_nanosleep name.
34470
34471 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34472
34473 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34474 install.texi in comment.
34475
34476 2014-10-31 Torvald Riegel <triegel@redhat.com>
34477
34478 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34479 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34480 ... add here and use lwsync or sync ...
34481 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34482 ... and add here using lwsync.
34483
34484 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34485
34486 * elf/dl-machine-reject-phdr.h: New file.
34487 * elf/dl-load.c: #include that.
34488 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34489 if that returned true.
34490
34491 2014-10-31 Roland McGrath <roland@hack.frob.com>
34492
34493 [BZ #17496]
34494 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34495 gen-as-const-headers chunk. Add a big scare comment after the last
34496 safe place to touch before-compile.
34497
34498 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34499
34500 * manual/install.texi (Tools for Compilation): Update autoconf
34501 version requirements.
34502 * INSTALL: Regenerated.
34503
34504 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34505 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34506 (__libc_pselect): Likewise.
34507
34508 [BZ #14138]
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34513
34514 2014-10-31 Torvald Riegel <triegel@redhat.com>
34515
34516 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34517 correct barrier instruction.
34518 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34519 Likewise.
34520 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34521 Likewise.
34522
34523 2014-10-30 Roland McGrath <roland@hack.frob.com>
34524
34525 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34526 after defining inlines. Instead, just use parens to defeat macro
34527 expansion of __isctype in its declaration.
34528
34529 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34530
34531 * include/sys/uio.h (__libc_readv): Remove declaration.
34532 (__libc_writev): Likewise.
34533 * misc/readv.c (__libc_readv): Rename to __readv.
34534 (__readv): Do not define as alias.
34535 (readv): Define as alias of __readv.
34536 * misc/writev.c (__libc_writev): Rename to __writev.
34537 (__writev): Do not define as alias.
34538 (writev): Define as alias of __writev.
34539 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34540 (__readv): Do not define as alias.
34541 (readv): Define unconditionally as alias of __readv.
34542 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34543 (__writev): Do not define as alias.
34544 (writev): Define unconditionally as alias of __writev.
34545 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34546 name.
34547 (writev): Do not define __libc_writev name.
34548
34549 2014-10-30 Roland McGrath <roland@hack.frob.com>
34550
34551 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34552 (convert_charseq): New function, broken out of ...
34553 (use_from_charmap): ... here. Call it.
34554 (use_to_charmap): Use convert_charseq and free instead of duplicating
34555 its code with a variable-length stack struct.
34556
34557 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34558
34559 * include/fcntl.h (__libc_creat): Remove declaration.
34560 * io/creat.c (__libc_creat): Rename to creat.
34561 (creat): Do not define as alias.
34562 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34563 of creat instead of __libc_creat.
34564 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34565 to creat.
34566 (creat): Do not define as alias.
34567 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34568 __libc_creat.
34569 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34570 __libc_creat name.
34571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34572 Likewise.
34573
34574 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34575
34576 * manual/llio.texi: Add comments discussing why write() may be
34577 considered MT-unsafe on Linux.
34578
34579 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34580
34581 * dl-load.c (local_strdup): Remove.
34582 (expand_dynamic_string_token): Use __strdup.
34583 (decompose_rpath): Likewise.
34584 (_dl_map_object): Likewise.
34585
34586 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34587
34588 [BZ #14132]
34589 * sysdeps/generic/unwind-dw2-fde.c
34590 (__register_frame_info_bases_internal): Do not declare.
34591 (__register_frame_info_table_bases_internal): Likewise.
34592 (__deregister_frame_info_bases_internal): Likewise.
34593 (__register_frame_info_bases): Declare and use hidden_proto before
34594 definition. Use hidden_def instead of INTDEF.
34595 (__register_frame_info_table_bases): Likewise.
34596 (__deregister_frame_info_bases): Likewise.
34597 (__register_frame_info): Do not use INTUSE.
34598 (__register_frame): Likewise.
34599 (__register_frame_info_table): Likewise.
34600 (__register_frame_table): Likewise.
34601 (__deregister_frame_info): Likewise.
34602 (__deregister_frame): Likewise.
34603
34604 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34605
34606 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34607 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34608 not undefine.
34609 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34610 Likewise.
34611 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34612 Likewise.
34613
34614 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34615
34616 [BZ #14138]
34617 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34618 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34619 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34620 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34621 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34622 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34623 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34624 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34625 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34626 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34627 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34629 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34630 syscall.
34631 (setfsuid): Likewise.
34632 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34633 (setfsuid): Likewise.
34634 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34635 (setfsuid): Likewise.
34636 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34637 Likewise.
34638 (setfsuid): Likewise.
34639 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34640 (setfsuid): Likewise.
34641 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34642 Likewise.
34643 (setfsuid): Likewise.
34644
34645 2014-10-27 Andreas Schwab <schwab@suse.de>
34646
34647 [BZ #17501]
34648 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34649 check for Slow_SSE4_2 feature bit.
34650 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34651 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34652 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34653 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34654
34655 2014-10-24 Roland McGrath <roland@hack.frob.com>
34656
34657 * configure.ac: Validate compiler version with a empirical test of
34658 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34659 $CC -v output.
34660 * configure: Regenerated.
34661
34662 * inet/htons.c (htons): Prototypify.
34663 * inet/htonl.c (htonl): Likewise.
34664
34665 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34666
34667 * string/strncat.c (strncat): Improve performance by using strlen.
34668
34669 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34670
34671 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34672
34673 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34674
34675 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34676 Call libc_fetestexcept_aarch64.
34677
34678 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34679
34680 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34681 Call libc_feholdexcept_aarch64.
34682
34683 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34684
34685 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34686 Call get_rounding_mode.
34687
34688 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34689
34690 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34691 Simplify logic.
34692
34693 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34694
34695 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34696 Simplify logic.
34697
34698 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34699
34700 [BZ #14138]
34701 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34702 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34703 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34704 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34705 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34706 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34707 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34708 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34709 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34710 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34711 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34712 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34713 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34714 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34715 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34716 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34717 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34718 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34719 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34720 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34721 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34722 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34723 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34724 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34725 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34726 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34727 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34728 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34729 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34730 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34731 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34732 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34733 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34734 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34735 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34736 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34737 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34738 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34739 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34740 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34741 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34742 syscall.
34743 (geteuid): Likewise.
34744 (getgid): Likewise.
34745 (getuid): Likewise.
34746 (getresgid): Likewise.
34747 (getresuid): Likewise.
34748 (getgroups): Likewise.
34749 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34750 (geteuid): Likewise.
34751 (getgid): Likewise.
34752 (getuid): Likewise.
34753 (getresgid): Likewise.
34754 (getresuid): Likewise.
34755 (getgroups): Likewise.
34756 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34757 (geteuid): Likewise.
34758 (getgid): Likewise.
34759 (getuid): Likewise.
34760 (getresgid): Likewise.
34761 (getresuid): Likewise.
34762 (getgroups): Likewise.
34763 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34764 Likewise.
34765 (geteuid): Likewise.
34766 (getgid): Likewise.
34767 (getuid): Likewise.
34768 (getresgid): Likewise.
34769 (getresuid): Likewise.
34770 (getgroups): Likewise.
34771 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34772 (geteuid): Likewise.
34773 (getgid): Likewise.
34774 (getuid): Likewise.
34775 (getresgid): Likewise.
34776 (getresuid): Likewise.
34777 (getgroups): Likewise.
34778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34779 Likewise.
34780 (geteuid): Likewise.
34781 (getgid): Likewise.
34782 (getuid): Likewise.
34783 (getgroups): Likewise.
34784
34785 [BZ #14138]
34786 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34787 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34788 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34789 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34790 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34791 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34792 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34793 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34794 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34795 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34796 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34798 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34799 __chown.
34800 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34801 (lchown): Likewise.
34802 (fchown): Likewise.
34803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34804 Likewise.
34805 (lchown): Likewise.
34806 (fchown): Likewise.
34807 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34808 (lchown): Likewise.
34809 (fchown): Likewise.
34810 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34811 Likewise.
34812 (lchown): Likewise.
34813 (fchown): Likewise.
34814
34815 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34816
34817 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34818 Simplify logic.
34819
34820 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34821
34822 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34823 Cleanup logic.
34824
34825 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34826
34827 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34828 Remove unused include.
34829
34830 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34831
34832 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34833 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34834 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34835 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34836
34837 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34838 Helge Deller <deller@gmx.de>
34839
34840 [BZ #17508]
34841 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34842 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34843 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34844
34845 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34846
34847 [BZ #14132]
34848 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34849 Remove macro definition.
34850 (__ashrdi3_v_glibc20): Likewise.
34851 (__lshrdi3_v_glibc20): Likewise.
34852 (__cmpdi2_v_glibc20): Likewise.
34853 (__ucmpdi2_v_glibc20): Likewise.
34854 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34855 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34856 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34857 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34858 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34859 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34860
34861 2014-10-22 Roland McGrath <roland@hack.frob.com>
34862
34863 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34864 old GNU extension [0] syntax.
34865 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34866 alloca rather than an array member with variable length.
34867 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34868 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34869 (parse_opt): ... here. Likewise use alloca there.
34870 Validate the -i argument before checking for rootness.
34871 (send_shutdown): New function, broken out of ...
34872 (parse_opt): ... here.
34873
34874 2014-10-22 Roland McGrath <roland@hack.frob.com>
34875
34876 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34877 macro to get at the _rt_local_ro field.
34878 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34879 ([PIC] case) or _dl_hwcap ([!PIC] case).
34880 * sysdeps/arm/setjmp.S: Likewise.
34881
34882 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34883 * sysdeps/arm/configure.ac: New check to define it.
34884 * sysdeps/arm/configure: Regenerated.
34885 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34886 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34887 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34888 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34889 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34890 Use move/movt pair instead of a load.
34891 (LDST_GLOBAL): Macro removed.
34892 (LDR_GLOBAL): New macro replaces it.
34893 (LDR_HIDDEN): New macro.
34894 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34895 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34896
34897 * setjmp/tst-setjmp-static.c: New file.
34898 * setjmp/Makefile (tests): Add it.
34899 (tests-static): New variable.
34900
34901 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34902
34903 [BZ #17485]
34904 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34905
34906 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34907
34908 [BZ #14132]
34909 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34910
34911 2014-10-21 Roland McGrath <roland@hack.frob.com>
34912
34913 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34914
34915 2014-10-20 Roland McGrath <roland@hack.frob.com>
34916
34917 * io/fts.c (dirent_not_directory): New function.
34918 (fts_build): Call it.
34919
34920 2014-10-20 Roland McGrath <roland@hack.frob.com>
34921
34922 * nptl/version.c (__nptl_main): Use normal __write rather than
34923 INTERNAL_SYSCALL.
34924 (banner): Update copyright years.
34925
34926 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34927 gettimeofday.
34928 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34929 * nptl/pthread_cond_timedwait.c: Likewise.
34930 * nptl/pthread_mutex_timedlock.c: Likewise.
34931 * nptl/sem_timedwait.c: Likewise.
34932
34933 * sysdeps/nptl/bits/libc-lock.h
34934 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34935 (__libc_lock_init_recursive): Return void, not 0.
34936 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34937 (__libc_rwlock_init): Likewise.
34938 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34939
34940 2014-10-20 Torvald Riegel <triegel@redhat.com>
34941
34942 [BZ #15215]
34943 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34944 (__pthread_once_slow): ... here.
34945 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34946 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34947
34948 2014-10-20 Torvald Riegel <triegel@redhat.com>
34949
34950 [BZ #15215]
34951 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34952 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34953 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34954 * nptl/pthread_once.c (__pthread_once): Likewise.
34955 Update comments.
34956
34957 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34958
34959 [BZ #14138]
34960 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34961 name.
34962 (writev): Use __libc_writev as strong name.
34963 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34964 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34965
34966 2014-10-17 Roland McGrath <roland@hack.frob.com>
34967
34968 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34969
34970 * sysdeps/i386/nptl/tls.h
34971 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34972 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34973 New macros.
34974 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34975 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34976 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34977 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34978 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34979 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34980
34981 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34982 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34983 on [__NR_futex].
34984 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34985 broken out of ...
34986 (__pthread_mutex_init): ... here. Call it.
34987 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34988 Conditionalize PI cases on [__NR_futex].
34989 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34990 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34991 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34992
34993 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34994 conditional on [SIGSETXID].
34995 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34996 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34997 is defined. Likewise for SIGSETXID.
34998 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34999 Conditionalize definitions on [SIGSETXID].
35000 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35001 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35002 unblocking on [SIGCANCEL].
35003
35004 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35005 [__NR_set_robust_list].
35006
35007 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35008
35009 * string/strcoll_l.c (get_next_seq): Fix up formatting.
35010 (do_compare): Likewise.
35011
35012 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
35013
35014 [BZ #15884]
35015 * string/strcoll_l.c: Don't include stdio.h.
35016 (coll_seq): Remove members idxarr and rulearr.
35017 (get_next_seq_cached): Remove function.
35018 (get_next_seq): Likewise.
35019 (get_next_seq_nocache): Rename to get_next_seq.
35020 (do_compare): Remove function.
35021 (do_compare_nocache): Rename to do_compare.
35022 (STRCOLL): Remove weight and rules cache.
35023
35024 2014-10-16 Roland McGrath <roland@hack.frob.com>
35025
35026 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35027 * sysdeps/arm/sfp-machine.h: ... to here.
35028 * sysdeps/arm/Implies: Remove arm/soft-fp.
35029
35030 2014-10-14 Joseph Myers <joseph@codesourcery.com>
35031
35032 * conform/data/sys/utsname.h-data (*_t): Allow.
35033 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35034 [POSIX] (WEXITED): Do not expect constant.
35035 [POSIX] (WSTOPPED): Likewise.
35036 [POSIX] (WNOHANG): Likewise.
35037 [POSIX] (WNOWAIT): Likewise.
35038 [POSIX] (siginfo_t): Do not expect type or elements.
35039 [POSIX] (pid_t): Do not expect type.
35040 [POSIX] (signal.h): Do not allow header.
35041 [POSIX] (sys/resource.h): Likewise.
35042 [POSIX] (si_*): Do not allow pattern.
35043 [POSIX] (W*): Likewise.
35044 [POSIX] (P_*): Likewise.
35045 [POSIX] (BUS_*): Likewise.
35046 [POSIX] (CLD_*): Likewise.
35047 [POSIX] (FPE_*): Likewise.
35048 [POSIX] (ILL_*): Likewise.
35049 [POSIX] (POLL_*): Likewise.
35050 [POSIX] (SEGV_*): Likewise.
35051 [POSIX] (SI_*): Likewise.
35052 [POSIX] (TRAP_*): Likewise.
35053 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35054 variable.
35055
35056 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
35057
35058 [BZ #12926]
35059 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35060 infinite loop when __recvmsg returns 0.
35061
35062 2014-10-10 Joseph Myers <joseph@codesourcery.com>
35063
35064 * CANCEL-FCT-WAIVE: Remove file.
35065 * CANCEL-FILE-WAIVE: Likewise.
35066
35067 [BZ #14132]
35068 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35069 instead of INTVARDEF.
35070 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35071 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35072 rtld_hidden_data_def instead of INTVARDEF.
35073 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35074 * elf/dl-deps.c (expand_dst): Likewise.
35075 * elf/dl-load.c (_dl_dst_count): Likewise.
35076 (_dl_dst_substitute): Likewise.
35077 (decompose_rpath): Likewise.
35078 (_dl_init_paths): Likewise.
35079 (open_path): Likewise.
35080 (_dl_map_object): Likewise.
35081 * elf/rtld.c (dl_main): Likewise.
35082 (process_dl_audit): Likewise.
35083 (process_envvars): Likewise.
35084 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35085 Remove declaration.
35086 (__libc_enable_secure): Use rtld_hidden_proto.
35087
35088 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35089
35090 * elf/dl-load.c
35091 (add_path): New function broken out of _dl_rtld_di_serinfo.
35092 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
35093
35094 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35095
35096 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35097 parentheses around macro arguments.
35098 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35099 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35100 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35101 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35102 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35103 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35104 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35107 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35108 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35109 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35110 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35111 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35112 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35113 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35114 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35115 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35116 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35117 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35118 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35120 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35121 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35122 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35124 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35125 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35126 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35127 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35128 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35129 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35130 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35131 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35132 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35133 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35134 Likewise.
35135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35136 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35137 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35140 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35141 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35142 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35144 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35145 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35146 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35147 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35149 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35150 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35152 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35153 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35154 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35156 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35157 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35158 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35159 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35160 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35161 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35162 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35163 (_FP_FRAC_SRS_1): Likewise.
35164 (_FP_FRAC_CLZ_1): Likewise.
35165 (_FP_MUL_MEAT_1_imm): Likewise.
35166 (_FP_MUL_MEAT_1_wide): Likewise.
35167 (_FP_MUL_MEAT_1_hard): Likewise.
35168 (_FP_SQRT_MEAT_1): Likewise.
35169 (_FP_FRAC_ASSEMBLE_1): Likewise.
35170 (_FP_FRAC_DISASSEMBLE_1): Likewise.
35171 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35172 (__FP_CLZ_2): Likewise.
35173 (_FP_MUL_MEAT_2_wide): Likewise.
35174 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35175 (_FP_MUL_MEAT_2_gmp): Likewise.
35176 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35177 (_FP_SQRT_MEAT_2): Likewise.
35178 (_FP_FRAC_ASSEMBLE_2): Likewise.
35179 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35180 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35181 (_FP_FRAC_CLZ_4): Likewise.
35182 (_FP_MUL_MEAT_4_wide): Likewise.
35183 (_FP_MUL_MEAT_4_gmp): Likewise.
35184 (_FP_SQRT_MEAT_4): Likewise.
35185 (_FP_FRAC_ASSEMBLE_4): Likewise.
35186 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35187 * soft-fp/op-common.h (_FP_CMP): Likewise.
35188 (_FP_CMP_EQ): Likewise.
35189 (_FP_CMP_UNORD): Likewise.
35190 (_FP_TO_INT): Likewise.
35191 (_FP_FROM_INT): Likewise.
35192 [!__FP_CLZ] (__FP_CLZ): Likewise.
35193 (_FP_DIV_HELP_imm): Likewise.
35194 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35195 Likewise.
35196 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35199 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35201 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35202 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35203 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35206 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35207 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35208 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35209 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35210 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35211 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35212 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35225 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35230 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35231 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35232 (FP_UNPACK_RAW_SP): Likewise.
35233 (FP_PACK_RAW_S): Likewise.
35234 (FP_PACK_RAW_SP): Likewise.
35235 (FP_UNPACK_S): Likewise.
35236 (FP_UNPACK_SP): Likewise.
35237 (FP_UNPACK_SEMIRAW_S): Likewise.
35238 (FP_UNPACK_SEMIRAW_SP): Likewise.
35239 (FP_PACK_S): Likewise.
35240 (FP_PACK_SP): Likewise.
35241 (FP_PACK_SEMIRAW_S): Likewise.
35242 (FP_PACK_SEMIRAW_SP): Likewise.
35243 (_FP_SQRT_MEAT_S): Likewise.
35244 (FP_CMP_S): Likewise.
35245 (FP_CMP_EQ_S): Likewise.
35246 (FP_CMP_UNORD_S): Likewise.
35247 (FP_TO_INT_S): Likewise.
35248 (FP_FROM_INT_S): Likewise.
35249
35250 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35251
35252 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35253 (FP_EX_INVALID_IMZ): Likewise.
35254 (FP_EX_INVALID_IMZ_FMA): Likewise.
35255 (FP_EX_INVALID_ISI): Likewise.
35256 (FP_EX_INVALID_ZDZ): Likewise.
35257 (FP_EX_INVALID_IDI): Likewise.
35258 (FP_EX_INVALID_SQRT): Likewise.
35259 (FP_EX_INVALID_CVI): Likewise.
35260 (FP_EX_INVALID_VC): Likewise.
35261 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35262 "invalid" exceptions.
35263 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35264 (_FP_ADD_INTERNAL): Likewise.
35265 (_FP_MUL): Likewise.
35266 (_FP_FMA): Likewise.
35267 (_FP_DIV): Likewise.
35268 (_FP_CMP_CHECK_NAN): Likewise.
35269 (_FP_SQRT): Likewise.
35270 (_FP_TO_INT): Likewise.
35271 (FP_EXTEND): Likewise.
35272
35273 2014-10-09 Allan McRae <allan@archlinux.org>
35274
35275 * po/fr.po: Update French translation from translation project.
35276
35277 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35278
35279 [BZ #14132]
35280 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35281 of INTDEF.
35282 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35283 (__cxa_atexit): Use libc_hidden_proto.
35284 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35285
35286 [BZ #14132]
35287 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35288 declaration.
35289 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35290 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35291 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35292 [!_ISOMAC] (__iswctype_internal): Likewise.
35293 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35294 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35295 alias.
35296 (fcntl): Remove __fcntl_internal alias.
35297 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35298 __connect_internal alias.
35299 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35300 Likewise.
35301
35302 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35303 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35304 FP_DENORM_ZERO.
35305 (_FP_CHECK_FLUSH_ZERO): New macro.
35306 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35307 (_FP_CMP): Likewise.
35308 (_FP_CMP_EQ): Likewise.
35309 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35310 FP_DENORM_ZERO.
35311 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35312 (FP_TRUNC): Likewise.
35313
35314 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35315 treated as invalid conversion, not as normal exponent.
35316
35317 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35318 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35319 (_FP_CMP_EQ): Likewise.
35320 (_FP_CMP_UNORD): Likewise.
35321 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35322 (FP_CMP_EQ_D): Likewise.
35323 (FP_CMP_UNORD_D): Likewise.
35324 * soft-fp/extended.h (FP_CMP_E): Likewise.
35325 (FP_CMP_EQ_E): Likewise.
35326 (FP_CMP_UNORD_E): Likewise.
35327 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35328 (FP_CMP_EQ_Q): Likewise.
35329 (FP_CMP_UNORD_Q): Likewise.
35330 * soft-fp/single.h (FP_CMP_S): Likewise.
35331 (FP_CMP_EQ_S): Likewise.
35332 (FP_CMP_UNORD_S): Likewise.
35333 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35334 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35335 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35336 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35337 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35338 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35339 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35340 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35341 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35342 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35343 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35344 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35345 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35346 to FP_CMP_Q.
35347 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35348 FP_CMP_Q.
35349 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35350 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35351 FP_CMP_EQ_Q.
35352 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35353 FP_CMP_Q.
35354 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35355 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35356 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35357 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35358 FP_CMP_EQ_Q.
35359 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35360 FP_CMP_Q.
35361 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35362 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35363 FP_CMP_EQ_Q.
35364 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35365 FP_CMP_Q.
35366 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35367 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35368 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35369 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35370 FP_CMP_EQ_Q.
35371
35372 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35373 a subnormal result, set the underflow exception if trapping on
35374 underflow is enabled.
35375 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35376 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35377 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35378 redefine to 0.
35379 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35380 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35381 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35382 * soft-fp/extendxftf2.c (__extendxftf2): Use
35383 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35384
35385 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35386 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35387 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35388 FP_HANDLE_EXCEPTIONS.
35389 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35390 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35391 FP_HANDLE_EXCEPTIONS.
35392 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35393 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35394 FP_HANDLE_EXCEPTIONS.
35395 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35396 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35397 FP_HANDLE_EXCEPTIONS.
35398
35399 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35400
35401 [BZ #14132]
35402 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35403 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35404 use INTUSE.
35405 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35406 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35407 Remove alias.
35408 (__adjtimex): Define using libc_hidden_ver.
35409 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35410 Remove declaration.
35411 (ntp_gettime): Call __adjtimex directly.
35412 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35413 Remove declaration.
35414 (ntp_gettimex): Call __adjtimex directly.
35415 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35416 __adjtimex_internal alias.
35417
35418 2014-10-08 Roland McGrath <roland@hack.frob.com>
35419
35420 [BZ #17460]
35421 * nscd/nscd.c (more_help): Rewrite list of tables collection
35422 using xstrdup and asprintf.
35423
35424 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35425
35426 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35427 Roland McGrath <roland@hack.frob.com>
35428
35429 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35430 (do_lookup_unique): ... local function 'enter' here; update callers.
35431
35432 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35433
35434 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35435 compat_symbol calls on [SHARED].
35436 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35437 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35438 Remove.
35439 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35440 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35441 (oldsetrlimit): Remove.
35442 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35444 (lchown): New syscall entry.
35445 (oldsetrlimit): Remove.
35446 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35448 (oldsetrlimit): Remove.
35449 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35450
35451 [BZ #14138]
35452 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35453 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35454 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35455 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35456 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35457 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35458 (fchown): Likewise.
35459 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35460 (fchown): Likewise.
35461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35462 Likewise.
35463
35464 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35465
35466 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35467 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35468 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35469 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35470 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35471 Likewise.
35472 (__old_sem_post): Likewise.
35473
35474 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35475
35476 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35477 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35478 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35479 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35480 Use INLINE_VSYSCALL macro.
35481 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35482 __vdso_clock_gettime.
35483 * sysdeps/unix/sysv/linux/tile/init-first.c
35484 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35485 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35486 __vdso_clock_gettime.
35487
35488 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35489 to set up frame more cleanly.
35490
35491 * sysdeps/tile/memcmp.c: New file.
35492
35493 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35494
35495 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35496 * sysdeps/tile/tilegx/strcasestr.c: New file.
35497 * sysdeps/tile/tilegx/strnlen.c: New file.
35498 * sysdeps/tile/tilegx/strstr.c: New file.
35499
35500 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35501
35502 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35503
35504 * nptl/tst-setuid3.c: Write errors to stdout.
35505
35506 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35507
35508 * elf/dl-deps.c
35509 (preload): New functions broken out of _dl_map_object_deps.
35510 (_dl_map_object_deps): Remove a nested function. Update call sites.
35511
35512 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35513
35514 [BZ #14138]
35515 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35516 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35517
35518 2014-10-01 Steve Ellcey <sellcey@mips.com>
35519
35520 * sysdeps/mips/strcmp.S: New.
35521
35522 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35523
35524 [BZ #14138]
35525 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35526 (linkat): Likewise.
35527 (mkdirat): Likewise.
35528 (readlinkat): Likewise.
35529 (renameat): Likewise.
35530 (symlinkat): Likewise.
35531 (unlinkat): Likewise.
35532 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35533 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35534 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35535 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35536 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35537 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35538 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35539
35540 2014-09-30 Will Newton <will.newton@linaro.org>
35541
35542 * math/math.h: Define long double math functions if
35543 _LIBC_TEST is defined.
35544 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35545
35546 * localedata/Makefile: Move assignment to tests-special
35547 into an ifdef testing run-built-tests.
35548 * timezone/Makefile: Likewise.
35549
35550 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35551
35552 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35553 with $(BASH) not $(SHELL).
35554
35555 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35556 Matthew LeGendre <legendre1@llnl.gov>
35557
35558 [BZ #17411]
35559 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35560 l_reloc_result.
35561
35562 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35563
35564 * stdio-common/printf_fp.c
35565 (hack_digit): New function, broken out of ...
35566 (__printf_fp): ... local function here. Update call sites.
35567 hack_digit now takes an additional parameter that is a pointer
35568 to a struct of the referenced locals. Those locals moved inside
35569 the struct and references updated.
35570
35571 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35572
35573 * aclocal.m4: Require autoconf 2.69.
35574 * configure: Regenerated.
35575 * sysdeps/aarch64/configure: Likewise.
35576 * sysdeps/alpha/configure: Likewise.
35577 * sysdeps/arm/armv7/configure: Likewise.
35578 * sysdeps/arm/configure: Likewise.
35579 * sysdeps/ia64/configure: Likewise.
35580 * sysdeps/mach/configure: Likewise.
35581 * sysdeps/mips/configure: Likewise.
35582 * sysdeps/s390/configure: Likewise.
35583 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35585
35586 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35587 file.
35588 * sysdeps/ia64/configure.ac: Likewise.
35589
35590 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35591
35592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35593 specify symbol version for ld.so. Do not include entry for
35594 libpthread.
35595 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35596 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35597 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35598
35599 [BZ #14171]
35600 * Makeconfig [$(build-shared) = yes]
35601 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35602 makefiles.
35603 [$(build-shared) = yes && $(soversions.mk-done) = t]
35604 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35605 [$(build-shared) = yes && $(soversions.mk-done) = t]
35606 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35607 to Makerules.
35608 [$(build-shared) = yes && $(soversions.mk-done) = t]
35609 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35610 here.
35611 [$(build-shared) = yes && $(soversions.mk-done) = t]
35612 (common-generated): Don't append gnu/lib-names.h and
35613 gnu/lib-names.stmp here.
35614 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35615 (lib-names-h-abi): New variable.
35616 [$(build-shared) = yes && $(soversions.mk-done) = t]
35617 (lib-names-stmp-abi): Likewise.
35618 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35619 abi-variants] (before-compile): Append
35620 $(common-objpfx)$(lib-names-h-abi).
35621 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35622 abi-variants] (common-generated): Append gnu/lib-names.h.
35623 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35624 abi-variants] (install-others-nosubdir): Depend on
35625 $(inst_includedir)/$(lib-names-h-abi).
35626 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35627 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35628 [$(build-shared) = yes && $(soversions.mk-done) = t]
35629 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35630 [$(build-shared) = yes && $(soversions.mk-done) = t]
35631 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35632 [$(build-shared) = yes && $(soversions.mk-done) = t]
35633 (common-generated): Append $(lib-names-h-abi) and
35634 $(lib-names-stmp-abi).
35635 * scripts/lib-names.awk: Do not handle multi being set.
35636 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35637 Remove variable.
35638 (abi-lp64_be-ld-soname): Likewise.
35639 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35640 Likewise.
35641 (abi-hard-ld-soname): Likewise.
35642 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35643 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35644 Remove variable.
35645 (abi-o32_hard-ld-soname): Likewise.
35646 (abi-o32_soft_2008-ld-soname): Likewise.
35647 (abi-o32_hard_2008-ld-soname): Likewise.
35648 (abi-n32_soft-ld-soname): Likewise.
35649 (abi-n32_hard-ld-soname): Likewise.
35650 (abi-n32_soft_2008-ld-soname): Likewise.
35651 (abi-n32_hard_2008-ld-soname): Likewise.
35652 (abi-n64_soft-ld-soname): Likewise.
35653 (abi-n64_hard-ld-soname): Likewise.
35654 (abi-n64_soft_2008-ld-soname): Likewise.
35655 (abi-n64_hard_2008-ld-soname): Likewise.
35656 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35657 Likewise.
35658 (abi-64-v2-ld-soname): Likewise.
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35660 ld.so entries.
35661 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35662 variable.
35663 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35664 entry.
35665 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35666 variable.
35667 (abi-64-ld-soname): Likewise.
35668 (abi-x32-ld-soname): Likewise.
35669 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35670 entry.
35671 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35672
35673 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35674
35675 [BZ #14138]
35676 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35677 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35678 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35679 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35680 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35681 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35682 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35683 syscall entry for GLIBC_2.2 symbol version.
35684 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35685 Likewise.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35687 (setrlimit): Likewise.
35688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35689 Likewise.
35690
35691 2014-09-23 Will Newton <will.newton@linaro.org>
35692
35693 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35694 _LINUX_ARM_SYSDEP_H include guard too.
35695 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35696 define.
35697
35698 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35699
35700 * sysdeps/unix/sysv/linux/eventfd.c:
35701 Make first argument unsigned.
35702 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35703 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35704
35705 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35706
35707 [BZ #16852]
35708 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35709 * socket/sys/socket.h: Likewise.
35710 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35711
35712 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35713
35714 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35715
35716 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35717
35718 * time/tst-ftime.c: New test.
35719 * time/Makefile (tests): Add tst-ftime.
35720
35721 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35722
35723 * soft-fp/extended.h: Fix comment formatting.
35724 * soft-fp/op-1.h: Likewise.
35725 * soft-fp/op-2.h: Likewise.
35726 * soft-fp/op-4.h: Likewise.
35727 * soft-fp/op-8.h: Likewise.
35728 * soft-fp/op-common.h: Likewise.
35729 * soft-fp/soft-fp.h: Likewise.
35730
35731 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35732
35733 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35734
35735 [BZ #6652]
35736 * Makeconfig (soversions-default-setname): Remove variable.
35737 ($(common-objpfx)soversions.i): Don't pass default_setname to
35738 soversions.awk.
35739 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35740 oldest_abi to abi-versions.awk.
35741 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35742 * config.make.in (oldest-abi): Remove variable.
35743 * configure.ac (--enable-oldest-abi): Remove configure option.
35744 * configure: Regenerated.
35745 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35746 text.
35747 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35748 * scripts/soversions.awk: Do not handle default_setname variable.
35749 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35750 variable.
35751 * sysdeps/mach/hurd/configure: Regenerated.
35752 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35753 variable.
35754 * sysdeps/unix/sysv/linux/configure: Regenerated.
35755
35756 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35757
35758 * elf/Makefile (CFLAGS-interp.c): Remove.
35759 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35760 path string.
35761 * elf/interp.c: Include generated runtime-linker.h
35762
35763 * Makerules (lib%.so): Don't include $(+interp) in
35764 prerequisites.
35765 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35766 * dlfcn/eval.c: Remove file.
35767
35768 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35769 macros.
35770
35771 [BZ #17266]
35772 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35773 4.2 and newer.
35774
35775 [BZ #17370]
35776 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35777
35778 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35779 Jakub Jelinek <jakub@redhat.com>
35780
35781 [BZ #17266]
35782 * libio/stdio.h: Check definition of __fortify_function
35783 instead of __extern_always_inline to include bits/stdio2.h.
35784 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35785 check if __extern_always_inline is defined.
35786 [__USE_MISC || __USE_XOPEN]: Likewise.
35787 [__USE_ISOC99] Likewise.
35788 * misc/sys/cdefs.h (__fortify_function): Define only if
35789 __extern_always_inline is defined.
35790 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35791 __extern_always_inline and __extern_inline only for g++-4.3
35792 and newer or a compatible gcc.
35793
35794 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35795
35796 [BZ #17371]
35797 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35798 last change to handle zero prefix length.
35799
35800 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35801
35802 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35803 _SC_REGEX_VERSION.
35804
35805 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35806 _POSIX_RAW_SOCKETS.
35807
35808 2014-09-13 Allan McRae <allan@archlinux.org>
35809
35810 * po/ru.po: Update Russian translation from translation project.
35811
35812 2014-09-12 Roland McGrath <roland@hack.frob.com>
35813
35814 * locale/programs/locale.c (show_locale_vars): Inline local function
35815 into its sole call site. Clean up some style nits.
35816 (print_item): New function, broken out of ...
35817 (show_info): ... local function here. Clean up style nits.
35818
35819 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35820 out of ...
35821 (set_class_defaults): ... local function set_default here.
35822 Define set_default as a macro locally to pass constant parameters.
35823 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35824 rather than a shared local.
35825
35826 * stdlib/rpmatch.c (try): New function, broken out of ...
35827 (rpmatch): ... local function here. Also, prototypify definition.
35828
35829 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35830
35831 * scripts/soversions.awk: Do not handle configuration names.
35832 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35833 vendor and os variables to soversions.awk.
35834 * configure.ac: Do not modify gnu-* host_os.
35835 * configure: Regenerated
35836 * shlib-versions: Remove first column with configuration names.
35837 * nptl/shlib-versions: Likewise.
35838 * nptl_db/shlib-versions: Likewise.
35839 * sysdeps/hppa/shlib-versions: Likewise.
35840 * sysdeps/m68k/shlib-versions: Likewise.
35841 * sysdeps/mach/hurd/shlib-versions: Likewise.
35842 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35843 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35844 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35845 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35846 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35847 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35848 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35849 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35851 Likewise.
35852 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35853 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35854 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35856 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35857 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35858 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35859 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35860
35861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35862 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35864 Regenerated.
35865 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35867 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35868
35869 * shlib-versions: Remove OS-specific entries. Moved to files in
35870 sysdeps.
35871 * sysdeps/mach/hurd/shlib-versions: New file.
35872 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35873
35874 * nptl/shlib-versions: Remove architecture-specific entries.
35875 Moved to files in sysdeps.
35876 * shlib-versions: Likewise.
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35878 file.
35879 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35880 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35881 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35882 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35883
35884 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35885 (UDP_NO_CHECK6_RX): Likewise.
35886
35887 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35888
35889 * sysdeps/posix/sysconf.c (__sysconf): Spell
35890 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35891
35892 2014-08-12 Florian Weimer <fweimer@redhat.com>
35893
35894 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35895 loading.
35896 * iconv/Versions (__gconv_transliterate): Export for use from
35897 gconv modules.
35898 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35899 (struct __gconv_trans_data, __gconv_trans_fct,
35900 __gconv_trans_context_fct, __gconv_trans_query_fct,
35901 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35902 definitions.
35903 (struct __gconv_step_data): Remove __trans member.
35904 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35905 longer hidden. Remove unused trans_data argument.
35906 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35907 (__gconv_translit_find): Remove declaration.
35908 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35909 prototype.
35910 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35911 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35912 trans_data argument. Add hidden definition.
35913 (__gconv_translit_find): Remove.
35914 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35915 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35916 * iconv/skeleton.c: Remove transliteration initialization.
35917 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35918 __gconv_step_data initialization.
35919 * libio/iofwide.c (__libio_translit_): Remove.
35920 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35921 * wcsmbs/btowc.c (__btowc): Likewise.
35922 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35923 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35924 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35925 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35926 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35927 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35928 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35929 * wcsmbs/wctob.c (wctob): Likewise.
35930
35931 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35932
35933 [BZ #16194]
35934 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35935 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35936 register usage.
35937 * sysdeps/x86/Makefile: Adjust.
35938
35939 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35940 Roland McGrath <roland@hack.frob.com>
35941
35942 * locale/weight.h: Add include guard.
35943 (findidx): Make static rather than auto; take new parameters
35944 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35945 * locale/weightwc.h: Likewise.
35946 * posix/fnmatch_loop.c
35947 (FCT): Change type of EXTRA from int32_t to wint_t.
35948 Don't include either header inside the function.
35949 Call FINDIDX rather than findidx, and pass new arguments.
35950 #undef FINDIDX at the end of the file.
35951 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35952 FINDIDX before including fnmatch_loop.c for the non-wide version.
35953 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35954 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35955 for the wide version.
35956 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35957 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35958 Pass new arguments to findidx.
35959 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35960 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35961 Don't #include it inside the function. Pass new arguments to findidx.
35962 * posix/regex_internal.h
35963 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35964 (re_string_elem_size_at): Don't #include it inside the function.
35965 Pass new arguments to findidx.
35966 * string/strcoll_l.c: #include WEIGHT_H at top level.
35967 (get_next_seq): Don't #include it inside the function.
35968 Pass new arguments to findidx.
35969 (get_next_seq_nocache): Likewise.
35970 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35971 (STRXFRM): Don't #include it inside the function.
35972 Pass new arguments to findidx.
35973
35974 2014-09-11 Florian Weimer <fweimer@redhat.com>
35975
35976 [BZ #17344]
35977 * malloc/malloc.c (unlink): Turn asserts into a call to
35978 malloc_printerr.
35979
35980 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35981
35982 [BZ #17370]
35983 * libio/wfileops (do_ftell_wide): Free OUT.
35984
35985 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35986
35987 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35988
35989 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35990
35991 [BZ #17363]
35992 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35993 group if the current group is empty.
35994
35995 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35996
35997 * benchtests/bench-memset.c (test_main): Add more test from size
35998 from 32 to 512 bytes.
35999 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36000 Add POWER8 memset object.
36001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36002 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36003 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36004 implementation.
36005 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36006 Likewise.
36007 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36008 multiarch POWER8 memset optimization.
36009 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36010 POWER8 memset optimization.
36011
36012 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36013 Remove bzero multiarch objects.
36014 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36015 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36016 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36017 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36018 Remove define.
36019 [__bzero]: Redefine to specific name.
36020 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36021 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36022 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36023 define.
36024 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36025 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36026
36027 2014-09-10 Florian Weimer <fweimer@redhat.com>
36028
36029 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36030 warnings into errors.
36031
36032 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36033 __cxa_thread_atexit_impl prototype.
36034
36035 2014-09-09 Steve Ellcey <sellcey@mips.com>
36036
36037 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36038 Fix capitalization of error message.
36039
36040 2014-09-09 Steve Ellcey <sellcey@mips.com>
36041
36042 * sysdeps/mips/preconfigure: Modify ABI tests.
36043
36044 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
36045
36046 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36047
36048 2014-09-07 Roland McGrath <roland@hack.frob.com>
36049 Carlos O'Donell <carlos@systemhalted.org>
36050
36051 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36052 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36053 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36054 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36055 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36056 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36057 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36058 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36059 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36060 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36061 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36062 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36063 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36064 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36065 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36066 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36067 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36068 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36069 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36070 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36071 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36072 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36073 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36074 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36075 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36076 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36077 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36078 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36079 Deconditionalize the code that was previously under [RESET_PID].
36080 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36081 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36082 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36083 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36084 include sysdep.h.
36085
36086 2014-09-08 Allan McRae <allan@archlinux.org>
36087
36088 * version.h (RELEASE): Set to "development".
36089 (VERSION): Set to "2.20.90"
36090
36091 2014-09-07 Allan McRae <allan@archlinux.org
36092
36093 * version.h (RELEASE): Set to "stable".
36094 (VERSION): Set to "2.20"
36095 * include/features.h (__GLIBC_MINOR__): Set to 20.
36096
36097 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36098 Liebler.
36099
36100 * po/ko.po: Update Korean translation from translation project.
36101
36102 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
36103
36104 [BZ #17354]
36105 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36106 macro for handling signed relocations.
36107
36108 2014-09-03 Florian Weimer <fweimer@redhat.com>
36109
36110 [BZ #17325]
36111 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36112 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36113 assert.
36114 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36115 * iconvdata/ibm935.c (BODY): Likewise.
36116 * iconvdata/ibm937.c (BODY): Likewise.
36117 * iconvdata/ibm939.c (BODY): Likewise.
36118 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36119 assert.
36120 * iconvdata/Makefile (iconv-test.out): Pass module list to test
36121 script.
36122 * iconvdata/run-iconv-test.sh: New test loop for checking for
36123 decoder crashers.
36124
36125 2014-09-02 Khem Raj <raj.khem@gmail.com>
36126
36127 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36128 libm_hidden_ver.
36129
36130 2014-09-01 Allan McRae <allan@archlinux.org>
36131
36132 * po/eo.po: Update Esperanto translation from translation project.
36133
36134 * po/ca.po: Update Catalan translation from translation project.
36135
36136 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
36137
36138 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36139 __proc_dostop call.
36140
36141 2014-08-27 Mark Wielaard <mjw@redhat.com>
36142
36143 [BZ #17319]
36144 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36145 to call set_thread_area instead of hand written asm.
36146 (__NR_set_thread_area): Removed define.
36147 (TLS_FLAG_WRITABLE): Likewise.
36148 (__ASSUME_SET_THREAD_AREA): Remove check.
36149 (TLS_EBX_ARG): Remove define.
36150 (TLS_LOAD_EBX): Likewise.
36151
36152 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36153
36154 Simplify atomicity of socket creation in bind.
36155
36156 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36157 looking up the name after linking the file.
36158
36159 2014-08-27 Allan McRae <allan@archlinux.org>
36160
36161 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36162
36163 2014-08-26 Florian Weimer <fweimer@redhat.com>
36164
36165 [BZ #17187]
36166 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36167 trans_compare, open_translit, __gconv_translit_find):
36168 Remove module loading code.
36169
36170 2014-08-26 Allan McRae <allan@archlinux.org>
36171
36172 * po/vi.po: Update Vietnamese translation from translation project.
36173
36174 * po/uk.po: Update Ukrainian translation from translation project.
36175
36176 * po/fr.po: Update French translation from translation project.
36177
36178 * po/ru.po: Update Russian translation from translation project.
36179
36180 * po/pl.po: Update Polish translation from translation project.
36181
36182 * po/cs.po: Update Czech translation from translation project.
36183
36184 * po/de.po: Update German translation from translation project.
36185
36186 * po/bg.po: Update Bulgarian translation from translation project.
36187
36188 * po/sv.po: Update Sweedish translation from translation project.
36189
36190 * po/nl.po: Update Dutch translation from translation project.
36191
36192 * po/es.po: Update Spanish translation from translation project.
36193
36194 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36195
36196 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36197
36198 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36199 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36200 (CPPFLAGS-iconvconfig): Likewise.
36201 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36202
36203 * include/libc-symbols.h: Remove unnecessary check for
36204 NOT_IN_libc.
36205 * nptl/pthreadP.h: Likewise.
36206 * sysdeps/aarch64/setjmp.S: Likewise.
36207 * sysdeps/alpha/setjmp.S: Likewise.
36208 * sysdeps/arm/sysdep.h: Likewise.
36209 * sysdeps/i386/setjmp.S: Likewise.
36210 * sysdeps/m68k/setjmp.c: Likewise.
36211 * sysdeps/posix/getcwd.c: Likewise.
36212 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36213 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36214 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36215 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36216 * sysdeps/sh/sh3/setjmp.S: Likewise.
36217 * sysdeps/sh/sh4/setjmp.S: Likewise.
36218 * sysdeps/unix/alpha/sysdep.h: Likewise.
36219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36220 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36221 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36222 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36230 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36232 * sysdeps/x86_64/setjmp.S: Likewise.
36233
36234 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36235
36236 [BZ #17263]
36237 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36238 <stdint.h>.
36239 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36240 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36241
36242 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36243
36244 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36245
36246 [BZ #17262]
36247 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36248 and __x86_64__ when disabling x87 inline functions.
36249
36250 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36251
36252 [BZ #17259]
36253 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36254 asm statement with __cpuid_count.
36255
36256 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36257
36258 * configure.ac: Change __ehdr_start code to dereference the struct.
36259 Run readelf on the output to look for relocations.
36260 * configure: Regenerated.
36261
36262 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36263
36264 [BZ #17261]
36265 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36266 value to 0.
36267 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36268
36269 2014-08-12 Roland McGrath <roland@hack.frob.com>
36270
36271 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36272
36273 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36274
36275 [BZ #16892]
36276 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36277 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36278
36279 2014-08-12 Sean Anderson <seanga2@gmail.com>
36280
36281 * malloc/malloc.c: Fix typo in comment.
36282
36283 2014-08-09 Allan McRae <allan@archlinux.org>
36284
36285 * Regenerate libc.po.
36286
36287 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36288
36289 * intl/tst-gettext2.sh: Check every lang file for creation.
36290
36291 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36292
36293 * sysdeps/aarch64/fpu/math_private.h
36294 (libc_feholdsetround_noex_aarch64_ctx): New function.
36295
36296 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36297
36298 * sysdeps/arm/armv6/strcpy.S (strcpy):
36299 Fix performance issue in misaligned cases.
36300
36301 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36302
36303 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36304 Move definition from termios.h.
36305 (struct termio): Likewise.
36306 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36307 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36308 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36309 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36310 Likewise.
36311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36312 Move definition to ioctl-types.h
36313 (struct termio): Likewise.
36314 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36315 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36316 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36317 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36318 Likewise.
36319
36320 2014-08-05 Richard Henderson <rth@redhat.com>
36321
36322 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36323 exceptions.
36324 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36325 Add fraiseexcpt.
36326 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36327 Use __feraiseexcept.
36328 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36329 Protect libm symbols with IS_IN_libm.
36330
36331 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36332
36333 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36334
36335 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36336
36337 2014-08-04 Will Newton <will.newton@linaro.org>
36338
36339 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36340 file.
36341
36342 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36343
36344 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36345 variants for each function.
36346
36347 2014-08-04 Roland McGrath <roland@hack.frob.com>
36348
36349 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36350 appended ...
36351 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36352 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36353 appended ...
36354 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36355 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36356 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36357 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36358 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36359 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36360 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36361 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36362 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36363 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36364 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36365 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36366 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36367 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36368 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36369 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36370 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36371 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36372 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36373 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36374 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36375 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36377 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36378 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36379 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36380 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36381 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36382 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36383 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36384 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36385 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36386 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36387 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36388 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36389 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36390 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36391 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36392 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36393 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36394 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36395 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36396 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36397 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36398 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36399 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36400 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36401 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36402 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36403 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36404 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36405 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36406 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36407 Update #include.
36408 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36409 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36410
36411 2014-08-04 Roland McGrath <roland@hack.frob.com>
36412
36413 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36414 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36415 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36416 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36417 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36418 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36419
36420 2014-08-04 Roland McGrath <roland@hack.frob.com>
36421
36422 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36423 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36424 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36425 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36426
36427 2014-08-04 Roland McGrath <roland@hack.frob.com>
36428
36429 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36430 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36431 (__libc_vfork): Define function under this name.
36432 (__vfork): Define as an alias.
36433 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36434 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36435
36436 2014-08-04 Roland McGrath <roland@hack.frob.com>
36437
36438 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36439 that was previously under [RESET_PID].
36440 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36441
36442 2014-08-04 Andreas Schwab <schwab@suse.de>
36443
36444 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36445
36446 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36447
36448 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36449 (main): Likewise.
36450
36451 2014-08-01 Roland McGrath <roland@hack.frob.com>
36452
36453 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36454
36455 2014-08-01 Richard Henderon <rth@redhat.com>
36456
36457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36458 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36459 typo in exact zero test.
36460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36463
36464 2014-08-01 Roland McGrath <roland@hack.frob.com>
36465
36466 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36467 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36468 * sysdeps/arm/sysdep.h: ... here.
36469 [!__ASSEMBLER__]: Include <stdint.h>.
36470
36471 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36472
36473 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36474 (HAVE_WCTYPE_H): Likewise.
36475 (HAVE_ISWCTYPE): Likewise.
36476 (ENABLE_NLS): Likewise.
36477 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36478 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36479
36480 * posix/regex_internal.c: Check if DEBUG is defined and is
36481 set.
36482
36483 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36484 (HAVE_MBSRTOWCS): Likewise.
36485 * posix/fnmatch.c: Include string.h unconditionally.
36486
36487 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36488
36489 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36490 reversal.
36491
36492 2014-07-31 Roland McGrath <roland@hack.frob.com>
36493
36494 * sysdeps/generic/safe-fatal.h: New file.
36495 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36496 * nptl/forward.c: Include it.
36497 (__pthread_unwind): Use __safe_fatal as default action, rather
36498 than a bogus use of INTERNAL_SYSCALL that could never work.
36499
36500 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36501 * configure.ac (libc_cv_builtin_trap): New test.
36502 * configure: Regenerated.
36503 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36504 (ABORT_INSTRUCTION): Define using __builtin_trap.
36505
36506 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36507 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36508 * sysdeps/nptl/nptl-signals.h: New file.
36509 * nptl/pthreadP.h: Include <nptl-signals.h>.
36510
36511 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36512
36513 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36514 (ONE_DIRECTION): Define.
36515 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36516 (ONE_DIRECTION): Define.
36517 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36518 (ONE_DIRECTION): Define.
36519
36520 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36521
36522 * sysdeps/s390/Makefile: Delete file.
36523 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36524 * sysdeps/s390/__longjmp.c: Delete file.
36525 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36526 Remove fields __flags and __reserved.
36527 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36528 and add versioning.
36529 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36530 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36531 * sysdeps/s390/rtld-setjmp.S: Likewise.
36532 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36533 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36534 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36535 * sysdeps/s390/s390-32/setjmp.S: ... here.
36536 Add versioning.
36537 (__sigsetjmp): Remove setting __flags field.
36538 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36539 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36540 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36541 * sysdeps/s390/s390-64/setjmp.S: ... here.
36542 Add versioning.
36543 (__sigsetjmp): Remove setting __flags field.
36544 * sysdeps/s390/setjmp.S: Delete file.
36545 * sysdeps/s390/sigjmp.c: Likewise.
36546 * sysdeps/s390/v1-longjmp.c: Likewise.
36547 * sysdeps/s390/v1-setjmp.h: Likewise.
36548 * sysdeps/s390/v1-sigjmp.c: Likewise.
36549 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36550 Remove v1-longjmp_chk.
36551 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36552 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36553 Include debug/longjmp_chk.c and add versioning.
36554 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36555 Include nptl/pt-longjmp.c and add versioning.
36556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36557 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36558 Include __longjmp.c.
36559 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36560 Move to ...
36561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36562 (__getcontext): Remove setting __flags field.
36563 Add versioning.
36564 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36565 Don't restore upper high grps.
36566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36567 Likewise.
36568 (__swapcontext): Remove setting uc_flags field.
36569 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36570 Delete file.
36571 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36572 Include __longjmp.c.
36573 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36574 Move to ...
36575 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36576 (__getcontext): Remove setting __flags field.
36577 Add versioning.
36578 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36579 (__swapcontext): Remove setting uc_flags field.
36580 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36581 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36582 Remove fields uc_high_gprs and __reserved.
36583 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36584 New file with reverted content.
36585 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36586 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36587 Regenerated.
36588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36589 Regenerated.
36590
36591 2014-07-31 Andreas Schwab <schwab@suse.de>
36592
36593 * config.h.in (HAVE_IFUNC): Define to 0.
36594 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36595 definedness.
36596
36597 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36598
36599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36600 memmove-avx-unaligned, memcpy-avx-unaligned and
36601 mempcpy-avx-unaligned.
36602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36603 Add tests for AVX memcpy functions.
36604 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36605 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36606 memcpy_chk.
36607 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36608 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36609 memmove_chk.
36610 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36611 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36612 mempcpy_chk.
36613 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36614 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36615 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36616
36617 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36618
36619 [BZ #17213]
36620 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36621 powerpc64le.
36622
36623 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36624
36625 [BZ #16839]
36626 * manual/llio.texi: Add section about open file description locks.
36627 * manual/examples/ofdlocks.c: Example of open file description
36628 lock usage.
36629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36630 F_OFD_SETLK, and F_OFD_SETLKW.
36631
36632 2014-07-23 Allan McRae <allan@archlinux.org>
36633
36634 * po/es.po: Update Spanish translation from translation project.
36635
36636 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36637
36638 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36639
36640 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36641
36642 [BZ #17078]
36643 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36644 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36645 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36646
36647 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36648
36649 [BZ #17088]
36650 * math/fesetenv.c (__fesetenv)
36651 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36652 * math/feupdateenv.c (__feupdateenv)
36653 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36654
36655 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36656 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36657 (__ASSUME_SOCKETCALL): Do not define.
36658
36659 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36660 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36661 (__ASSUME_SOCKETCALL): Do not define.
36662 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36663 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36664 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36665 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36666 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36667 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36668 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36669 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36670
36671 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36672 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36673 (__ASSUME_SOCKETCALL): Do not define.
36674 (__ASSUME_IPC64): Define unconditionally.
36675 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36676 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36677 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36678 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36679 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36680 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36681 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36682 Likewise.
36683
36684 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36685 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36686 (__ASSUME_SOCKETCALL): Do not define.
36687 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36688 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36689 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36690 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36691 (__ASSUME_REQUEUE_PI): Define unconditionally.
36692 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36693 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36694 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36695 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36696 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36697 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36698
36699 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36700 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36701 (__ASSUME_SOCKETCALL): Do not define.
36702 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36703 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36704 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36705 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36706 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36707 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36708
36709 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36710 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36711 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36712 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36713 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36714 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36715 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36716 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36717 (__ASSUME_GETCPU_SYSCALL): Likewise.
36718
36719 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36720 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36721 cases for individual architectures.
36722 * sysdeps/gnu/configure: Regenerated.
36723 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36724 LIBC_SLIBDIR_RTLDDIR.
36725 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36726 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36727 LIBC_SLIBDIR_RTLDDIR.
36728 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36730 LIBC_SLIBDIR_RTLDDIR.
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36732 Regenerated.
36733 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36734 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36735 file.
36736 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36737 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36738 file.
36739 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36740 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36742 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36743
36744 * sysdeps/aarch64/shlib-versions: Move to ...
36745 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36746 * sysdeps/alpha/shlib-versions: Move to ...
36747 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36748 * sysdeps/arm/shlib-versions: Move to ...
36749 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36750 * sysdeps/hppa/shlib-versions: Move all contents except for
36751 libgcc_s entry to ...
36752 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36753 entry from ...
36754 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36755 * sysdeps/ia64/shlib-versions: Move to ...
36756 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36757 entry from ...
36758 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36759 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36760 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36761 * sysdeps/microblaze/shlib-versions: Move to ...
36762 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36763 * sysdeps/mips/shlib-versions: Move to ...
36764 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36765 entry from ...
36766 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36767 * sysdeps/tile/shlib-versions: Move to ...
36768 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36769 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36770 from ...
36771 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36772 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36773 entry from ...
36774 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36775
36776 2014-07-17 Will Newton <will.newton@linaro.org>
36777
36778 * sysdeps/arm/bits/atomic.h
36779 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36780 (__arch_compare_and_exchange_bool_16_int): Likewise.
36781 (__arch_compare_and_exchange_bool_64_int): Likewise.
36782
36783 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36784 into an #else block.
36785
36786 2014-07-16 Roland McGrath <roland@hack.frob.com>
36787
36788 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36789 just Linux configurations. Test empirically that the compiler sets
36790 __ARM_EABI__, rather than using the tuple to decide.
36791 * sysdeps/arm/preconfigure: Regenerated.
36792 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36793 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36794 contents appended ...
36795 * sysdeps/arm/configure.ac: ... here.
36796 * sysdeps/arm/configure: Regenerated.
36797
36798 2014-07-15 Roland McGrath <roland@hack.frob.com>
36799
36800 * nptl/pthread_kill.c: New file.
36801 * nptl/pthread_sigmask.c: New file.
36802 * nptl/pthread_sigqueue.c: New file.
36803
36804 * sysdeps/nptl/lowlevellock.h: New file.
36805 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36806 * sysdeps/nptl/lowlevellock-futex.h: New file.
36807
36808 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36809 Remove dead declarations.
36810
36811 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36812
36813 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36814 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36815 config-cflags-avx2.
36816 * sysdeps/x86_64/configure.ac: Likewise.
36817 * sysdeps/i386/configure: Regenerated.
36818 * sysdeps/x86_64/configure: Likewise.
36819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36820 memset-avx2 only if config-cflags-avx2 is yes.
36821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36822 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36823 defined.
36824 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36825 only if HAVE_AVX2_SUPPORT is defined.
36826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36827
36828 2014-07-14 Alan Modra <amodra@gmail.com>
36829
36830 [BZ #17153]
36831 * elf/elf.h (DT_PPC64_NUM): Correct value.
36832 * NEWS: Add to fixed bug list.
36833
36834 2014-07-13 Jim Meyering <meyering@fb.com>
36835
36836 [BZ 17150]
36837 regex: don't deref NULL upon heap allocation failure
36838 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36839 failure in one more place.
36840 To trigger the segfault, configure grep -with-included-regex,
36841 build it, and run these commands:
36842 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36843
36844 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36845
36846 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36847
36848 2014-07-11 Richard Henderson <rth@redhat.com>
36849
36850 * sysdeps/aarch64/libm-test-ulps: Update.
36851
36852 2014-07-10 Florian Weimer <fweimer@redhat.com>
36853
36854 [BZ #17135]
36855 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36856 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36857 (__nptl_setxid): Initialize error member. Call
36858 __nptl_setxid_error.
36859 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36860 * nptl/descr.h (struct xid_command): Add error member.
36861 * nptl/tst-setuid3.c: New file.
36862 * nptl/Makefile (tests): Add it.
36863
36864 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36865
36866 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36867 New define.
36868 (__lll_trylock): Use __lll_base_trylock.
36869 (__lll_cond_trylock): Likewise.
36870
36871 2014-07-10 Roland McGrath <roland@hack.frob.com>
36872
36873 * nptl/pthread_create.c (start_thread): Use atomic_or and
36874 lll_futex_wake directly rather than lll_robust_dead.
36875 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36876 (lll_robust_dead): Macro removed.
36877 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36878 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36879 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36880 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36881 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36882 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36883 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36884 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36885 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36886 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36887 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36888 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36889 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36890 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36891 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36892
36893 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36894 Use atomic_compare_and_exchange_val_acq directly rather than
36895 lll_robust_trylock.
36896 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36897 (__lll_robust_trylock, lll_robust_trylock): Removed.
36898 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36899 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36900 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36901 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36902 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36903 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36904 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36905 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36906 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36907 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36908 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36910 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36911 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36912
36913 2014-07-02 Florian Weimer <fweimer@redhat.com>
36914
36915 * manual/locale.texi (Locale Names): New section documenting
36916 locale name syntax. Adjust menu and node chaining accordingly.
36917 (Choosing Locale): Reference Locale Names, Locale Categories.
36918 Mention setting LC_ALL=C. Reflect that name syntax is now
36919 documented.
36920 (Locale Categories): New section title. Reference Locale Names.
36921 LC_ALL is an environment variable, but not a category.
36922 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36923 description, now in Locale Name. Reference that section. Locale
36924 name syntax is now documented.
36925
36926 2014-07-02 Florian Weimer <fweimer@redhat.com>
36927
36928 [BZ #17137]
36929 * locale/findlocale.c (name_present, valid_locale_name): New
36930 functions.
36931 (_nl_find_locale): Use the loc_name variable to store name
36932 candidates. Call name_present and valid_locale_name to check and
36933 validate locale names. Return an error if the locale is invalid.
36934
36935 2014-07-02 Florian Weimer <fweimer@redhat.com>
36936
36937 * locale/setlocale.c (setlocale): Use strdup for allocating
36938 composite name copy.
36939
36940 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36941
36942 Sync up with gnulib.
36943 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36944 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36945 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36946 and _GL_ARG_NONNULL.
36947 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36948 [!_LIBC]: Include code for Windows and Cygwin.
36949 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36950 Include prototype for int strerror_r.
36951 [!_LIBC] (is_open): New function.
36952 (flush_stdout): New function.
36953 (print_errno_message): Use it.
36954 (error): Likewise.
36955 (error_at_line): Likewise.
36956 (error_tail) Add function attribute macros. Use
36957 __builtin_expect.
36958
36959 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36960
36961 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36962
36963 * io/ftw.c: Include sys/param.h unconditionally.
36964
36965 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36966
36967 [BZ #17125]
36968 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36969 libc_freeres_ptr.
36970 (freecache): New function to free CACHE on exit.
36971
36972 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36973 initialization.
36974
36975 2014-07-09 David S. Miller <davem@davemloft.net>
36976
36977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36978
36979 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36980 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36981 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36982 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36983 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36984 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36985 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36986 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36987 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36988 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36989 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36990 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36991 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36992
36993 2014-07-09 Andreas Schwab <schwab@suse.de>
36994
36995 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36996 output.
36997 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36998 (do_test): Likewise.
36999
37000 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37001
37002 2014-07-09 Will Newton <will.newton@linaro.org>
37003
37004 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37005 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37006 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37007 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37008 * sysdeps/hppa/start.S (_start): Likewise.
37009
37010 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37011
37012 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37013
37014 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37015 defined.
37016
37017 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37018
37019 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37020 after checking that it is non-NULL.
37021
37022 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37023
37024 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37025
37026 * sysdeps/powerpc/memmove.c: Remove file.
37027 * sysdeps/powerpc/powerpc32/power4/memcopy.h
37028 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37029 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37030 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37031 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37032 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37033 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37034 string memmove instead of removed powerpc one.
37035
37036 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37037 [weak_alias]: Fix compiler warning due trailing data.
37038 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37039 [weak_alias]: Likewise.
37040 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37041 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37042
37043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37044 (__libc_ifunc_impl_list): Add memmove functions.
37045
37046 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37047
37048 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37049 Remove code.
37050 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37051 Likewise.
37052 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37053 Likewise.
37054 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37055 Likewise.
37056 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37057 Likewise.
37058 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37059 Likewise.
37060 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37061 Likewise.
37062 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37063 Likewise.
37064 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37065 Likewise.
37066 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37067 Likewise.
37068 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37069 Likewise.
37070 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37071 Likewise.
37072 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37073 Likewise.
37074 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37075 Likewise.
37076 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37077 Likewise.
37078 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37079 Likewise.
37080 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37081 Likewise.
37082
37083 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37084
37085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37086 to avoid alignment traps in non-cacheable memory.
37087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37088
37089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37090 multiarch objects.
37091 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37092 file: multiarch power7 memmove.
37093 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37094 multiarch default memmove.
37095 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37096 multiarch memove for powerpc32/power4.
37097
37098 * string/bcopy.c: Use full path to include memmove.c.
37099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37100 multiarch objects.
37101 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37102 bcopy for powerpc64.
37103 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37104 bcopy for powerpc64.
37105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37106 and memmove implementations.
37107 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37108 optimized multiarch memmove for POWER7/powerpc64.
37109 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37110 default multiarch memmove for powerpc64.
37111 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37112 multiarch for powerpc64.
37113 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37114 for POWER7/powerpc64.
37115 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37116 memmove for POWER7/powerpc64.
37117
37118 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37119 glibc default one.
37120
37121 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37122 __ELF_NATIVE_CLASS equal to 64.
37123
37124 2014-07-07 Roland McGrath <roland@hack.frob.com>
37125
37126 * sysdeps/nptl/lowlevellock.h: File removed.
37127
37128 * NEWS: NPTL is no longer an add-on!
37129 * nptl/internaltypes.h: Moved ...
37130 * sysdeps/nptl/internaltypes.h: ... here.
37131 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37132 * sysdeps/nptl/fork.c: Likewise.
37133 * sysdeps/nptl/gai_misc.h: Likewise.
37134 * sysdeps/nptl/librt-cancellation.c: Likewise.
37135 * sysdeps/nptl/jmp-unwind.c: Likewise.
37136 * sysdeps/nptl/setxid.h: Likewise.
37137 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37138 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37139 * sysdeps/unix/sysv/linux/arm/Implies: New file.
37140 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37141 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37142 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37143 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37144 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37145 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37146 * sysdeps/unix/sysv/linux/mips/Implies: New file.
37147 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37148 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37149 * sysdeps/unix/sysv/linux/sh/Implies: New file.
37150 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37151 * sysdeps/unix/sysv/linux/tile/Implies: New file.
37152 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37153 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37154 * nptl/Makeconfig: Moved ...
37155 * sysdeps/nptl/Makeconfig: ... here.
37156 * nptl/configure: File removed.
37157 * nptl/ANNOUNCE: File removed.
37158 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37159 * sysdeps/unix/sysv/linux/configure: Regenerated.
37160
37161 * nptl/Makefile (routines): Add libc_pthread_init,
37162 libc_multiple_threads, register-atfork and unregister-atfork.
37163 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37164 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37165 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37166 pthread-pi-defines.sym, structsem.sym.
37167 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37168 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37169 [$(subdir) = nptl] (tests): Add tst-setgetname.
37170 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37171 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37172 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37173 [!LIBC_SIGACTION]: Remove aliases.
37174 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37175 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37176 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37177 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37178 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37179 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37180 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37183 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37184 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37185 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37186 __libc_allocate_rtsig_private.
37187 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37188 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37189 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37190 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37191 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37192 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37193 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37194 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37195 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37196 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37197 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37198 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37199 * nptl/internaltypes.h: ... here.
37200 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37201 * sysdeps/nptl/jmp-unwind.c: ... here.
37202 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37203 * nptl/libc-lowlevellock.c: ... here.
37204 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37205 * nptl/libc_multiple_threads.c: ... here.
37206 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37207 * nptl/libc_pthread_init.c: ... here.
37208 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37209 * nptl/lowlevelbarrier.sym: ... here.
37210 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37211 * nptl/lowlevelcond.sym: ... here.
37212 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37213 * nptl/lowlevellock.c: ... here.
37214 * nptl/lowlevellock.h: Moved ...
37215 * sysdeps/nptl/lowlevellock.h: ... here.
37216 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37217 * nptl/lowlevelrobustlock.c: ... here.
37218 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37219 * nptl/lowlevelrobustlock.sym: ... here.
37220 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37221 * nptl/lowlevelrwlock.sym: ... here.
37222 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37223 * nptl/pt-fork.c: ... here.
37224 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37225 * nptl/pthread-pi-defines.sym: ... here.
37226 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37227 * nptl/pthread_attr_getaffinity.c: ... here.
37228 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37229 * nptl/pthread_attr_setaffinity.c: ... here.
37230 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37231 * nptl/pthread_mutex_cond_lock.c: ... here.
37232 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37233 Update #include.
37234 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37235 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37236 * nptl/pthread_once.c: ... here, replacing old file.
37237 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37238 * nptl/pthread_yield.c: ... here.
37239 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37240 * nptl/register-atfork.c: ... here.
37241 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37242 * nptl/sem_post.c: ... here.
37243 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37244 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37245 * nptl/sem_timedwait.c: ... here.
37246 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37247 * nptl/sem_trywait.c: ... here.
37248 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37249 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37250 * nptl/sem_wait.c: ... here.
37251 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37252 * nptl/structsem.sym: ... here.
37253 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37254 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37255 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37256 * nptl/unregister-atfork.c: ... here.
37257 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37258 * nptl/unwindbuf.sym: ... here.
37259 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37260 * sysdeps/nptl/fork.c: ... here.
37261 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37262 * sysdeps/nptl/fork.h: ... here.
37263 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37264 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37265 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37266 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37267 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37268 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37269 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37270 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37271 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37272 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37273 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37274 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37275 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37276 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37277 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37278 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37279 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37280 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37281 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37282 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37283 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37284 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37285 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37286 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37287 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37288 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37289 * sysdeps/unix/sysv/linux/raise.c: ... here.
37290 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37291 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37292 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37293 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37294 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37295 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37296 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37297 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37298 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37299 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37300 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37301 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37302 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37303 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37304 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37305
37306 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37307
37308 * sysdeps/generic/memcopy.h: Add comment for
37309 MEMCPY_OK_FOR_FWD_MEMMOVE.
37310
37311 2014-07-04 Will Newton <will.newton@linaro.org>
37312
37313 * string/memchr.c: Merge from gnulib.
37314 [_LIBC]: Remove conditionals.
37315 (__ptr_t): Remove define.
37316 (LONG_MAX_32_BITS): Likewise.
37317 (LONG_MAX): Likewise.
37318 (MEMCHR): Use ANSI prototype and optimize algorithm.
37319
37320 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37321
37322 2014-07-03 Roland McGrath <roland@hack.frob.com>
37323
37324 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37325 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37326
37327 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37328 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37329 in a bare environment with no <stdlib.h> installed.
37330 * sysdeps/nptl/configure: Regenerated.
37331
37332 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37333
37334 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37335 AC_EGREP_CPP for kernel header checks, so they only succeed if
37336 including <linux/version.h> actually works right.
37337 * sysdeps/unix/sysv/linux/configure: Regenerated.
37338
37339 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37340 value so it's not diagnosed as unused.
37341
37342 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37343 thing) with "ifeq ($(subdir),rt)".
37344
37345 2014-07-03 Richard Henderson <rth@redhat.com>
37346
37347 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37348 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37349 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37350
37351 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37352 (math_force_eval): New.
37353
37354 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37355 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37356
37357 * sysdeps/alpha/fpu/s_round.c: Remove file.
37358 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37359
37360 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37361 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37362 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37363 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37364 (_dl_start, print_statistics): Likewise.
37365 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37366 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37367
37368 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37369 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37370 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37371 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37372 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37373 (HP_SMALL_TIMING_AVAIL): Define.
37374 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37375 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37376 (HP_SMALL_TIMING_AVAIL): Define.
37377 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37378 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37379
37380 * sysdeps/aarch64/hp-timing.h: New file.
37381
37382 * sysdeps/generic/hp-timing.h: Remove dead comment.
37383 * sysdeps/generic/hp-timing-common.h: New file.
37384 * sysdeps/alpha/hp-timing.h: Include it.
37385 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37386 * sysdeps/i386/i686/hp-timing.h: Likewise.
37387 * sysdeps/ia64/hp-timing.h: Likewise.
37388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37389 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37390 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37391 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37392 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37393 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37394 (hp_timing_t): New.
37395
37396 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37397 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37398 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37399 * elf/rtld.c (_dl_start_final): Likewise.
37400 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37401 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37402 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37403 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37404 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37406 (HP_TIMING_DIFF_INIT): Remove.
37407 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37408 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37409 (HP_TIMING_DIFF_INIT): Remove.
37410 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37411 * sysdeps/i386/i686/hp-timing.c: Remove file.
37412 * sysdeps/x86_64/hp-timing.c: Remove file.
37413 * sysdeps/ia64/hp-timing.c: Remove file.
37414 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37415 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37416 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37417 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37418
37419 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37420 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37421 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37422 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37424 (HP_TIMING_ACCUM): Remove.
37425 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37427 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37428
37429 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37430 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37431 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37432 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37434 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37435 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37436 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37437
37438 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37439
37440 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37441
37442 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37443
37444 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37445
37446 Sync up with gettext.
37447 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37448 [_MSC_VER]: Include malloc.h
37449 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37450 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37451 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37452 TEMP_FAILURE_RETRY. Cast return of alloca.
37453 [!_LIBC] Call gl_rwlock_init.
37454 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37455
37456 2014-07-02 Roland McGrath <roland@hack.frob.com>
37457
37458 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37459 before checking its value.
37460
37461 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37462
37463 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37464
37465 * debug/memcpy_chk.c: Don't include pagecopy.h.
37466 * debug/mempcpy_chk.c: Likewise.
37467 * string/memcpy.c: Likewise.
37468 * string/memmove.c: Likewise.
37469 * sysdeps/powerpc/memmove.c: Likewise.
37470 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37471 definition of PAGE_COPY_FWD_MAYBE here...
37472 * sysdeps/generic/pagecopy.h: ... from here.
37473 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37474
37475 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37476 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37477
37478 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37480 optimizations.
37481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37482 (__libc_ifunc_impl_list): Likewise.
37483 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37484 multiarch strcat for PPC64.
37485 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37486 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37487
37488 2014-07-02 Roland McGrath <roland@hack.frob.com>
37489
37490 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37491
37492 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37493
37494 * intl/loadmsgcat.c: Remove declaration of
37495 get_sysdep_segment_value.
37496 (get_sysdep_segment_value): Use ISO C style.
37497 (_nl_load_domain): Use ISO C style. Get rid of redundant
37498 semicolon. Fix typo and formatting in comment.
37499 (_nl_unload_domain): Use ISO C style.
37500
37501 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37502
37503 2014-07-02 Will Newton <will.newton@linaro.org>
37504
37505 * malloc/obstack.c: Merge from gnulib master.
37506 [HAVE_CONFIG_H]: Remove conditional code.
37507 [!_LIBC]: Include config.h.
37508 [!ELIDE_CODE]: Don't include inttypes.h, include
37509 stdint.h unconditionally.
37510 (print_and_abort): Mark as _Noreturn.
37511 (_obstack_allocated_p): Mark as __attribute_pure__.
37512 (obstack_free): Rename to __obstack_free.
37513 [!__attribute__]: Remove conditional code.
37514 * malloc/obstack.h: Merge from gnulib master.
37515 [__cplusplus]: Move conditional down.
37516 [!__attribute_pure__]: Define __attribute_pure__ here
37517 if it is not already defined.
37518 (_obstack_memory_used): Mark as __attribute_pure__.
37519 [!__obstack_free]: Define as obstack_free.
37520 [__GNUC__]: Remove check for ancient NeXT gcc.
37521
37522 2014-07-02 Will Newton <will.newton@linaro.org>
37523 Paul Eggert <eggert@cs.ucla.edu>
37524
37525 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37526
37527 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37528
37529 * resolv/gethnamaddr.c: Add comment warning that the file is
37530 not maintained.
37531
37532 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37533
37534 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37535 entries.
37536
37537 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37538 entry for aio_cancel and aio_cancel64.
37539 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37540 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37541 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37542 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37543 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37544 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37546 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37547 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37548 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37549 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37550 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37551 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37552
37553 2014-07-01 Roland McGrath <roland@hack.frob.com>
37554
37555 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37556 * nptl/pthread_mutex_lock.c: Likewise.
37557 * nptl/pthread_mutex_timedlock.c: Likewise.
37558 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37559
37560 2014-07-01 Richard henderson <rth@redhat.com>
37561
37562 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37563 (__isnan, __isnanl): Remove.
37564 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37565
37566 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37567
37568 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37569
37570 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37571
37572 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37573
37574 * resolv/nss_dns/dns-host.c (getanswer_r)
37575 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37576
37577 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37578
37579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37580 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37581 undefine.
37582 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37583 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37584
37585 2014-07-01 Roland McGrath <roland@hack.frob.com>
37586
37587 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37588 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37589
37590 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37591 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37592
37593 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37595 ... here.
37596 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37597 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37598
37599 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37600 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37601 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37602 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37603
37604 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37605 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37606 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37607 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37608 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37609 Moved ...
37610 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37611 ... here.
37612 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37613 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37614 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37615 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37616 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37617 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37618 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37619 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37620 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37621 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37622 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37623 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37624 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37625 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37626 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37627 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37628 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37629 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37630 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37631 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37632 ... here.
37633 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37634 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37635 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37636 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37637 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37638 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37639 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37640 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37641
37642 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37643
37644 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37645 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37646 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37647 Add sysdep.
37648
37649 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37650
37651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37652
37653 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37654
37655 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37656 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37657
37658 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37659
37660 * sysdeps/arm/libm-test-ulps: Regenerated.
37661
37662 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37663 Roland McGrath <roland@hack.frob.com>
37664
37665 * test-skeleton.c (signal_handler): Kill the whole process group
37666 before killing the child individually.
37667 (main): Report any failure on `setpgid'.
37668
37669 2014-06-30 Roland McGrath <roland@hack.frob.com>
37670
37671 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37672 from _TLS_H to _ARM_NPTL_TLS_H.
37673 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37674 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37675
37676 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37677
37678 [BZ #16539]
37679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37680 (__expm1l): Return argument unchanged when small but not
37681 subnormal.
37682
37683 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37684 include macro name.
37685 (_FP_UNPACK_RAW_1_P): Likewise.
37686 (_FP_PACK_RAW_1): Likewise.
37687 (_FP_PACK_RAW_1_P): Likewise.
37688 (_FP_MUL_MEAT_1_wide): Likewise.
37689 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37690 (_FP_MUL_MEAT_1_hard): Likewise.
37691 (_FP_DIV_MEAT_1_imm): Likewise.
37692 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37693 (_FP_DIV_MEAT_1_udiv): Likewise.
37694 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37695 (_FP_UNPACK_RAW_2): Likewise.
37696 (_FP_UNPACK_RAW_2_P): Likewise.
37697 (_FP_PACK_RAW_2): Likewise.
37698 (_FP_PACK_RAW_2_P): Likewise.
37699 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37700 (_FP_MUL_MEAT_2_wide): Likewise.
37701 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37702 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37703 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37704 (_FP_MUL_MEAT_2_gmp): Likewise.
37705 (_FP_DIV_MEAT_2_udiv): Likewise.
37706 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37707 (_FP_FRAC_SRL_4): Likewise.
37708 (_FP_FRAC_SRST_4): Likewise.
37709 (_FP_FRAC_SRS_4): Likewise.
37710 (_FP_UNPACK_RAW_4): Likewise.
37711 (_FP_UNPACK_RAW_4_P): Likewise.
37712 (_FP_PACK_RAW_4): Likewise.
37713 (_FP_PACK_RAW_4_P): Likewise.
37714 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37715 (_FP_MUL_MEAT_4_wide): Likewise.
37716 (_FP_MUL_MEAT_4_gmp): Likewise.
37717 (umul_ppppmnnn): Likewise.
37718 (_FP_DIV_MEAT_4_udiv): Likewise.
37719 (__FP_FRAC_ADD_4): Likewise.
37720 (__FP_FRAC_SUB_3): Likewise.
37721 (__FP_FRAC_SUB_4): Likewise.
37722 (__FP_FRAC_DEC_3): Likewise.
37723 (__FP_FRAC_DEC_4): Likewise.
37724 (__FP_FRAC_ADDI_4): Likewise.
37725 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37726 (_FP_FRAC_SRL_8): Likewise.
37727 (_FP_FRAC_SRS_8): Likewise.
37728
37729 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37730 include macro name.
37731 (FP_UNPACK_RAW_EP): Likewise.
37732 (FP_PACK_RAW_E): Likewise.
37733 (FP_PACK_RAW_EP): Likewise.
37734 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37735 (_FP_ISSIGNAN): Likewise.
37736 (_FP_ADD_INTERNAL): Likewise.
37737 (_FP_FMA): Likewise.
37738 (_FP_CMP): Likewise.
37739 (_FP_SQRT): Likewise.
37740 (_FP_TO_INT): Likewise.
37741 (_FP_FROM_INT): Likewise.
37742 (FP_EXTEND): Likewise.
37743 (_FP_DIV_MEAT_N_loop): Likewise.
37744
37745 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37746
37747 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37748 throughout.
37749
37750 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37751
37752 [BZ #17097]
37753 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37754 result with correct sign in case of exponents that produce
37755 overflow except for X very close to 1.
37756
37757 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37758
37759 mktime: merge #if/#ifdef usage from glibc
37760 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37761 as that works with both Glibc's and Gnulib's style.
37762 See thread starting at Siddhesh Poyarekar's bug report at:
37763 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37764
37765 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37766
37767 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37768 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37769 * sysdeps/tile/tilegx/memmove.c: Remove file.
37770
37771 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37772
37773 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37774 abi-name definition.
37775 * scripts/soversions.awk: Do not handle or generate ABI lines.
37776 * shlib-versions: Remove ABI entries.
37777 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37778 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37779
37780 2014-06-27 Roland McGrath <roland@hack.frob.com>
37781
37782 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37783 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37785 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37787 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37789 Moved ...
37790 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37791 ... here.
37792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37793 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37794 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37795 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37797 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37799 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37801 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37803 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37805 Moved ...
37806 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37808 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37810 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37812 Moved ...
37813 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37815 Moved ...
37816 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37820 Moved ...
37821 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37823 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37825 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37827 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37829 Moved ...
37830 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37832 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37833 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37834 Moved ...
37835 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37836 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37837 Moved ...
37838 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37839 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37840 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37841 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37842 Moved ...
37843 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37844 ... here.
37845 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37846 Identical file removed.
37847 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37848 Moved ...
37849 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37851 Identical file removed.
37852 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37853 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37854 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37855 Moved ...
37856 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37858 Identical file removed.
37859 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37860 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37861 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37862 Identical file removed.
37863 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37865 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37866 Identical file removed.
37867 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37868 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37870 Identical file removed.
37871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37872 Moved ...
37873 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37875 Identical file removed.
37876 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37877 Moved ...
37878 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37879 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37880 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37881 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37882 Identical file removed.
37883 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37884 Moved ...
37885 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37886 ... here.
37887 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37888 Identical file removed.
37889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37890 Moved ...
37891 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37892 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37893 Identical file removed.
37894 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37895 Moved ...
37896 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37898 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37900 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37902 Moved ...
37903 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37904 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37905 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37906
37907 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37908 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37909 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37910 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37911 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37912
37913 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37914
37915 [BZ #17092]
37916 * nscd/nscd.c (monitor_child): Return exit status of child
37917 instead of return value from wait syscall.
37918
37919 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37920
37921 * configure.ac (libc_commonpagesize): Remove variable.
37922 (libc_relro_required): Likewise.
37923 (libc_cv_z_relro): Remove configure test.
37924 * configure: Regenerated.
37925 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37926 variable.
37927 (libc_relro_required): Likewise.
37928 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37929 (libc_relro_required): Likewise.
37930 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37931 (libc_relro_required): Likewise.
37932 * sysdeps/arm/preconfigure: Regenerated.
37933 * sysdeps/ia64/preconfigure: Remove file.
37934 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37935 variable.
37936 (libc_relro_required): Likewise.
37937
37938 [BZ #16561]
37939 [BZ #16562]
37940 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37941 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37942 recompute overflowing results in original rounding mode.
37943 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37944 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37945 recompute overflowing results in original rounding mode.
37946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37947 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37948 recompute overflowing results in original rounding mode.
37949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37950 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37951 recompute overflowing results in original rounding mode.
37952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37953 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37954 recompute overflowing results in original rounding mode.
37955 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37956 (libc_feholdsetround_ctx): New macro.
37957 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37958 * sysdeps/i386/fpu/libm-test-ulps: Update.
37959 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37960
37961 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37962
37963 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37964 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37965 corresponding .cpsetup call.
37966
37967 2014-06-26 Roland McGrath <roland@hack.frob.com>
37968
37969 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37970 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37971 * sysdeps/arm/Makefile [$(subdir) = csu]
37972 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37973 (static-only-routines): Add aeabi_read_tp here.
37974 (shared-only-routines): Add libc-aeabi_read_tp here.
37975 (CFLAGS-libc-start.c): Add -fexceptions here.
37976 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37977 (sysdep_routines, static-only-routines, shared-only-routines):
37978 Don't add to these here.
37979 (CFLAGS-libc-start.c): Likewise.
37980
37981 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37982 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37983 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37984 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37985 * sysdeps/arm/Makefile [$(subdir) = rt]
37986 (librt-sysdep_routines, librt-shared-only-routines):
37987 Append rt-aeabi_unwind_cpp_pr1 here.
37988 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37989 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37990 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37991 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37992 Append nptl-aeabi_unwind_cpp_pr1 here.
37993 (tests): Filter out tst-cleanupx4 here.
37994 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37995 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37996 Don't do those here.
37997
37998 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37999
38000 * scripts/list-sources.sh: Do not handle ports specially.
38001
38002 2014-06-26 Roland McGrath <roland@hack.frob.com>
38003
38004 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38005 * sysdeps/arm/feupdateenv.c: Likewise.
38006
38007 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38008
38009 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38010
38011 * manual/texinfo.tex: Update to version 2014-05-05.10 with
38012 trailing whitespace removed.
38013 * scripts/config.guess: Update to version 2014-03-23.
38014 * scripts/config.sub: Update to version 2014-05-01
38015 * scripts/install-sh: Update to version 2013-12-25.23.
38016 * scripts/move-if-change: Update from gnulib.
38017
38018 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38019
38020 * debug/memmove_chk.c: Remove pagecopy.h include.
38021
38022 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
38023
38024 * time/mktime.c (leapyear): Remove inline keyword. The code is now
38025 identical to gnulib mktime.
38026
38027 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38028
38029 * configure.ac: Do not test for machine being rs6000. Do not test
38030 for powerpc*-*soft.
38031 * configure: Regenerated.
38032
38033 [BZ #11505]
38034 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38035 test.
38036 * configure: Regenerated.
38037 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38038 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38039 Remove configure test.
38040 * sysdeps/arm/configure: Regenerated.
38041 * sysdeps/nptl/configure.ac: Do not check
38042 libc_cv_asm_cfi_directives.
38043 * sysdeps/nptl/configure: Regenerated.
38044 * sysdeps/x86_64/nptl/configure.ac: Remove file.
38045 * sysdeps/x86_64/nptl/configure: Remove generated file.
38046 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38047 unconditional.
38048 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38049
38050 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38051
38052 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38053 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38054 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38055 it is defined.
38056
38057 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38058 instead of whether it is defined.
38059 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38060 * sysdeps/hppa/dl-machine.h: Likewise.
38061 * sysdeps/ia64/dl-machine.h: Likewise.
38062 * sysdeps/m68k/dl-machine.h: Likewise.
38063 * sysdeps/microblaze/dl-machine.h: Likewise.
38064 * sysdeps/mips/dl-machine.: Likewise.
38065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38069 * sysdeps/sh/dl-machine.h: Likewise.
38070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38072 * sysdeps/tile/dl-machine.h: Likewise.
38073 * sysdeps/x86_64/dl-machine.h: Likewise.
38074
38075 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38076 code.
38077 (verify_persistent_db): Likewise.
38078
38079 2014-06-26 Roland McGrath <roland@hack.frob.com>
38080
38081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38082 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38084 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38086 Moved ...
38087 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38088 ... here.
38089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38090 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38092 Identical file removed.
38093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38094 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38096 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38098 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38100 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38102 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38104 Moved ...
38105 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38107 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38109 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38111 Moved ...
38112 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38114 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38116 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38118 Identical file removed.
38119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38120 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38122 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38124 Moved ...
38125 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38126 ... here.
38127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38128 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38130 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38132 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38136 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38138 Moved ...
38139 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38141 Moved ...
38142 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38144 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38146 Moved ...
38147 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38149 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38150
38151 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38152 folded into ...
38153 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38154 * sysdeps/unix/sysv/linux/s390/Versions
38155 (libpthread: GLIBC_2.19): New version set.
38156 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38157 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38158 (librt: GLIBC_2.3.3): New version set.
38159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38160 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38161 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38162 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38163 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38164 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38165 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38166 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38167 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38168 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38169 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38170 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38171 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38172 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38173 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38174 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38175 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38176 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38177 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38178 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38179 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38180 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38181 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38182 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38183 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38184 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38185 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38186 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38187 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38188 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38189 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38190 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38191 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38195 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38197 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38199 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38201 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38203 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38204
38205 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38206 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38207 (__libc_vfork): Define the function under this name.
38208 [!NOT_IN_libc] (__vfork): Make this an alias.
38209 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38211 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38212 (__libc_vfork): Define the function under this name.
38213 [!NOT_IN_libc] (__vfork): Make this an alias.
38214 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38215 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38216 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38218 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38220
38221 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38222 code that was previously under [RESET_PID].
38223 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38224 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38226
38227 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38228 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38230 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38231 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38232 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38233 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38234 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38235 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38236 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38237 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38238 Moved ...
38239 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38240 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38241 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38242 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38244 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38245 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38246 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38247 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38248 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38249 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38250 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38251 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38252 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38253 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38254 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38255 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38256 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38257 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38258 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38259 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38260 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38261 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38262 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38263 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38264 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38265 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38267 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38268
38269 2014-06-25 Roland McGrath <roland@hack.frob.com>
38270
38271 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38272 that was previously under [RESET_PID].
38273 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38274
38275 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38276
38277 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38278 not undefine and redefine.
38279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38280 [O_CLOEXEC]: Make code unconditional.
38281 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38282 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38283 <kernel-features.h>.
38284 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38285 conditional variable definition.
38286 (shm_open) [O_CLOEXEC]: Make code unconditional.
38287 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38288 code.
38289
38290 * configure.ac (USE_REGPARMS): Don't define here.
38291 * configure: Regenerated.
38292 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38293 * sysdeps/i386/configure: Regenerated.
38294
38295 * nptl/createthread.c: Don't include kernel-features.h.
38296 * nptl/pthread_cancel.c: Likewise.
38297 * nptl/pthread_condattr_setclock.c: Likewise.
38298 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38299 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38300 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38301 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38302 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38304 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38307 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38308 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38309 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38310 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38311 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38312 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38313 * nscd/gai.c: Likewise.
38314 * nss/nss_db/db-open.c: Likewise.
38315 * sysdeps/generic/ldsodefs.h: Likewise.
38316 * sysdeps/sh/nptl/tls.h: Likewise.
38317 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38318 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38319 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38320 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38321 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38322 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38323 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38324 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38326 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38327 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38328 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38329 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38330 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38331 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38332 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38333 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38334 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38335 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38336 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38337 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38338 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38339 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38340 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38341 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38342 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38343 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38344 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38345 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38346 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38347 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38348 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38349 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38350 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38352 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38353 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38354 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38355 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38356 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38357 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38358 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38359 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38360 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38361 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38362 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38363 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38364 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38365 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38366 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38367 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38368 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38369 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38370 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38371 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38372 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38373 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38374 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38397 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38398 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38399 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38400 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38401 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38402 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38403 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38404 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38405 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38406 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38407 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38408 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38409 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38410 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38411 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38412 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38413 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38414 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38415 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38416 * sysdeps/unix/sysv/linux/system.c: Likewise.
38417 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38418 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38419 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38420 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38421 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38422 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38423 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38424
38425 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38426 * configure: Regenerated.
38427 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38428
38429 * configure.ac (base_machine): Do not set specially for particular
38430 machines here.
38431 * configure: Regenerated.
38432 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38433 settings from configure.ac.
38434 * sysdeps/i386/preconfigure: New file.
38435 * sysdeps/s390/preconfigure: Likewise.
38436 * sysdeps/sh/preconfigure: Likewise.
38437 * sysdeps/sparc/preconfigure: Likewise.
38438
38439 2014-06-25 Roland McGrath <roland@hack.frob.com>
38440
38441 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38442 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38443 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38444 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38445 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38446 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38447 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38448 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38449 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38450 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38451 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38452 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38453 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38454 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38455 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38456 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38457 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38458 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38459 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38460
38461 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38462 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38463 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38464 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38465 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38466 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38467 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38468 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38469 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38470 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38471 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38472 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38473 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38474 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38475 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38476 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38477 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38478 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38479 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38480 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38482 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38484 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38485 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38486 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38488 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38489 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38490 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38491 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38492 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38493 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38494 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38495 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38496 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38497 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38498 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38499
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38501 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38503 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38505 Moved ...
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38507 ... here.
38508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38509 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38511 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38513 Moved ...
38514 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38516 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38518 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38520 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38522 Moved ...
38523 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38525 Moved ...
38526 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38528 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38530 Moved ...
38531 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38533 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38535 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38537 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38539 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38541 Moved ...
38542 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38543 ... here.
38544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38545 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38547 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38549 Moved ...
38550 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38552 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38558 Moved ...
38559 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38561 Moved ...
38562 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38564 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38566 Moved ...
38567 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38569 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38571 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38572
38573 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38574
38575 * timezone/checktab.awk: Update from tzcode 2014e.
38576 * timezone/private.h: Likewise.
38577 * timezone/tzfile.h: Likewise.
38578 * timezone/zdump.c: Likewise.
38579 * timezone/zic.c: Likewise.
38580
38581 * sysdeps/unix/sysv/linux/kernel-features.h
38582 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38583 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38584 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38585 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38586 Remove conditional code.
38587
38588 2014-06-25 Will Newton <will.newton@linaro.org>
38589
38590 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38591 (_dl_arm_cap_flags): Add HWCAP2 values.
38592 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38593 (_DL_HWCAP_COUNT): Increase to 37.
38594 (_DL_HWCAP_LAST): New define.
38595 (_DL_HWCAP2_LAST): New define.
38596 (_dl_procinfo): Add support for printing
38597 AT_HWCAP2 entries.
38598 (_dl_string_hwcap): Use _dl_hwcap_string.
38599
38600 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38601
38602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38603
38604 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38605
38606 * README: Do not mention ports directory.
38607
38608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38609 Remove macro.
38610 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38611 <kernel-features.h>.
38612 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38613 conditional variable definition.
38614 (__futimes): Update comment.
38615 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38616 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38617
38618 [BZ #16560]
38619 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38620 arguments close to 0.
38621 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38622 Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38624 Likewise.
38625 * math/auto-libm-test-in: Add more tests of exp10.
38626 * math/auto-libm-test-out: Regenerated.
38627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38628
38629 * sysdeps/unix/sysv/linux/kernel-features.h
38630 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38631 * sysdeps/unix/sysv/linux/readv.c: Do not include
38632 <kernel-features.h>.
38633 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38634 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38635 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38636 unconditional.
38637 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38638 conditional code.
38639 * sysdeps/unix/sysv/linux/writev.c: Do not include
38640 <kernel-features.h>.
38641 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38642 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38643 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38644 unconditional.
38645 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38646 conditional code.
38647
38648 2014-06-25 Will Newton <will.newton@linaro.org>
38649
38650 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38651 comment changes throughout the file. Remove checks
38652 for HAVE_*_H definitions that are not required.
38653 (__gen_tempname): Call abort if an unknown kind value is
38654 passed.
38655
38656 2014-06-25 Andreas Schwab <schwab@suse.de>
38657
38658 [BZ #17086]
38659 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38660 scalbln, scalblnf, scalblnl in libc.
38661
38662 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38663
38664 [BZ #17086]
38665 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38666 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38667 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38668
38669 2014-06-24 Roland McGrath <roland@hack.frob.com>
38670
38671 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38672 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38673 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38674 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38675 Update #include.
38676 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38677 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38678 Update #include.
38679 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38680 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38681 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38682 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38683 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38684 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38685 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38686 * sysdeps/x86/bits/semaphore.h: ... here.
38687 * sysdeps/x86/nptl/elide.h: Moved ...
38688 * sysdeps/x86/elide.h: ... here.
38689 * sysdeps/x86_64/nptl/Implies: File removed.
38690 * sysdeps/i386/nptl/Implies: File removed.
38691
38692 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38693
38694 [BZ #16539]
38695 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38696 return the argument for normal arguments with exponent below -64.
38697 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38698 Likewise.
38699 * math/auto-libm-test-in: Add another test of expm1.
38700 * math/auto-libm-test-out: Regenerated.
38701
38702 [BZ #16287]
38703 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38704 calling __erfcl for arguments at least 16.
38705 * math/auto-libm-test-in: Add more tests of erf.
38706 * math/auto-libm-test-out: Regenerated.
38707
38708 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38709 individual architectures.
38710 * sysdeps/unix/sysv/linux/configure: Regenerated.
38711 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38712 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38713 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38714 (ldd_rewrite_script): Define variable.
38715 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38717 file.
38718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38719 generated file.
38720 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38721 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38722 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38723 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38724 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38725 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38726 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38727 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38728
38729 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38730
38731 [BZ #17084]
38732 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38733 Rename member __data.d to __data.__elision_data.
38734
38735 2014-06-24 Wilco <wdijkstr@arm.com>
38736
38737 * NEWS: Add 16918 to fixed bug list.
38738
38739 2014-06-24 Wilco <wdijkstr@arm.com>
38740
38741 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38742
38743 2014-06-24 Wilco <wdijkstr@arm.com>
38744
38745 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38746 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38747 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38748 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38749 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38750 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38751 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38752 Use _FPU_MASK_RM.
38753
38754 2014-06-24 Wilco <wdijkstr@arm.com>
38755
38756 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38757
38758 2014-06-24 Wilco <wdijkstr@arm.com>
38759
38760 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38761 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38762 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38763 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38764
38765 2014-06-24 Wilco <wdijkstr@arm.com>
38766
38767 [BZ #16918]
38768 * sysdeps/arm/feupdateenv.c (feupdateenv):
38769 Rewrite to reduce FPSCR accesses and fix return value.
38770
38771 2014-06-24 Wilco <wdijkstr@arm.com>
38772
38773 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38774 Optimize to avoid unnecessary FPSCR writes.
38775 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38776 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38777 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38778 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38779
38780 2014-06-24 Wilco <wdijkstr@arm.com>
38781
38782 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38783 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38784 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38785 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38786 Call libc_fetestexcept_vfp.
38787 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38788 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38789 __SOFTFP__ ifdef so that they can be built for softfp.
38790
38791 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38792
38793 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38794 argument type signed char.
38795
38796 * Makerules (check-abi): Dump diff of symlist if the test
38797 fails.
38798
38799 2014-06-23 Roland McGrath <roland@hack.frob.com>
38800
38801 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38802 using abort.
38803
38804 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38805 Remove unused variable ST.
38806
38807 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38808
38809 [BZ #16354]
38810 [BZ #17061]
38811 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38812 small arguments before calling __expm1.
38813 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38814 small arguments before calling __expm1f.
38815 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38816 small arguments before calling __expm1l.
38817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38818 Likewise.
38819 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38820 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38821 spurious underflow for some cosh tests.
38822 * math/auto-libm-test-out: Regenerated.
38823 * sysdeps/i386/fpu/libm-test-ulps: Update.
38824
38825 [BZ #17050]
38826 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38827 (__ieee754_y1): Set errno if return value overflows.
38828 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38829 (__ieee754_y1f): Set errno if return value overflows.
38830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38831 (__ieee754_y1l): Set errno if return value overflows.
38832 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38833 (__ieee754_y1l): Set errno if return value overflows.
38834 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38835 * math/auto-libm-test-out: Regenerated.
38836
38837 * math/gen-auto-libm-tests.c: Document use of
38838 ignore-zero-inf-sign.
38839 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38840 (input_flags): Add ignore-zero-inf-sign.
38841 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38842 * math/gen-libm-test.pl (generate_testfile): Handle
38843 ignore-zero-inf-sign.
38844 * math/auto-libm-test-in: Mark some cpow tests with
38845 ignore-zero-inf-sign and some with xfail-rounding.
38846 * math/auto-libm-test-out: Regenerated.
38847 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38848 * sysdeps/i386/fpu/libm-test-ulps: Update.
38849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38850
38851 [BZ #16315]
38852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38853 overflowing or underflowing operations take place with sign of
38854 result.
38855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38856 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38857 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38858 (__ieee754_pow): Recompute overflowing and underflowing results in
38859 original rounding mode.
38860 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38861 (__powl_helper): Allow negative argument X and scale negated value
38862 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38863 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38864 overflowing or underflowing operations take place with sign of
38865 result.
38866 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38867 Include <math.h>.
38868 * math/auto-libm-test-in: Add more tests of pow.
38869 * math/auto-libm-test-out: Regenerated.
38870 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38871 (pow_tonearest_test_data): Remove.
38872 (pow_test_tonearest): Likewise.
38873 (pow_towardzero_test_data): Likewise.
38874 (pow_test_towardzero): Likewise.
38875 (pow_downward_test_data): Likewise.
38876 (pow_test_downward): Likewise.
38877 (pow_upward_test_data): Likewise.
38878 (pow_test_upward): Likewise.
38879 (main): Don't call removed functions.
38880 * sysdeps/i386/fpu/libm-test-ulps: Update.
38881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38882
38883 2014-06-23 Roland McGrath <roland@hack.frob.com>
38884
38885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38886 Moved ...
38887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38889 Moved ...
38890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38892 Moved ...
38893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38895 Moved ...
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38898 File removed.
38899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38900 File removed.
38901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38902 File removed.
38903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38904 File removed.
38905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38906 File removed.
38907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38908 File removed.
38909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38910 File removed.
38911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38912 File removed.
38913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38914 File removed.
38915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38916 File removed.
38917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38918 File removed.
38919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38920 File removed.
38921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38922 Moved ...
38923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38925 Moved ...
38926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38927 ... here.
38928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38929 Moved ...
38930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38932 Moved ...
38933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38935 Moved ...
38936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38938 Moved ...
38939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38941 Moved ...
38942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38944 Moved ...
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38947 Moved ...
38948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38951 ... here.
38952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38953 Moved ...
38954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38956 Moved ...
38957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38958 ... here.
38959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38960 Moved ...
38961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38962 ... here.
38963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38964 Moved ...
38965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38966 ... here.
38967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38968 Moved ...
38969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38971 Moved ...
38972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38976 Moved ...
38977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38978 ... here.
38979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38980 Moved ...
38981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38982 ... here.
38983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38984 Moved ...
38985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38987 Moved ...
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38990 Moved ...
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38993 Moved ...
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38996 Moved ...
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38998 ... here.
38999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39000 Moved ...
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39003 Moved ...
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39006 Moved ...
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39009 Moved ...
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39014 Moved ...
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39017 Moved ...
39018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39020 Moved ...
39021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39022 ... here.
39023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39024 Moved ...
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39026 ... here.
39027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39028 Moved ...
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39030 ... here.
39031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39032 Moved ...
39033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39035 Moved ...
39036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39038 Moved ...
39039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39041 Moved ...
39042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39043 ... here.
39044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39045 Moved ...
39046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39047 ... here.
39048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39049 Moved ...
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39051 ... here.
39052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39053 Moved ...
39054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39056 Moved ...
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39058
39059 2014-06-23 Will Newton <will.newton@linaro.org>
39060 Wilco <wdijkstr@arm.com>
39061
39062 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39063 implementation. Include get-rounding-mode.h.
39064 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39065 [!libc_feholdsetround_noex_ctx]: Define
39066 libc_feholdsetround_noex_ctx.
39067 [!libc_feholdsetround_noexf_ctx]: Define
39068 libc_feholdsetround_noexf_ctx.
39069 [!libc_feholdsetround_noexl_ctx]: Define
39070 libc_feholdsetround_noexl_ctx.
39071 (libc_feholdsetround_ctx): New function.
39072 (libc_feresetround_ctx): New function.
39073 (libc_feholdsetround_noex_ctx): New function.
39074 (libc_feresetround_noex_ctx): New function.
39075
39076 2014-06-23 Roland McGrath <roland@hack.frob.com>
39077
39078 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39079 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39080 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39081 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39082 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39083 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39084
39085 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39086 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39087 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39088 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39089 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39090 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39092 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39094 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39096 Moved ...
39097 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39098 ... here.
39099 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39100 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39102 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39104 Moved ...
39105 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39107 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39111 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39113 Moved ...
39114 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39116 Moved ...
39117 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39119 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39121 Moved ...
39122 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39124 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39125 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39126 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39127 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39128 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39129 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39130 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39131 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39132 Moved ...
39133 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39134 ... here.
39135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39136 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39138 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39140 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39141 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39142 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39143 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39145 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39146 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39147 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39148 Moved ...
39149 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39151 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39153 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39155 Moved ...
39156 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39157 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39158 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39159 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39160 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39161
39162 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39163 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39164 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39165 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39166 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39167 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39168 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39169 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39171 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39172 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39173 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39174 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39175 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39176 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39177 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39178 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39179 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39180 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39181 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39182 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39183 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39185 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39186 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39187 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39188 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39189 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39190
39191 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39192
39193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39194 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39195 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39196 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39197 (IPV6_PMTUDISC_INTERFACE): Likewise.
39198 (IPV6_PMTUDISC_OMIT): Likewise.
39199
39200 2014-06-23 Andreas Schwab <schwab@suse.de>
39201
39202 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39203 Remove unused errout label.
39204
39205 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39206
39207 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39208 macro: hardware supports Vector Crypto instructions.
39209
39210 2014-06-23 Will Newton <will.newton@linaro.org>
39211
39212 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39213 rather than __builtin_expect.
39214
39215 * elf/dl-lookup.c (undefined_msg): Remove variable.
39216 (_dl_lookup_symbol_x): Replace undefined_msg with string
39217 literal.
39218
39219 * elf/dl-lookup.c (do_lookup_unique): New function.
39220 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39221 to a separate function.
39222
39223 2014-06-23 Andreas Schwab <schwab@suse.de>
39224
39225 [BZ #17079]
39226 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39227 before reading the next line.
39228
39229 2014-06-23 Will Newton <will.newton@linaro.org>
39230
39231 * test-skeleton.c (signal_handler): Use printf and %m
39232 rather than perror. Use printf rather than fprintf to
39233 stderr. Use puts rather than fputs to stderr.
39234 (main): Likewise.
39235
39236 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39237
39238 * nscd/nscd.c (thread_info_t): Remove typedef.
39239 (thread_info): Remove variable.
39240
39241 2014-06-21 Allan McRae <allan@archlinux.org>
39242
39243 * NEWS: Mention CVE-2014-4043.
39244
39245 2014-06-20 Roland McGrath <roland@hack.frob.com>
39246
39247 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39248 * nptl/smp.h: ... here.
39249
39250 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39251
39252 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39253 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39254 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39255 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39256
39257 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39258 * nptl/stack-aliasing.h: New file.
39259 * sysdeps/i386/i686/stack-aliasing.h: New file.
39260 * sysdeps/i386/i686/nptl/Makefile: File removed.
39261 * sysdeps/x86_64/stack-aliasing.h: New file.
39262 * sysdeps/x86_64/nptl/Makefile
39263 (CFLAGS-pthread_create.c): Variable removed.
39264
39265 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39266 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39267 old file.
39268 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39269 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39270 old file.
39271
39272 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39273
39274 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39275 (__ASSUME_SIGFRAME_V2): Remove macro.
39276 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39277 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39278 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39279 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39280 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39281 Declare as function. Remove conditional macro definitions.
39282 (__default_rt_sa_restorer): Likewise.
39283 (__default_sa_restorer_v1): Remove declaration.
39284 (__default_sa_restorer_v2): Likewise.
39285 (__default_rt_sa_restorer_v1): Likewise.
39286 (__default_rt_sa_restorer_v2): Likewise.
39287 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39288 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39289 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39290
39291 2014-06-20 Roland McGrath <roland@hack.frob.com>
39292
39293 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39294 (libpthread-routines): Add sysdep.
39295 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39296 * sysdeps/unix/sysv/linux/sparc/Versions
39297 (libpthread: GLIBC_2.3.3): New version set.
39298 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39299 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39300 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39301 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39302 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39303 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39304 Moved ...
39305 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39306 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39307 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39308 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39309 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39310 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39311 * sysdeps/sparc/nptl/sem_init.c: ... here.
39312 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39313 * sysdeps/sparc/nptl/sem_post.c: ... here.
39314 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39315 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39316 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39317 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39318 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39319 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39320 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39321 (libpthread-routines): Add cpu_relax.
39322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39323 File removed.
39324 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39325 (librt: GLIBC_2.3.3): New version set.
39326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39327 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39329 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39332 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39334 Moved ...
39335 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39337 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39339 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39341 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39343 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39345 Moved ...
39346 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39347 Update #include.
39348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39349 Moved ...
39350 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39351 Update #include.
39352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39353 Moved ...
39354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39355 Update #include.
39356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39357 Moved ...
39358 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39359 Update #include.
39360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39361 Moved ...
39362 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39363 Update #include.
39364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39365 Moved ...
39366 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39367 Update #include.
39368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39369 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39375 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39377 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39379 Moved ...
39380 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39382 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39384 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39385
39386 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39387
39388 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39389 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39390 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39391 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39392 * nscd/nscd.c: Likewise.
39393 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39394 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39395 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39396 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39397
39398 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39399 <kernel-features.h>.
39400 (init_mq_netlink): Remove conditional have_sock_cloexec
39401 definitions. Remove code conditional on have_sock_cloexec < 0.
39402 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39403 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39404 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39405 <kernel-features.h>.
39406 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39407 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39408
39409 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39410
39411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39412 Add tests for memset_chk and memset.
39413
39414 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39415 with AVX2_Usable.
39416
39417 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39418
39419 [BZ #16046]
39420 * elf/tst-dl-iter-static.c: New file.
39421 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39422
39423 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39424 error.
39425
39426 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39427
39428 * sysdeps/unix/sysv/linux/kernel-features.h
39429 (__ASSUME_F_GETOWN_EX): Remove macro.
39430 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39431 <kernel-features.h>.
39432 (miss_F_GETOWN_EX): Remove variable or macro.
39433 (do_fcntl): Do not check miss_F_GETOWN_EX.
39434 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39435
39436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39437 Remove macro.
39438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39439 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39440 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39441
39442 * sysdeps/unix/sysv/linux/kernel-features.h
39443 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39444 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39445 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39446 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39447
39448 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39449
39450 [BZ #17075]
39451 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39452 Fix calculation of the symbol's value.
39453 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39454 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39455 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39456 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39457 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39458 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39459 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39460 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39461 (modules-names): Add `tst-armtlsdescmod',
39462 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39463 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39464 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39465 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39466 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39467 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39468 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39469 ($(objpfx)tst-armtlsdescloc): New dependency.
39470 ($(objpfx)tst-armtlsdescextnow): Likewise.
39471 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39472 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39473 TLS scheme support.
39474 * sysdeps/arm/configure: Regenerate.
39475
39476 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39477
39478 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39479 (__atfct_seterrno_2): Likewise.
39480 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39481 <kernel-features.h>.
39482 (__ASSUME_ATFCTS): Do not undefine and redefine.
39483 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39484 (__have_atfcts): Remove conditional definition.
39485 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39486 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39487 unreachable if [__ASSUME_ATFCTS].
39488 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39489 not undefine and redefine.
39490 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39491 <kernel-features.h>.
39492 (faccessat) [__NR_faccessat]: Make code unconditional.
39493 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39494 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39495 <kernel-features.h>.
39496 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39497 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39498 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39499 <kernel-features.h>.
39500 (fchownat) [__NR_fchownat]: Make code unconditional.
39501 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39502 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39503 <kernel-features.h>.
39504 (futimesat) [__NR_futimesat]: Make code unconditional.
39505 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39506 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39507 <kernel-features.h>.
39508 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39509 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39510 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39511 <kernel-features.h>.
39512 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39513 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39514 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39515 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39516 <kernel-features.h>.
39517 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39518 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39519 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39520 <kernel-features.h>.
39521 (linkat) [__NR_linkat]: Make code unconditional.
39522 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39523 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39524 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39525 <kernel-features.h>.
39526 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39527 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39528 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39529 <kernel-features.h>.
39530 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39531 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39532 * sysdeps/unix/sysv/linux/openat.c: Do not include
39533 <kernel-features.h>.
39534 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39535 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39536 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39537 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39538 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39539 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39540 <kernel-features.h>.
39541 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39542 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39543 result of INLINE_SYSCALL directly, not via int variable.
39544 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39545 <kernel-features.h>.
39546 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39547 (renameat) [__NR_renameat]: Make code unconditional.
39548 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39549 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39550 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39551 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39552 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39553 (__ASSUME_ATFCTS): Do not undefine and redefine.
39554 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39555 <kernel-features.h>.
39556 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39557 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39558 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39559 <kernel-features.h>.
39560 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39561 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39562 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39563 (__ASSUME_ATFCTS): Do not undefine and redefine.
39564 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39565 <kernel-features.h>.
39566 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39567 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39568 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39569 <kernel-features.h>.
39570 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39571 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39572
39573 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39574
39575 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39576
39577 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39578
39579 [BZ #17069]
39580 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39581 constructed tree before returning error.
39582 * posix/bug-regexp36.c: Expand test case.
39583
39584 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39585
39586 [BZ #6803]
39587 * math/libm-test.inc (scalbln_test_date):
39588 Add errno expectations.
39589 * math/w_scalblnf.c: New File.
39590 Add wrapper which checks for setting errno to ERANGE.
39591 Add weak_alias for corresponding scalbln function.
39592 * math/w_scalbln.c: Likewise.
39593 * math/w_scalblnl.c: Likewise.
39594 * math/Makefile (libm-calls): Add w_scalbln.
39595 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39596 Remove weak_alias for corresponding scalbln function.
39597 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39601 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39602 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39603 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39604 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39605 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39606 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39607 Remove long_double_symbol for scalblnl function in libm, libc.
39608 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39609 Add wrapper which checks for setting errno to ERANGE.
39610 Add long_double_symbol for scalblnl function in libm, libc.
39611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39612 Remove long_double_symbol for scalblnl in libm.
39613 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39614 Add wrapper which checks for setting errno to ERANGE.
39615 Add long_double_symbol for scalblnl function in libm.
39616 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39617 Do not use wrapper because of own implementation.
39618
39619 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39620
39621 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39622 3 bytes for __pad1 for x32.
39623 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39624
39625 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39626 H.J. Lu <hongjiu.lu@intel.com>
39627
39628 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39629 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39630 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39632 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39633
39634 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39635
39636 [BZ #17069]
39637 * posix/regcomp.c (parse_expression): Deallocate partially
39638 constructed tree before returning error.
39639 * posix/Makefile.c (tests): Add bug-regex36.
39640 (generated): Add bug-regex36.mtrace.
39641 (tests-special): Add $(objpfx)bug-regex36-mem.out
39642 (bug-regex36-ENV): New variable.
39643 ($(objpfx)bug-regex36-mem.out): New rule.
39644 * posix/bug-regex36.c: New file.
39645
39646 2014-06-19 Will Newton <will.newton@linaro.org>
39647
39648 * malloc/malloc.c (systrim): If extra is zero then return
39649 early.
39650
39651 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39652
39653 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39654
39655 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39656
39657 * sysdeps/aarch64/strchr.S: New file.
39658
39659 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39660
39661 [BZ #17022]
39662 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39663 from arguments -2 or below.
39664 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39665 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39666
39667 2014-06-18 Andreas Schwab <schwab@suse.de>
39668
39669 [BZ #17062]
39670 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39671 of a bracket expr not to run off the end of the string.
39672 * posix/Makefile (tests): Add tst-fnmatch3.
39673 * posix/tst-fnmatch3.c: New file.
39674
39675 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39676
39677 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39678 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39679 [$(cross-compiling) = no]: Likewise.
39680 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39681 [$(cross-compiling) = no]: Likewise.
39682
39683 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39684
39685 [BZ #17031]
39686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39687 double, adjusted for any remainder from the high double.
39688 * math/libm-test.inc (nearbyint): Add tests.
39689 (rint): Likewise.
39690
39691 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39692
39693 * nptl/sysdeps/powerpc/Makefile: Moved ...
39694 * sysdeps/powerpc/nptl/Makefile: ... here.
39695 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39696 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39697 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39698 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39699 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39700 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39701 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39702 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39703 * nptl/sysdeps/powerpc/tls.h: Moved ...
39704 * sysdeps/powerpc/nptl/tls.h: ... here.
39705
39706 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39707
39708 [BZ #16681]
39709 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39710 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39711 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39712 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39713 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39714 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39715 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39716 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39717 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39718
39719 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39720
39721 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39722
39723 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39724
39725 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39726 defined operator.
39727
39728 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39729 $TIMEOUTFACTOR.
39730
39731 2014-06-16 Florian Weimer <fweimer@redhat.com>
39732
39733 [BZ #17058]
39734 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39735 non-executed part of the test.
39736
39737 2014-06-16 Andreas Schwab <schwab@suse.de>
39738
39739 * string/bits/string2.h (strdup, strndup): Update feature guard.
39740
39741 2014-06-14 David S. Miller <davem@davemloft.net>
39742
39743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39744
39745 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39746
39747 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39748 that was previously under [RESET_PID].
39749 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39750
39751 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39752 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39753 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39754 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39755 (__libc_vfork): New strong alias.
39756 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39757
39758 2014-06-14 Andi Kleen <ak@linux.intel.com>
39759
39760 * sysdeps/generic/elide.h: New file.
39761
39762 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39763
39764 * Makefile (installed-headers): Adjust path of pthread.h header.
39765
39766 2014-06-13 Roland McGrath <roland@hack.frob.com>
39767
39768 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39769 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39770 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39771 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39772
39773 * nptl/sysdeps/s390/Makefile: Moved ...
39774 * sysdeps/s390/nptl/Makefile: ... here.
39775 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39776 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39777 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39778 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39779 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39780 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39781 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39782 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39783 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39784 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39785 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39786 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39787 * nptl/sysdeps/s390/tls.h: Moved ...
39788 * sysdeps/s390/nptl/tls.h: ... here.
39789
39790 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39791 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39792
39793 2014-06-13 David S. Miller <davem@davemloft.net>
39794
39795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39798 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39802 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39803 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39804 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39805 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39806 Remove RESET_PID cpp guards.
39807 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39808 Remove RESET_PID cpp guards.
39809 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39810
39811 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39812
39813 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39814 __sp to uintptr_t.
39815
39816 2014-06-13 Andi Kleen <ak@linux.intel.com>
39817
39818 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39819 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39820 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39822 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39823 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39826 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39827 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39829 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39831 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39832 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39833 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39835 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39838
39839 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39840 (pthread_rwlock_rdlock): Add elision.
39841 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39842 (pthread_rwlock_wrlock): Add elision.
39843 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39844 (pthread_rwlock_trywrlock): Add elision.
39845 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39846 (pthread_rwlock_tryrdlock): Add elision.
39847 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39848 (pthread_rwlock_tryrdlock): Add elision unlock.
39849 * nptl/sysdeps/pthread/pthread.h:
39850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39851 (PTHREAD_RWLOCK_INITIALIZER,
39852 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39853 Handle new elision field.
39854 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39855 * sysdeps/arm/nptl/bits/pthreadtypes.h
39856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39857 * sysdeps/sh/nptl/bits/pthreadtypes.h
39858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39859 * sysdeps/tile/nptl/bits/pthreadtypes.h
39860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39861 * sysdeps/a/nptl/bits/pthreadtypes.h
39862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39863 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39865 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39867 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39868 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39869 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39871 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39873 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39874 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39875 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39877 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39879 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39880 (elision_init): Set try_xbegin to zero when no RTM.
39881 * sysdeps/x86/nptl/bits/pthreadtypes.h
39882 (pthread_rwlock_t): Change __pad1 to __rwelision.
39883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39884
39885 2014-06-13 Andi Kleen <ak@linux.intel.com>
39886
39887 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39888 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39889 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39890 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39891
39892 2014-06-13 Meador Inge <meadori@codesourcery.com>
39893
39894 [BZ #16996]
39895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39896 that the cached result has been set before returning it.
39897
39898 2014-06-12 Roland McGrath <roland@hack.frob.com>
39899
39900 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39901 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39902 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39903 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39904 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39905 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39906
39907 * nptl/sysdeps/sparc/Makefile: Moved ...
39908 * sysdeps/sparc/nptl/Makefile: ... here.
39909 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39910 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39911 * nptl/sysdeps/sparc/tls.h: Moved ...
39912 * sysdeps/sparc/nptl/tls.h: ... here.
39913 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39914 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39915 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39916 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39917 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39918 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39919 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39920 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39921 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39922 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39923 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39924 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39925 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39926 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39927 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39928 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39929 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39930 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39931 Update #include.
39932 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39934 Update #include.
39935 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39936 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39937 Update #include.
39938 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39940 Update #include.
39941
39942 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39943
39944 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39945 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39946
39947 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39948 (struct list_links): Type removed.
39949 (struct thread_node, struct timer_node): Replace struct list_links
39950 with struct list_head.
39951 (list_unlink_ip): Likewise.
39952 * sysdeps/pthread/timer_routines.c
39953 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39954 (list_append, list_insbefore): Likewise.
39955 (list_init): Function removed.
39956 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39957 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39958 * sysdeps/pthread/Makefile: ... here, new file.
39959
39960 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39961 * sysdeps/nptl/Implies: ... here.
39962 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39963 * nptl/sysdeps/pthread/list.h: Moved ...
39964 * include/list.h: ... here.
39965 * nptl/sysdeps/pthread/createthread.c: Moved ...
39966 * nptl/createthread.c: ... here.
39967 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39968 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39969 * nptl/pt-longjmp.c: ... here.
39970 * nptl/sysdeps/pthread/Makefile: Moved ...
39971 * sysdeps/nptl/Makefile: ... here.
39972 * nptl/sysdeps/pthread/Subdirs: Moved ...
39973 * sysdeps/nptl/Subdirs: ... here.
39974 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39975 * sysdeps/nptl/aio_misc.h: ... here.
39976 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39977 * sysdeps/nptl/bits/libc-lock.h: ... here.
39978 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39979 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39980 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39981 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39982 * nptl/sysdeps/pthread/configure: Moved ...
39983 * sysdeps/nptl/configure: ... here.
39984 * nptl/sysdeps/pthread/configure.ac: Moved ...
39985 * sysdeps/nptl/configure.ac: ... here.
39986 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39987 * sysdeps/nptl/gai_misc.h: ... here.
39988 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39989 * sysdeps/nptl/librt-cancellation.c: ... here.
39990 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39991 * sysdeps/nptl/malloc-machine.h: ... here.
39992 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39993 * sysdeps/nptl/pthread-functions.h: ... here.
39994 * nptl/sysdeps/pthread/pthread.h: Moved ...
39995 * sysdeps/nptl/pthread.h: ... here.
39996 * nptl/sysdeps/pthread/setxid.h: Moved ...
39997 * sysdeps/nptl/setxid.h: ... here.
39998 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39999 * sysdeps/nptl/sigfillset.c: ... here.
40000 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40001 * sysdeps/nptl/tcb-offsets.h: ... here.
40002 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40003 * sysdeps/nptl/tst-mqueue8x.c: ... here.
40004 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40005 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40006 * nptl/sysdeps/pthread/allocalim.h: Moved ...
40007 * sysdeps/pthread/allocalim.h: ... here.
40008 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40009 * sysdeps/pthread/bits/sigthread.h: ... here.
40010 * nptl/sysdeps/pthread/flockfile.c: Moved ...
40011 * sysdeps/pthread/flockfile.c: ... here.
40012 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40013 * sysdeps/pthread/ftrylockfile.c: ... here.
40014 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40015 * sysdeps/pthread/funlockfile.c: ... here.
40016 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40017 * sysdeps/pthread/posix-timer.h: ... here.
40018 * nptl/sysdeps/pthread/timer_create.c: Moved ...
40019 * sysdeps/pthread/timer_create.c: ... here.
40020 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40021 * sysdeps/pthread/timer_delete.c: ... here.
40022 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40023 * sysdeps/pthread/timer_getoverr.c: ... here.
40024 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40025 * sysdeps/pthread/timer_gettime.c: ... here.
40026 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40027 * sysdeps/pthread/timer_routines.c: ... here.
40028 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40029 * sysdeps/pthread/timer_settime.c: ... here.
40030 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40031 * sysdeps/pthread/tst-timer.c: ... here.
40032 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40033 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40034
40035 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40036 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40037
40038 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40039 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40040 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40041 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40042 Update #include target.
40043 * nptl/sysdeps/i386/i686/Makefile: Moved ...
40044 * sysdeps/i386/i686/nptl/Makefile: ... here.
40045 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40046 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40047 Update #include target.
40048 * nptl/sysdeps/i386/i686/tls.h: Moved ...
40049 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
40050 * nptl/sysdeps/i386/Makefile: Moved ...
40051 * sysdeps/i386/nptl/Makefile: ... here.
40052 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40053 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40054 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40055 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40056 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40057 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40058 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40059 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40060 * sysdeps/i386/nptl/pthreaddef.h: ... here.
40061 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40062 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40063 * nptl/sysdeps/i386/tls.h: Moved ...
40064 * sysdeps/i386/nptl/tls.h: ... here.
40065
40066 * sysdeps/sh/Makefile [$(subdir) = csu]
40067 (gen-as-const-headers): Add tcb-offsets.sym.
40068 * nptl/sysdeps/sh/Makefile: File removed.
40069 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40070 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40071 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40072 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40073 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40074 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40075 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40076 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40077 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40078 * sysdeps/sh/nptl/pthreaddef.h: ... here.
40079 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40080 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40081 * nptl/sysdeps/sh/tls.h: Moved ...
40082 * sysdeps/sh/nptl/tls.h: ... here.
40083 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40084 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40085 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40086 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40087 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40088 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40089 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40090 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40091 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40092 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40094 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40096 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40097 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40098 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40100 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40101 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40102 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40103 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40104 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40105 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40108 Moved ...
40109 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40111 Moved ...
40112 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40113 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40114 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40115 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40116 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40117 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40118 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40119 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40120 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40121 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40122 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40123 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40124 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40125 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40126 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40127 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40128 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40129 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40130 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40131
40132 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40133
40134 * posix/spawn_faction_addopen.c: Include string.h.
40135
40136 2014-06-11 Roland McGrath <roland@hack.frob.com>
40137
40138 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40139 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40140 * nptl/sysdeps/x86_64/Makefile: Moved ...
40141 * sysdeps/x86_64/nptl/Makefile: ... here.
40142 * nptl/sysdeps/x86_64/configure: Moved ...
40143 * sysdeps/x86_64/nptl/configure: ... here.
40144 * nptl/sysdeps/x86_64/configure.ac: Moved ...
40145 * sysdeps/x86_64/nptl/configure.ac: ... here.
40146 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40147 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40148 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40149 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40150 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40151 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40152 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40153 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40154 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40155 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40156 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40157 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40158 * nptl/sysdeps/x86_64/tls.h: Moved ...
40159 * sysdeps/x86_64/nptl/tls.h: ... here.
40160 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40161 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40162 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40163 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40164
40165 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40166
40167 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40168
40169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40170
40171 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40172
40173 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40174 type.
40175 [POSIX] (off_t): Likewise.
40176 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40177 [POSIX] (S_ISBLK): Require macro.
40178 [POSIX] (S_ISCHR): Likewise.
40179 [POSIX] (S_ISDIR): Likewise.
40180 [POSIX] (S_ISFIFO): Likewise.
40181 [POSIX] (S_ISREG): Likewise.
40182 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40183 optional-macro.
40184 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40185 type.
40186 [POSIX] (time_t): Likewise.
40187 [POSIX] (timer_t): Likewise.
40188
40189 2014-06-11 Florian Weimer <fweimer@redhat.com>
40190
40191 [BZ #17048]
40192 * posix/spawn_int.h (struct __spawn_action): Make the path string
40193 non-const to support deallocation.
40194 * posix/spawn_faction_addopen.c
40195 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40196 * posix/spawn_faction_destroy.c
40197 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40198 path in all spawn_do_open actions.
40199 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40200 posix_spawn_file_actions_addopen.
40201
40202 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40203
40204 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40205 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40206 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40207 conditional code always true.
40208 (__libc_vfork): New alias.
40209
40210 2014-06-11 Roland McGrath <roland@hack.frob.com>
40211
40212 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40213 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40214
40215 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40216
40217 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40218 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40219
40220 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40221 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40222
40223 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40224 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40225
40226 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40227
40228 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40229 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40230 multiarch strcmp for PPC64.
40231 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40232 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40234 multiarch optimizations.
40235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40236 (__libc_ifunc_impl_list): Likewise.
40237
40238 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40239
40240 * benchtests/scripts/validate_benchout.py: New script.
40241 * benchtests/Makefile (bench-func): Call it.
40242 * benchtests/scripts/benchout.schema.json: New file.
40243
40244 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40245
40246 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40247 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40248 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40249 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40250 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40251 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40252 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40253 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40254 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40255 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40256 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40257 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40258 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40259 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40260 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40261 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40263 Moved ...
40264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40265 ... here.
40266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40267 Moved ...
40268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40270 Moved ...
40271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40272 ... here.
40273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40274 Moved ...
40275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40276 ... here.
40277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40278 Moved ...
40279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40281 Moved ...
40282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40283 ... here.
40284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40285 Moved ...
40286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40287 ... here.
40288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40289 Moved ...
40290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40292 Moved ...
40293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40294 ... here.
40295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40296 Moved ...
40297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40298 ... here.
40299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40300 Moved ...
40301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40302 ... here.
40303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40304 Moved ...
40305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40307 Moved ...
40308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40309 ... here.
40310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40311 Moved ...
40312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40313 ... here.
40314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40315 Moved ...
40316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40317 ... here.
40318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40319 Moved ...
40320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40322 Moved ...
40323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40324 ... here.
40325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40326 Moved ...
40327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40328 ... here.
40329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40330 Moved ...
40331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40333 Moved ...
40334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40335 ... here.
40336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40337 Moved ...
40338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40340 Moved ...
40341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40343 Moved ...
40344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40345 ... here.
40346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40347 Moved ...
40348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40349 ... here.
40350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40351 Moved ...
40352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40353 ... here.
40354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40355 Moved ...
40356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40358 Moved ...
40359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40360 ... here.
40361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40362 Moved ...
40363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40364 ... here.
40365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40366 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40368 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40370 Moved ...
40371 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40372 ... here.
40373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40374 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40375 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40376 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40378 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40380 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40381 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40382 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40384 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40386 Moved ...
40387 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40389 Moved ...
40390 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40391 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40392 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40393 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40394 Moved ...
40395 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40397 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40398 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40399 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40400 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40401 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40402
40403 2014-06-10 Wilco <wdijkstr@arm.com>
40404
40405 * math/test-fenv-return.c: New file.
40406 * math/Makefile: Add new test test-fenv-return.
40407
40408 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40409
40410 [BZ #17042]
40411 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40412 when x - 1 is zero.
40413 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40414 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40415 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40416 0.0L for an argument of 1.0L.
40417 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40418 Likewise.
40419 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40420 value when x - 1 is zero.
40421 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40422 * sysdeps/i386/fpu/libm-test-ulps: Update.
40423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40424
40425 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40426
40427 [BZ #15119]
40428 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40429
40430 2014-06-09 Roland McGrath <roland@hack.frob.com>
40431
40432 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40433 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40434
40435 2014-06-09 Roland McGrath <roland@hack.frob.com>
40436
40437 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40438 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40439
40440 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40441 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40442
40443 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40444 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40445
40446 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40447 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40448
40449 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40450 if not already defined.
40451 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40452 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40453 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40454 (TLS_INIT_TP): Use it.
40455 (TLS_DEFINE_INIT_TP): New macro.
40456 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40457
40458 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40459
40460 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40461 constant.
40462 [POSIX] (IXANY): Likewise.
40463 [POSIX] (OLCUC): Likewise.
40464 [POSIX || POSIX2008] (CBAUD): Do not allow.
40465 [POSIX || POSIX2008] (DEFECHO): Likewise.
40466 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40467 [POSIX || POSIX2008] (ECHOKE): Likewise.
40468 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40469 [POSIX || POSIX2008] (EXTA): Likewise.
40470 [POSIX || POSIX2008] (EXTB): Likewise.
40471 [POSIX || POSIX2008] (FLUSHO): Likewise.
40472 [POSIX || POSIX2008] (LOBLK): Likewise.
40473 [POSIX || POSIX2008] (PENDIN): Likewise.
40474 [POSIX || POSIX2008] (SWTCH): Likewise.
40475 [POSIX || POSIX2008] (VDISCARD): Likewise.
40476 [POSIX || POSIX2008] (VDSUSP): Likewise.
40477 [POSIX || POSIX2008] (VLNEXT): Likewise.
40478 [POSIX || POSIX2008] (VREPRINT): Likewise.
40479 [POSIX || POSIX2008] (VSTATUS): Likewise.
40480 [POSIX || POSIX2008] (VWERASE): Likewise.
40481 (B*): Change to B[0123456789]*.
40482 * conform/data/time.h-data [POSIX || UNIX98]
40483 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40484 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40485 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40486 [POSIX] (tm_*): Do not allow.
40487
40488 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40489
40490 * Makefile (install): Don't set LANGUAGE.
40491 * Makefile.in (install): Likewise.
40492 * assert/Makefile (test-assert-ENV): Remove variable.
40493 (test-assert-perr-ENV): Likewise.
40494 * elf/Makefile (neededtest4-ENV): Likewise.
40495 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40496 [$(cross-compiling) = no]: Don't set LANGUAGE.
40497 * io/ftwtest-sh (LANG): Remove variable.
40498 * libio/Makefile (tst-widetext-ENV): Likewise.
40499 * manual/install.texi (Running make install): Don't refer to
40500 environment settings for make install.
40501 * INSTALL: Regenerated.
40502 * nptl/tst-tls6.sh: Don't set LANG.
40503 * posix/globtest.sh (LANG): Remove variable.
40504 * string/Makefile (tester-ENV): Likewise.
40505 (inl-tester-ENV): Likewise.
40506 (noinl-tester-ENV): Likewise.
40507 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40508 [$(cross-compiling) = no]: Don't set LANGUAGE.
40509 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40510 without explicit environment settings.
40511
40512 2014-06-06 Roland McGrath <roland@hack.frob.com>
40513
40514 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40515 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40516 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40517 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40518
40519 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40520
40521 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40522 other files in the crypt directory.
40523 * crypt/crypt.c: Remove duplicate includes.
40524 * crypt/crypt-entry.c: Likewise.
40525 * crypt/crypt_util.c: Likewise.
40526
40527 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40528
40529 * Makeconfig (run-program-env): New variable.
40530 (run-program-prefix-before-env): Likewise.
40531 (run-program-prefix-after-env): Likewise.
40532 (run-program-prefix): Define in terms of new variables.
40533 (built-program-cmd-before-env): New variable.
40534 (built-program-cmd-after-env): Likewise.
40535 (built-program-cmd): Define in terms of new variables.
40536 (test-program-prefix-before-env): New variable.
40537 (test-program-prefix-after-env): Likewise.
40538 (test-program-prefix): Define in terms of new variables.
40539 (test-program-cmd-before-env): New variable.
40540 (test-program-cmd-after-env): Likewise.
40541 (test-program-cmd): Define in terms of new variables.
40542 * Rules (make-test-out): Use $(run-program-env).
40543 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40544 (help): Do not mention environment variables. Mention
40545 --timeoutfactor option.
40546 (timeoutfactor): New variable.
40547 (blacklist_exports): Remove function.
40548 (exports): Remove variable.
40549 (command): Do not include ${exports}.
40550 * manual/install.texi (Configuring and compiling): Do not mention
40551 test wrappers preserving environment variables. Mention that last
40552 assignment to a variable must take precedence.
40553 * INSTALL: Regenerated.
40554 * benchtests/Makefile (run-bench): Use $(run-program-env).
40555 * catgets/Makefile ($(objpfx)test1.cat): Use
40556 $(built-program-cmd-before-env), $(run-program-env) and
40557 $(built-program-cmd-after-env).
40558 ($(objpfx)test2.cat): Do not specify environment variables
40559 explicitly.
40560 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40561 $(run-program-env) and $(built-program-cmd-after-env).
40562 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40563 $(run-program-env) and $(test-program-cmd-after-env).
40564 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40565 explicitly.
40566 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40567 run_program_env and test_program_cmd_after_env arguments.
40568 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40569 * elf/tst-pathopt.sh: Use run_program_env argument.
40570 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40571 $(test-wrapper-env) and $(run-program-env).
40572 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40573 run_program_env arguments.
40574 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40575 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40576 $(test-program-prefix-before-env), $(run-program-env) and
40577 $(test-program-prefix-after-env).
40578 ($(objpfx)tst-gettext2.out): Likewise.
40579 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40580 run_program_env and test_program_prefix_after_env arguments.
40581 * intl/tst-gettext2.sh: Likewise.
40582 * intl/tst-gettext4.sh: Do not set environment variables
40583 explicitly.
40584 * intl/tst-gettext6.sh: Likewise.
40585 * intl/tst-translit.sh: Likewise.
40586 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40587 $(test-program-prefix-before-env), $(run-program-env) and
40588 $(test-program-prefix-after-env).
40589 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40590 run_program_env and test_program_prefix_after_env arguments.
40591 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40592 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40593 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40594 explicitly with each use of ${test_wrapper_env}.
40595 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40596 $(test-program-prefix-before-env), $(run-program-env) and
40597 $(test-program-prefix-after-env).
40598 * posix/tst-getconf.sh: Do not set environment variables
40599 explicitly.
40600 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40601 run_program_env and test_program_prefix_after_env arguments.
40602 * stdio-common/tst-printf.sh: Do not set environment variables
40603 explicitly.
40604 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40605 $(test-program-prefix-before-env), $(run-program-env) and
40606 $(test-program-prefix-after-env).
40607 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40608 run_program_env and test_program_prefix_after_env arguments.
40609 Split $test calls into $test_pre and $test.
40610 * timezone/Makefile (build-testdata): Use
40611 $(built-program-cmd-before-env), $(run-program-env) and
40612 $(built-program-cmd-after-env).
40613
40614 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40615
40616 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40617 strlen for non SHARED builds.
40618
40619 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40620
40621 * nptl/allocatestack.c (check_list): Inlined function...
40622 (__reclaim_stacks): ... here.
40623
40624 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40625
40626 [BZ #15698]
40627 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40628 memory overrun.
40629
40630 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40631
40632 * Rules (make-test-out): Include
40633 LOCPATH=$(common-objpfx)localedata in default environment.
40634 * debug/Makefile (tst-chk1-ENV): Remove variable.
40635 (tst-chk2-ENV): Likewise.
40636 (tst-chk3-ENV): Likewise.
40637 (tst-chk4-ENV): Likewise.
40638 (tst-chk5-ENV): Likewise.
40639 (tst-chk6-ENV): Likewise.
40640 (tst-lfschk1-ENV): Likewise.
40641 (tst-lfschk2-ENV): Likewise.
40642 (tst-lfschk3-ENV): Likewise.
40643 (tst-lfschk4-ENV): Likewise.
40644 (tst-lfschk5-ENV): Likewise.
40645 (tst-lfschk6-ENV): Likewise.
40646 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40647 (tst-iconv7-ENV): Likewise.
40648 * intl/Makefile (LOCPATH-ENV): Likewise.
40649 (tst-codeset-ENV): Likewise.
40650 (tst-gettext3-ENV): Likewise.
40651 (tst-gettext5-ENV): Likewise.
40652 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40653 (tst-fopenloc-ENV): Likewise.
40654 (tst-fgetws-ENV): Remove variable.
40655 (tst-ungetwc1-ENV): Likewise.
40656 (tst-ungetwc2-ENV): Likewise.
40657 (bug-ungetwc2-ENV): Likewise.
40658 (tst-swscanf-ENV): Likewise.
40659 (bug-ftell-ENV): Likewise.
40660 (tst-fgetwc-ENV): Likewise.
40661 (tst-fseek-ENV): Likewise.
40662 (tst-ftell-partial-wide-ENV): Likewise.
40663 (tst-ftell-active-handler-ENV): Likewise.
40664 (tst-ftell-append-ENV): Likewise.
40665 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40666 (tst-regexloc-ENV): Likewise.
40667 (bug-regex1-ENV): Likewise.
40668 (tst-regex-ENV): Likewise.
40669 (tst-regex2-ENV): Likewise.
40670 (bug-regex5-ENV): Likewise.
40671 (bug-regex6-ENV): Likewise.
40672 (bug-regex17-ENV): Likewise.
40673 (bug-regex18-ENV): Likewise.
40674 (bug-regex19-ENV): Likewise.
40675 (bug-regex20-ENV): Likewise.
40676 (bug-regex22-ENV): Likewise.
40677 (bug-regex23-ENV): Likewise.
40678 (bug-regex25-ENV): Likewise.
40679 (bug-regex26-ENV): Likewise.
40680 (bug-regex30-ENV): Likewise.
40681 (bug-regex32-ENV): Likewise.
40682 (bug-regex33-ENV): Likewise.
40683 (bug-regex34-ENV): Likewise.
40684 (bug-regex35-ENV): Likewise.
40685 (tst-rxspencer-ENV): Likewise.
40686 (tst-rxspencer-no-utf8-ENV): Likewise.
40687 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40688 (tst-sscanf-ENV): Likewise.
40689 (tst-swprintf-ENV): Likewise.
40690 (tst-swscanf-ENV): Likewise.
40691 (test-vfprintf-ENV): Likewise.
40692 (scanf13-ENV): Likewise.
40693 (bug14-ENV): Likewise.
40694 (tst-grouping-ENV): Likewise.
40695 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40696 (tst-strtod3-ENV): Likewise.
40697 (tst-strtod4-ENV): Likewise.
40698 (tst-strtod5-ENV): Likewise.
40699 (testmb2-ENV): Likewise./
40700 * string/Makefile (tst-strxfrm-ENV): Likewise.
40701 (tst-strxfrm2-ENV): Likewise.
40702 (bug-strcoll1-ENV): Likewise.
40703 (test-strcasecmp-ENV): Likewise.
40704 (test-strncasecmp-ENV): Likewise.
40705 * time/Makefile (tst-strptime-ENV): Likewise.
40706 (tst-ftime_l-ENV): Likewise.
40707 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40708 (tst-mbrtowc-ENV): Likewise.
40709 (tst-wcrtomb-ENV): Likewise.
40710 (tst-mbrtowc2-ENV): Likewise.
40711 (tst-c16c32-1-ENV): Likewise.
40712 (tst-mbsnrtowcs-ENV): Likewise.
40713
40714 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40715
40716 * manual/resource.texi (How to get information about the memory
40717 subsystem?): Fix typo.
40718 Reported by Peon de la Parra Ivan <peon@keba.com>
40719
40720 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40721
40722 [BZ #16882]
40723 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40724 (pthread_spin_lock): Branch out of spin loop to proper location.
40725 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40726 (pthread_spin_lock): Likewise.
40727
40728 * nptl/tst-spin4.c: New test.
40729 * nptl/Makefile (tests): Add tst-spin4.
40730
40731 2014-06-03 Andreas Schwab <schwab@suse.de>
40732
40733 [BZ #15946]
40734 * resolv/res_send.c (send_dg): Reload file descriptor after
40735 calling reopen.
40736
40737 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40738
40739 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40740
40741 2014-06-03 Richard Henderson <rth@redhat.com>
40742
40743 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40744 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40745 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40746 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40747 in the SAVE_PID block.
40748 (__libc_vfork): New alias.
40749 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40750
40751 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40752 child in registers, not on the stack. Remove RESET_PID conditionals.
40753 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40754
40755 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40756
40757 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40758
40759 2014-06-03 Wilco <wdijkstr@arm.com>
40760
40761 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40762 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40763 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40764 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40765 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40766 Likewise.
40767
40768 2014-06-03 Wilco <wdijkstr@arm.com>
40769
40770 * sysdeps/aarch64/fpu/math_private.h
40771 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40772 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40773 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40774 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40775 Fix declarations.
40776
40777 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40778
40779 * crypt/crypt-private.h: Include ufc-crypt.h.
40780 (__b64_from_24bit): Declare extern.
40781 * crypt/crypt_util.c(__b64_from_24bit): New function.
40782 (b64t): New static const variable.
40783 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40784 (b64t): Remove variable.
40785 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40786 * crypt/sha256-crypt.c: Include crypt-private.h.
40787 (b64t): Remove variable.
40788 (__sha256_crypt_r): Remove b64_from_24bit and replace
40789 with __b64_from_24bit.
40790 * crypt/sha512-crypt.c: Likewise.
40791
40792 2014-06-02 Roland McGrath <roland@hack.frob.com>
40793
40794 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40795 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40796 Label the code __libc_vfork rather than __vfork.
40797 [!NOT_IN_libc] (vfork): Define as weak alias.
40798 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40799 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40800 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40801
40802 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40803
40804 * malloc/malloc.c (malloc_info): Fix format specifier for
40805 n_mmaps.
40806
40807 2014-06-02 Wilco <wdijkstr@arm.com>
40808
40809 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40810 FPCR write.
40811
40812 2014-06-02 Wilco <wdijkstr@arm.com>
40813
40814 [BZ #17009]
40815 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40816 Rewrite to reduce FPCR/FPSR accesses.
40817
40818 2014-06-01 David S. Miller <davem@davemloft.net>
40819
40820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40821
40822 2014-05-31 David S. Miller <davem@davemloft.net>
40823
40824 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40825 to occur in round to nearest mode when |x| >= 2.0
40826
40827 2014-05-30 Richard Henderson <rth@twiddle.net>
40828
40829 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40830 (PSEUDO_RET_NOERRNO): Remove.
40831 (ret): Don't redefine.
40832 (ret_NOERRNO): Define in terms of ret.
40833 (ret_ERRVAL): Likewise.
40834
40835 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40836 use of PSEUDO_RET; perform the error check directly.
40837
40838 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40839
40840 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40841 with __int128_t.
40842
40843 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40844
40845 * malloc/malloc (malloc_info): Fix formatting.
40846
40847 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40848 Roland McGrath <roland@hack.frob.com>
40849
40850 * malloc/malloc (malloc_info): Also print mmapped statistics.
40851
40852 2014-05-30 Roland McGrath <roland@hack.frob.com>
40853
40854 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40855 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40856
40857 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40858
40859 * malloc/malloc.c (malloc_info): Inline mi_arena.
40860
40861 2014-05-29 Richard Henderson <rth@twiddle.net>
40862
40863 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40864 Remove comma before expanding ASM_ARGS_##nr.
40865 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40866 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40867 of ASM_ARGS_##nr.
40868 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40869 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40870 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40871 (ASM_ARGS_1): Add leading comma.
40872
40873 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40874 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40875 to __errno_location.
40876 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40877 Remove the expected plt for __errno_location.
40878
40879 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40880 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40881 call to __read_tp.
40882
40883 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40884 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40885 it and break it down.
40886 (DOCARGS_0, DOCARGS_1): Do nothing.
40887 (DOCARGS_2): Update to store into the new stack frame.
40888 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40889 (UNDOCARGS_1): Update to restore from the new stack frame.
40890 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40891 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40892
40893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40894 (SINGLE_THREAD_P): New parameter for result regno.
40895 (PSEUDO): Update to match; use cbz instead of beq.
40896
40897 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40898 Use ENTRY to define the _nocancel entry point. Share the syscall
40899 and syscall error check paths with the cancel path.
40900 (PSEUDO_END): New.
40901
40902 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40903 whitespace; tabs before and after asm mnemonics.
40904
40905 2014-05-29 Eric Wong <normalperson@yhbt.net>
40906
40907 [BZ #15132]
40908 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40909 Call fstat64 or stat64 internally, depending on arguments passed.
40910 Replace stat buffer argument with file descriptor argument.
40911 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40912 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40913 Pass fd to __internal_statvfs instead of calling fstat64.
40914 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40915 Pass fd to __internal_statvfs64 instead of calling fstat64.
40916 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40917 Pass -1 to __internal_statvfs instead of calling stat64.
40918 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40919 Pass -1 to __internal_statvfs64 instead of calling stat64.
40920
40921 2014-05-28 Roland McGrath <roland@hack.frob.com>
40922
40923 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40924 that was previously under [RESET_PID].
40925 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40926
40927 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40928 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40929
40930 2014-05-27 Roland McGrath <roland@hack.frob.com>
40931
40932 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40933
40934 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40935 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40936
40937 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40938
40939 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40940
40941 2014-05-27 Andreas Schwab <schwab@suse.de>
40942
40943 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40944 TLS_INIT_TP macro.
40945 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40946 * elf/rtld.c (init_tls, dl_main): Likewise.
40947 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40948 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40949 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40950 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40951 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40952 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40953 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40954 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40955 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40956 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40957 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40958 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40959 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40960 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40961 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40962 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40963 * sysdeps/generic/tls.h: Update description.
40964
40965 2014-05-27 Will Newton <will.newton@linaro.org>
40966
40967 [BZ #16990]
40968 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40969 and restore r2 rather than just restoring.
40970
40971 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40972
40973 [BZ #16724]
40974 * libio/tst-ftell-append.c: New test case.
40975 * libio/Makefile (tests): Add test case.
40976 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40977 append mode.
40978 * libio/wfileops.c (do_ftell_wide): Likewise.
40979
40980 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40981
40982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40983
40984 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40985 ...
40986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40988 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40989 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40990 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40991 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40992 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40993 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40994 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40995 Moved ...
40996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40998 Moved ...
40999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41001 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41002 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41003 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41004 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41005 ...
41006 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41007 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41008 Moved ...
41009 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41010 here.
41011 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41012 ...
41013 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41014 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41015 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41016
41017 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41018 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41019 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41020 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41021
41022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41023 merge into ...
41024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41026 ...
41027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41029 ...
41030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41032 Moved ...
41033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41034 here.
41035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41036 Moved ...
41037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41039 Moved ...
41040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41041
41042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41043 conditional [RESET_PID].
41044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41046 removed.
41047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41048 removed.
41049
41050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41051 <tcb-offsets.h>.
41052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41053 (__libc_vfork): New strong alias.
41054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41055 removed.
41056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41057 Removed.
41058
41059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41060 <tcb-offsets.h>.
41061 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41062 (__libc_vfork): New strong alias.
41063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41064 removed.
41065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41066 removed.
41067
41068 2014-05-26 Carlos O'Donell <carlos@redhat.com>
41069
41070 * malloc/malloc.c (mi_arena): New function.
41071 (malloc_info): Remove nested function mi_arena. Call non-nosted
41072 function mi_arena.
41073
41074 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41075
41076 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41077 by insrwi.
41078 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41079 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41080 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41081 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41082 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41083 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41085
41086 2014-05-26 Andreas Schwab <schwab@suse.de>
41087
41088 [BZ #16984]
41089 * locale/programs/repertoire.c (repertoire_read): Add slash
41090 between I18NPATH element and file name.
41091 * locale/programs/locfile.c (locfile_read): Likewise.
41092
41093 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41094
41095 * nptl/pthread_mutexattr_settype.c
41096 (__pthread_mutexattr_settype):
41097 Disable lock elision for PTHREAD_MUTEX_NORMAL.
41098
41099 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41100
41101 * nptl/tst-mutex5 (do_test):
41102 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41103
41104 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41105
41106 * benchtests/README: Document 'init' directive.
41107 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41108 BENCH_INIT.
41109 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41110 (parse_file): Recognize 'init' directive.
41111
41112 2014-05-26 Kyle McMartin <kyle@redhat.com>
41113
41114 [BZ #16796]
41115 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41116 alignment of struct pthread.
41117
41118 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41119
41120 [BZ #16878]
41121 * nscd/netgroupcache.c (addgetnetgrentX): Look for
41122 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41123 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41124 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41125
41126 2014-05-25 Richard Henderson <rth@twiddle.net>
41127
41128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41129 (SINGLE_THREAD_P_PIC): Remove.
41130 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41131 (SINGLE_THREAD_P_PIC): Remove.
41132
41133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41134 branch to syscall error ...
41135 (PSEUDO): ... here.
41136 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41137 from __local_syscall_error to .Lsyscall_error.
41138 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41139 (SYSCALL_ERROR): Update label name.
41140
41141 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41142 Do not use DOARGS/UNDOARGS.
41143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41144 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41145 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41146 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41147 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41148
41149 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41150 block comment.
41151
41152 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41153 define if !NOT_IN_libc.
41154 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41155 define with non-default symbol versions.
41156
41157 2014-05-23 Richard Henderson <rth@twiddle.net>
41158
41159 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41160 (vfork, __vfork): Define via compat_symbol.
41161
41162 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41163 [!HAVE_IFUNC] (vfork_compat): Remove.
41164 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41165
41166 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41167
41168 [BZ #16978]
41169 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41170 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41171 variable.
41172
41173 2014-05-23 Richard Henderson <rth@twiddle.net>
41174
41175 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41176 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41177 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41178 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41179
41180 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41181 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41183 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41184 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41185 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41186 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41187 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41188 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41189 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41190 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41191 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41192 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41193 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41194 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41195 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41196 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41197 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41198 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41199 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41200 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41201 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41202 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41203 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41204 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41205 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41206 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41207 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41208 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41209 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41210 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41211 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41212 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41213 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41214 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41215 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41216 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41217 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41218 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41219 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41220 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41221 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41222 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41223 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41224 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41225 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41227 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41229 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41230 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41231 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41233 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41235 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41236
41237 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41238 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41239 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41240 before exiting on error.
41241 (__libc_vfork): New strong alias.
41242 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41243 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41244
41245 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41246 that was previously under [RESET_PID].
41247 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41248
41249 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41250
41251 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41252
41253 [BZ #16977]
41254 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41255 value when x - 1 is zero.
41256 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41257 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41258 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41259 0.0L for an argument of 1.0L.
41260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41261 Likewise.
41262 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41263 value when x - 1 is zero.
41264 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41265 * sysdeps/i386/fpu/libm-test-ulps: Update.
41266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41267
41268 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41269
41270 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41271 alphasort and versionsort.
41272
41273 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41274
41275 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41276 macro.
41277 [copysignf]: Likewise.
41278
41279 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41280
41281 * crypt/md5-crypt.c: Fix formatting.
41282
41283 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41284
41285 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41286 (b64_from_24bit): New function.
41287
41288 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41289
41290 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41291 libc_hidden_builtin_def to ifunc.
41292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41293 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41294
41295 2014-05-21 Roland McGrath <roland@hack.frob.com>
41296
41297 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41298 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41299
41300 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41301
41302 * nscd/Depend (linuxthreads): Remove.
41303 (nptl): Add.
41304 * resolv/Depend (linuxthreads): Remove.
41305 * rt/Depend (linuxthreads): Remove.
41306
41307 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41308 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41309 $(common-objpfx)elf/.
41310 (link-libc-before-gnulib): Likewise.
41311 (elfobjdir): Remove variable.
41312 * Makefile (install): Use $(elf-objpfx) instead of
41313 $(common-objpfx)elf/.
41314 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41315 $(elfobjdir)/.
41316 (link-libc-deps): Likewise.
41317 ($(common-objpfx)libc.so): Likewise.
41318 ($(common-objpfx)linkobj/libc.so): Likewise.
41319 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41320 instead of $(common-objpfx)elf/.
41321 (symbolic-link-list): Likewise.
41322 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41323 [$(cross-compiling) = no]: Likewise.
41324 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41325 $(elfobjdir)/.
41326 (static-gnulib-arch): Likewise.
41327 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41328 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41329 $(common-objpfx)elf/.
41330
41331 2014-05-21 Richard Henderson <rth@redhat.com>
41332
41333 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41334 (SINGLE_THREAD_P): Use the correct width load. Fold
41335 into the ldr offset.
41336
41337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41338 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41339
41340 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41341
41342 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41343 (libgcc_s_resume): Use __attribute_used__.
41344 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41345 Likewise.
41346
41347 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41348
41349 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41350 optimization when used with float constants.
41351
41352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41353
41354 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41355
41356 [BZ #16915]
41357 * locale/nl_langinfo_l.c: Make direct reference to every
41358 _nl_current_CATEGORY symbol.
41359 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41360 (tests-static): Add tst-langinfo-static.
41361 (tests-special): Add tst-langinfo-static.out.
41362 ($(objpfx)tst-langinfo.out): Redirect output.
41363 ($(objpfx)tst-langinfo-static.out): New.
41364 * localedata/tst-langinfo.sh: Send output to stdout.
41365 * localedata/tst-langinfo-static.c: New file.
41366
41367 [BZ #16965]
41368 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41369 when the shift amount is modulo the limb size.
41370
41371 2014-05-20 Richard Henderson <rth@redhat.com>
41372
41373 [BZ #16967]
41374 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41375 Change type of sa_flags from unsigned int to int.
41376
41377 [BZ #16966]
41378 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41379
41380 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41381
41382 2014-05-20 Will Newton <will.newton@linaro.org>
41383
41384 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41385 Test the return value of the system call in the nocancel case.
41386
41387 2014-05-20 Will Newton <will.newton@linaro.org>
41388 Yvan Roux <yvan.roux@linaro.org>
41389
41390 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41391 #include of asm/ptrace.h.
41392 (PTRACE_GET_THREAD_AREA): Remove #undef.
41393 (PTRACE_GETHBPREGS): Likewise.
41394 (PTRACE_SETHBPREGS): Likewise.
41395 (struct user_regs_struct): New structure.
41396 (struct user_fpsimd_struct): New structure.
41397 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41398 #include of asm/ptrace.h and second #include of sys/user.h.
41399 (PTRACE_GET_THREAD_AREA): Remove #undef.
41400 (PTRACE_GETHBPREGS): Likewise.
41401 (PTRACE_SETHBPREGS): Likewise.
41402 (ELF_NGREG): Use new struct user_regs_struct.
41403 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41404
41405 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41406
41407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41408 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41409
41410 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41411
41412 [BZ #16958]
41413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41414 membar to avoid block loads/stores to overlap previous stores.
41415
41416 2014-05-17 Richard Henderson <rth@redhat.com>
41417
41418 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41419 Create the __##syscall_name##_nocancel entry point.
41420 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41421 Remove; let the sysdep-cancel.h code create it.
41422
41423 2014-05-17 David S. Miller <davem@davemloft.net>
41424
41425 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41426 Protect with __USE_GNU.
41427 (TIOCSET_TEMPT): Likewise.
41428 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41429 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41430 these are already provided in bits/ioctl-types.h
41431
41432 2014-05-16 Roland McGrath <roland@hack.frob.com>
41433
41434 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41435 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41436
41437 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41438 Use wait4 regardless of [__NR_waitpid].
41439
41440 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41441
41442 PR libgcc/60166
41443 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41444 (_FP_NANSIGN_Q): Set the quiet bit.
41445
41446 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41447
41448 * benchtests/Makefile
41449 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41450 not $(common-objpfx)math/libm.so.
41451 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41452 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41453 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41454 $(common-objpfx)dlfcn/libdl.so.
41455 ($(objpfx)tst-audit8): Depend on $(libm), not
41456 $(common-objpfx)math/libm.so.
41457 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41458 not $(common-objpfx)dlfcn/libdl.so.
41459 * math/Makefile
41460 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41461 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41462 [$(build-shared) = yes].
41463 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41464 $(common-objpfx)nptl/libpthread.so.
41465 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41466 $(common-objpfx)math/libm.so$(libm.so-version) or
41467 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41468 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41469 $(common-objpfx)dlfcn/libdl.so.
41470 * setjmp/Makefile (link-libm): Remove variable.
41471 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41472 * stdio-common/Makefile (link-libm): Remove variable.
41473 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41474 * stdlib/Makefile (link-libm): Remove variable.
41475 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41476 ($(objpfx)tst-strtod-round): Likewise.
41477 ($(objpfx)tst-tininess): Likewise.
41478 ($(objpfx)tst-strtod-underflow): Likewise.
41479 ($(objpfx)tst-strtod6): Likewise.
41480 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41481 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41482 $(common-objpfx)dlfcn/libdl.so.
41483
41484 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41485
41486 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41487 BSD terminal modes definitions.
41488
41489 2014-05-16 Roland McGrath <roland@hack.frob.com>
41490
41491 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41492 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41493
41494 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41495 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41496 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41497 Don't do #include_next.
41498 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41499 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41500 Don't do #include_next.
41501 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41502 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41503 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41504 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41505
41506 2014-05-16 Allan McRae <allan@archlinux.org>
41507
41508 * po/sv.po: Update Swedish translation from translation project.
41509
41510 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41511 in sed expression.
41512
41513 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41514
41515 [BZ #16917]
41516 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41517 errno if the TIOCGPTN ioctl fails with an error different than
41518 EINVAL.
41519 * login/tst-ptsname.c: New file.
41520 * login/Makefile (tests): Add tst-ptsname.
41521
41522 [BZ #16943]
41523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41524 and prlimit64.
41525
41526 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41527
41528 [BZ #16849]
41529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41530 herrno to return EAI_AGAIN.
41531
41532 2014-05-14 Roland McGrath <roland@hack.frob.com>
41533
41534 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41535 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41536 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41537 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41538 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41539 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41540 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41541 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41543 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41544 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41545 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41546 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41547 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41548 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41549 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41550 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41551 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41552 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41553 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41554 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41555 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41556 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41557 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41558 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41559 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41560 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41561 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41562 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41563 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41565 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41567 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41569 Moved ...
41570 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41572 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41574 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41576 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41578 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41582 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41584 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41586 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41588 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41590 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41592 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41594 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41596 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41598 Moved ...
41599 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41601 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41603 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41605 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41607 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41611 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41613 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41615 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41617 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41619 Moved ...
41620 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41622 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41623
41624 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41625 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41626 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41627 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41628 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41629 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41630 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41631 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41632 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41633 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41634 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41635 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41636 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41637 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41638 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41639 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41640 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41641 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41642 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41643 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41644 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41645 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41646 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41647 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41648 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41649 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41650 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41651 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41652 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41653 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41654 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41655
41656 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41657 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41658
41659 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41660 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41661 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41662 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41663 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41664 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41665 Moved ...
41666 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41667 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41668 Moved ...
41669 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41671 Moved ...
41672 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41674 Moved ...
41675 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41676 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41677 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41679 Moved ...
41680 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41681 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41682 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41683 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41684 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41685 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41686 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41688 Moved ...
41689 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41691 Moved ...
41692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41693 ... here.
41694 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41695 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41696 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41697 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41698 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41699 Moved ...
41700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41701 ... here.
41702 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41703 Moved ...
41704 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41705 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41706 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41707 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41708 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41709 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41710 Moved ...
41711 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41712 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41713 Moved ...
41714 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41716 Moved ...
41717 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41719 Moved ...
41720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41721 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41722 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41724 Moved ...
41725 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41726 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41727 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41728 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41729 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41730 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41731 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41733 Moved ...
41734 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41736 Moved ...
41737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41738 ... here.
41739 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41740 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41741 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41742 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41743 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41744 Moved ...
41745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41746 ... here.
41747 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41748 Moved ...
41749 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41750 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41751 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41752 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41753 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41754 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41755 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41756 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41757 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41758 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41759 Moved ...
41760 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41761 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41762 Moved ...
41763 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41764 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41765 Moved ...
41766 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41768 Moved ...
41769 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41770 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41771 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41772 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41773 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41774 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41775 Moved ...
41776 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41777 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41778 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41779 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41780 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41781 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41782 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41784 Moved ...
41785 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41787 Moved ...
41788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41789 ... here.
41790 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41791 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41792 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41793 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41794 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41795 Moved ...
41796 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41797 ... here.
41798 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41799 Moved ...
41800 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41801 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41802 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41803 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41804 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41805 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41806 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41807 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41808 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41809 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41810 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41811
41812 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41813 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41814
41815 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41816 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41817
41818 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41819 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41820 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41821 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41822 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41823 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41824 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41825 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41826 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41827 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41829 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41830 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41831 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41832 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41834 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41836 Moved ...
41837 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41839 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41840 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41841 Moved ...
41842 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41843 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41844 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41845 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41846 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41850 Moved ...
41851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41853 Moved ...
41854 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41856 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41858 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41859 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41860 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41861 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41862 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41863 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41864 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41865 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41866 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41867 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41868 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41869 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41870 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41871
41872 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41873 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41874 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41875 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41876 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41877
41878 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41879 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41880 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41881 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41882 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41883 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41884 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41885 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41886 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41887 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41888
41889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41891
41892 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41893 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41894 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41895 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41896 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41897 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41898 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41899 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41900 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41901 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41902 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41903 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41904 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41905 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41907 Update #include.
41908 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41909 Likewise.
41910 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41911 Likewise.
41912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41913 Likewise.
41914 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41915 Likewise.
41916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41917 Likewise.
41918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41919 Likewise.
41920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41921 Likewise.
41922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41923 Likewise.
41924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41925 Likewise.
41926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41928 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41933 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41936 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41937 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41938 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41939 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41940 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41941
41942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41943 that was previously under [RESET_PID].
41944 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41945 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41946 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41947
41948 * sysdeps/i386/nptl/Implies: New file.
41949 * sysdeps/x86_64/nptl/Implies: New file.
41950 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41951 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41952 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41953 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41954
41955 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41956 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41957 (__libc_vfork): New strong alias.
41958 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41959 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41960
41961 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41962 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41963 (__libc_vfork): New strong alias.
41964 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41965 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41966
41967 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41968 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41969 (__libc_vfork): New strong alias.
41970 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41971 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41972 * nptl/pt-vfork.c: New file.
41973 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41974 (libpthread: GLIBC_2.20): New version set (empty).
41975
41976 2014-05-14 Will Newton <will.newton@linaro.org>
41977
41978 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41979 rather than #if.
41980
41981 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41982
41983 [BZ #16564]
41984 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41985 arguments with exponent 65 or above.
41986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41987 arguments 0x1p113L or above.
41988 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41989 to arguments 0x1p107L or above.
41990 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41991 positive arguments with exponent 65 or above.
41992 * math/auto-libm-test-in: Add more tests of log1p.
41993 * math/auto-libm-test-out: Regenerated.
41994
41995 [BZ #16928]
41996 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41997 non-finite arguments is +0.
41998 * math/s_cacosf.c (__cacosf): Likewise.
41999 * math/s_cacosl.c (__cacosl): Likewise.
42000 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42001 * sysdeps/i386/fpu/libm-test-ulps: Update.
42002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42003
42004 [BZ #16927]
42005 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42006 value.
42007 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42008 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42009 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42010 for explicit high bit of mantissa when testing for argument equal
42011 to 1.
42012 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42013 * sysdeps/i386/fpu/libm-test-ulps: Update.
42014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42015
42016 [BZ #16516]
42017 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42018 (__erf): Scale by 16 instead of 8 in potentially underflowing
42019 case. Ensure exception if result actually underflows.
42020 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42021 (__erff): Scale by 16 instead of 8 in potentially underflowing
42022 case. Ensure exception if result actually underflows.
42023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42024 (efx8): Remove variable.
42025 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42026 case. Ensure exception if result actually underflows.
42027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42028 (efx8): Remove variable.
42029 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42030 case. Ensure exception if result actually underflows.
42031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42032 (efx8): Remove variable.
42033 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42034 case. Ensure exception if result actually underflows.
42035 * math/auto-libm-test-in: Add more tests of erf.
42036 * math/auto-libm-test-out: Regenerated.
42037
42038 2014-05-14 Andreas Schwab <schwab@suse.de>
42039
42040 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42041 Remove code conditionalized on USE___THREAD.
42042
42043 * config.h.in (HAVE_PT_CHOWN): Define as 0.
42044 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42045 not definedness.
42046
42047 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42048
42049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42050 Define unconditionally.
42051 (__ASSUME_O_CLOEXEC): Likewise.
42052 (__ASSUME_SOCK_CLOEXEC): Likewise.
42053 (__ASSUME_IN_NONBLOCK): Likewise.
42054 (__ASSUME_PIPE2): Likewise.
42055 (__ASSUME_EVENTFD2): Likewise.
42056 (__ASSUME_SIGNALFD4): Likewise.
42057 (__ASSUME_DUP3): Likewise.
42058 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42059 (__ASSUME_DUP3): Do not define.
42060 (__ASSUME_EVENTFD2): Likewise.
42061 (__ASSUME_IN_NONBLOCK): Likewise.
42062 (__ASSUME_O_CLOEXEC): Likewise.
42063 (__ASSUME_PIPE2): Likewise.
42064 (__ASSUME_SIGNALFD4): Likewise.
42065 (__ASSUME_SOCK_CLOEXEC): Likewise.
42066 (__ASSUME_UTIMES): Undefine.
42067 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42068 (__ASSUME_UTIMES): Do not define.
42069 (__ASSUME_O_CLOEXEC): Likewise.
42070 (__ASSUME_SOCK_CLOEXEC): Likewise.
42071 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42072 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42073 0x020621].
42074 (__ASSUME_PIPE2): Likewise.
42075 (__ASSUME_EVENTFD2): Likewise.
42076 (__ASSUME_SIGNALFD4): Likewise.
42077 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42078 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42079 Do not define.
42080 (__ASSUME_EVENTFD2): Likewise.
42081 (__ASSUME_SIGNALFD4): Likewise.
42082 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42083 (__ASSUME_32BITUIDS): Likewise.
42084 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42085 (__ASSUME_IPC64): Likewise.
42086 (__ASSUME_ST_INO_64_BIT): Likewise.
42087 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42088 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42089 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42090 (__ASSUME_UTIMES): Do not define.
42091 (__ASSUME_PSELECT): Likewise.
42092 (__ASSUME_PPOLL): Likewise.
42093 (__ASSUME_O_CLOEXEC): Likewise.
42094 (__ASSUME_SOCK_CLOEXEC): Likewise.
42095 (__ASSUME_IN_NONBLOCK): Likewise.
42096 (__ASSUME_PIPE2): Likewise.
42097 (__ASSUME_EVENTFD2): Likewise.
42098 (__ASSUME_SIGNALFD4): Likewise.
42099 (__ASSUME_DUP3): Likewise.
42100 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42101 (__ASSUME_UTIMES): Likewise.
42102 (__ASSUME_O_CLOEXEC): Likewise.
42103 (__ASSUME_SOCK_CLOEXEC): Likewise.
42104 (__ASSUME_IN_NONBLOCK): Likewise.
42105 (__ASSUME_PIPE2): Likewise.
42106 (__ASSUME_EVENTFD2): Likewise.
42107 (__ASSUME_SIGNALFD4): Likewise.
42108 (__ASSUME_DUP3): Likewise.
42109 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42110 (__ASSUME_UTIMES): Likewise.
42111 (__ASSUME_O_CLOEXEC): Likewise.
42112 (__ASSUME_SOCK_CLOEXEC): Likewise.
42113 (__ASSUME_IN_NONBLOCK): Likewise.
42114 (__ASSUME_PIPE2): Likewise.
42115 (__ASSUME_EVENTFD2): Likewise.
42116 (__ASSUME_SIGNALFD4): Likewise.
42117 (__ASSUME_DUP3): Likewise.
42118 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42119 Likewise.
42120 (__ASSUME_UTIMES): Likewise.
42121 (__ASSUME_EVENTFD2): Likewise.
42122 (__ASSUME_SIGNALFD4): Likewise.
42123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42124 (__ASSUME_O_CLOEXEC): Likewise.
42125 (__ASSUME_SOCK_CLOEXEC): Likewise.
42126 (__ASSUME_IN_NONBLOCK): Likewise.
42127 (__ASSUME_PIPE2): Likewise.
42128 (__ASSUME_EVENTFD2): Likewise.
42129 (__ASSUME_SIGNALFD4): Likewise.
42130 (__ASSUME_DUP3): Likewise.
42131 (__ASSUME_UTIMES): Undefine.
42132
42133 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42134 feclearexcept. Remove symbol versioning code.
42135 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
42136 symbol versioning code.
42137 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
42138 symbol versioning code.
42139 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42140 feupdateenv. Remove symbol versioning code.
42141 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42142 fegetexceptflag. Remove symbol versioning code.
42143 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42144 fesetexceptflag. Remove symbol versioning code.
42145 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42146 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
42147 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42148 (__posix_fadvise64_l32): Remove prototype.
42149 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42150 code.
42151
42152 2014-05-13 Roland McGrath <roland@hack.frob.com>
42153
42154 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42155 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42156 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42157 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42158
42159 2014-05-13 Sami Kerola <kerolasa@iki.fi>
42160
42161 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42162 current working directory
42163
42164 2014-05-13 Roland McGrath <roland@hack.frob.com>
42165
42166 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42167 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42168 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42169 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42170 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42171 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42172 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42173 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42174 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42175 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42176 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42177 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42178 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42179 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42180 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42181 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42182 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42183 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42184 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42185 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42186 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42187 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42188 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42189 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42190 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42191 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42192 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42193 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42194 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42195 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42196 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42197 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42198 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42199 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42200 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42201 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42202 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42203 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42204 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42205 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42206 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42207 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42208
42209 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42210 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42211
42212 * sysdeps/unix/sysv/linux/arm/Makefile
42213 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42214 Add rt-aeabi_unwind_cpp_pr1.
42215 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42216 Add nptl-aeabi_unwind_cpp_pr1.
42217 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42218 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42219 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42220 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42221 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42222 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42223
42224 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42225 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42226 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42227 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42228
42229 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42230 Deconditionalize the code that was previously under [RESET_PID].
42231 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42232
42233 * sysdeps/generic/exit-thread.h: New file.
42234 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42235 * include/unistd.h (__exit_thread): Remove declaration.
42236 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42237 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42238 * csu/libc-start.c: Include <exit-thread.h>.
42239 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42240 * nptl/pthread_create.c: Include <exit-thread.h>.
42241 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42242 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42243 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42244 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42245 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42246 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42247 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42248 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42249 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42250 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42251 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42252 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42253 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42254 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42255 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42256 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42257 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42258
42259 2014-05-13 Andreas Schwab <schwab@suse.de>
42260
42261 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42262
42263 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42264
42265 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42266 (__ASSUME_UTIMES): Do not condition on kernel version.
42267 (__ASSUME_PSELECT): Define unconditionally.
42268 (__ASSUME_PPOLL): Likewise.
42269 (__ASSUME_ATFCTS): Likewise.
42270 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42271 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42272 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42273 (__ASSUME_UTIMENSAT): Define unconditionally.
42274 (__ASSUME_PRIVATE_FUTEX): Likewise.
42275 (__ASSUME_FALLOCATE): Likewise.
42276 (__ASSUME_O_CLOEXEC): Likewise.
42277 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42278 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42279 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42280 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42281 (__ASSUME_IN_NONBLOCK): Likewise.
42282 (__ASSUME_PIPE2): Likewise.
42283 (__ASSUME_EVENTFD2): Likewise.
42284 (__ASSUME_SIGNALFD4): Likewise.
42285 (__ASSUME_DUP3): Likewise.
42286 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42287 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42288 (__ASSUME_AT_RANDOM): Likewise.
42289 (__ASSUME_PREADV): Likewise.
42290 (__ASSUME_PWRITEV): Likewise.
42291 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42292 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42293 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42294 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42295 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42297 (__ASSUME_O_CLOEXEC): Define unconditionally.
42298 (__ASSUME_PSELECT): Do not undefine conditionally.
42299 (__ASSUME_PPOLL): Likewise.
42300 (__ASSUME_ATFCTS): Likewise.
42301 (__ASSUME_SET_ROBUST_LIST): Likewise.
42302 (__ASSUME_UTIMENSAT): Likewise.
42303 (__ASSUME_FDATASYNC): Define unconditionally.
42304 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42305 (__ASSUME_SIGFRAME_V2): Likewise.
42306 )__ASSUME_EVENTFD2): Likewise.
42307 (__ASSUME_SIGNALFD4): Likewise.
42308 (__ASSUME_PSELECT): Do not undefine conditionally.
42309 (__ASSUME_PPOLL): Likewise.
42310 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42311 (__ASSUME_PSELECT): Define unconditionally.
42312 (__ASSUME_PPOLL): Likewise.
42313 (__ASSUME_O_CLOEXEC): Likewise.
42314 (__ASSUME_SOCK_CLOEXEC): Likewise.
42315 (__ASSUME_IN_NONBLOCK): Likewise.
42316 (__ASSUME_PIPE2): Likewise.
42317 (__ASSUME_EVENTFD2): Likewise.
42318 (__ASSUME_SIGNALFD4): Likewise.
42319 (__ASSUME_DUP3): Likewise.
42320 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42321 (__ASSUME_O_CLOEXEC): Likewise.
42322 (__ASSUME_SOCK_CLOEXEC): Likewise.
42323 (__ASSUME_IN_NONBLOCK): Likewise.
42324 (__ASSUME_PIPE2): Likewise.
42325 (__ASSUME_EVENTFD2): Likewise.
42326 (__ASSUME_SIGNALFD4): Likewise.
42327 (__ASSUME_DUP3): Likewise.
42328 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42329 (__ASSUME_EVENTFD2): Likewise.
42330 (__ASSUME_SIGNALFD4): Likewise.
42331 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42332
42333 2014-05-12 Andreas Schwab <schwab@suse.de>
42334
42335 [BZ #16932]
42336 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42337 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42338 than maximum RPC packet size.
42339 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42340 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42341 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42342 (_nss_nis_getservbyport_r): Likewise.
42343
42344 2014-05-12 Will Newton <will.newton@linaro.org>
42345
42346 * malloc/Makefile (tests): Add tst-mallopt.
42347 * malloc/tst-mallopt.c: New file.
42348
42349 2014-05-09 Roland McGrath <roland@hack.frob.com>
42350
42351 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42352 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42353
42354 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42355
42356 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42357 (tst-tlsmod6.so): Likewise.
42358
42359 2014-05-09 Roland McGrath <roland@hack.frob.com>
42360
42361 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42362
42363 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42364
42365 [BZ #16064]
42366 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42367 and <dl-procinfo.h>.
42368 (__fegetenv): Save SSE state in envp->__eip if supported.
42369 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42370 envp->__eip if supported.
42371 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42372 and <dl-procinfo.h>.
42373 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42374 __data_offset and __data_selector in environment to 0. Set SSE
42375 state if supported.
42376 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42377 test-fenv-sse.
42378 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42379 -mfpmath=sse.
42380 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42381
42382 2014-05-09 Will Newton <will.newton@linaro.org>
42383
42384 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42385 and libc_relro_required for ARM.
42386 * sysdeps/arm/preconfigure: Regenerate.
42387
42388 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42389 Stefan Liebler <stli@linux.vnet.ibm.com>
42390
42391 * config.make.in (enable-lock-elision): New Makefile variable.
42392 * configure.ac: Likewise.
42393 * configure: Regenerate.
42394 * sysdeps/s390/configure.ac:
42395 Add check for gcc transactions support.
42396 * sysdeps/s390/configure: Regenerate.
42397 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42398 Build elision files if enabled.
42399 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42400 Add lock elision support for s390.
42401 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42402 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42403 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42404 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42405 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42406 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42407 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42408 Likewise.
42409 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42410 Likewise.
42411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42412 Likewise.
42413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42414 Likewise.
42415 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42416 (__lll_timedlock_elision, __lll_lock_elision)
42417 (__lll_unlock_elision, __lll_trylock_elision)
42418 (lll_timedlock_elision, lll_lock_elision)
42419 (lll_unlock_elision, lll_trylock_elision): Add.
42420 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42421 (pthread_mutex_t): Add lock elision support for s390.
42422
42423 2014-05-14 Wilco <wdijkstr@arm.com>
42424
42425 * sysdeps/arm/fclrexcpt.c: Cleanup.
42426 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42427 * sysdeps/arm/feenablxcpt.c: Cleanup.
42428 * sysdeps/arm/fegetenv.c: Cleanup.
42429 * sysdeps/arm/fegetexcept.c: Cleanup.
42430 * sysdeps/arm/fegetround.c: Cleanup.
42431 * sysdeps/arm/feholdexcpt.c: Cleanup.
42432 * sysdeps/arm/fesetenv.c: Cleanup.
42433 * sysdeps/arm/fesetround.c: Cleanup.
42434 * sysdeps/arm/feupdateenv.c: Cleanup.
42435 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42436 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42437 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42438 * sysdeps/arm/ftestexcept.c: Cleanup.
42439 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42440 * sysdeps/arm/setfpucw.c: Cleanup.
42441
42442 2014-05-09 Will Newton <will.newton@linaro.org>
42443
42444 * sysdeps/arm/armv7/strcmp.S: New file.
42445 * NEWS: Mention addition of ARMv7 optimized strcmp.
42446
42447 2014-05-08 Roland McGrath <roland@hack.frob.com>
42448
42449 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42450 look for %.ac rather than %.in.
42451
42452 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42453 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42454 * sysdeps/mach/hurd/configure: Regenerated.
42455 * sysdeps/unix/sysv/linux/configure: Regenerated.
42456
42457 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42458
42459 2014-05-07 Steve Ellcey <sellcey@mips.com>
42460
42461 [BZ# 16922]
42462 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42463 (LONG_SUB): Ditto.
42464 (PTR_SUB): Ditto.
42465
42466 2014-05-07 Andreas Schwab <schwab@suse.de>
42467
42468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42469 when skipping over non-matching result from nscd.
42470
42471 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42472
42473 [BZ #16876]
42474 * nptl/sockperf.c (client): Check socket return value.
42475
42476 [BZ #16877]
42477 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42478 nscd security class.
42479
42480 2014-05-06 Roland McGrath <roland@hack.frob.com>
42481
42482 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42483 * sysdeps/arm/unwind.h: ... here.
42484
42485 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42486
42487 [BZ# 16916]
42488 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42489 Define.
42490
42491 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42492
42493 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42494 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42495 multiarch strncpy for PPC64.
42496 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42497 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42499 multiarch optimizations.
42500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42501 (__libc_ifunc_impl_list): Likewise.
42502 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42503 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42504 multiarch stpncpy for PPC64.
42505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42506 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42507
42508 2014-05-06 Andreas Schwab <schwab@suse.de>
42509
42510 [BZ #16912]
42511 * gmon/mcount.c (_MCOUNT_DECL): Use
42512 atomic_compare_and_exchange_bool_acq instead of
42513 catomic_compare_and_exchange_bool_acq.
42514
42515 2014-05-05 Roland McGrath <roland@hack.frob.com>
42516
42517 * elf/Makefile (others, install-bin): Remove pldd.
42518 (pldd-modules): Variable removed.
42519 ($(objpfx)pldd): Target removed.
42520 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42521 (others, install-bin): Append pldd here.
42522 ($(objpfx)pldd): New target.
42523
42524 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42525 to 0, so the first #if test emitted later doesn't see it undefined.
42526 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42527 * sysdeps/gnu/errlist.c: Regenerated.
42528
42529 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42530
42531 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42532 [libc_hidden_builtin_def]: Define to empty value.
42533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42534 [libc_hidden_builtin_def]: Likewise.
42535 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42536 [libc_hidden_builtin_def]: Likewise.
42537 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42538 [libc_hidden_builtin_def]: Likewise.
42539 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42540 __redirect_memcpy and define ifunc as default hidden symbol.
42541 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42542 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42543
42544 2014-05-04 Adam Conrad <adconrad@0c3.net>
42545
42546 * locale/iso-4217.def: Reintroduce XDR currency.
42547
42548 2014-05-04 Allan McRae <allan@archlinux.org>
42549
42550 * po/eo.po: Update Esperanto translation from translation project.
42551
42552 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42553
42554 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42555 and FEATURE_INDEX_MAX to 1.
42556 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42557
42558 2014-05-01 Steve Ellcey <sellcey@mips.com>
42559
42560 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42561 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42562 * iconvdata/big5.c (ONE_DIRECTION): Define.
42563 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42564 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42565 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42566 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42567 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42568 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42569 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42570 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42571 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42572 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42573 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42574 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42575 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42576 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42577 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42578 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42579 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42580 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42581 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42582 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42583 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42584 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42585 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42586 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42587 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42588 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42589 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42590 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42591 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42592 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42593 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42594 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42595 * iconvdata/johab.c (ONE_DIRECTION): Define.
42596 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42597 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42598 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42599 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42600 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42601 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42602 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42603 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42604 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42605 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42606
42607 2014-05-01 Roland McGrath <roland@hack.frob.com>
42608
42609 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42610 (_IO_JUMPS_OFFSET): Define to 0.
42611
42612 * nptl/sysdeps/pthread/bits/libc-lock.h
42613 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42614 (__libc_lock_define_initialized_recursive): Always define using
42615 initializer. Modern compilers treat uninitialized (implicit zero) and
42616 explicit zero initializers the same (i.e. put the datum in bss).
42617
42618 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42619
42620 * nscd/nscd-client.h: Include <string.h>.
42621
42622 2014-05-01 David S. Miller <davem@davemloft.net>
42623
42624 [BZ #16885]
42625 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42626 multiple zero bytes exist at the end of a string.
42627 Reported by Aurelien Jarno <aurelien@aurel32.net>
42628
42629 * string/test-strcmp.c (check): Add explicit test for situations where
42630 there are multiple zero bytes after the first.
42631
42632 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42633
42634 [BZ #16890]
42635 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42636 when compiling wprintf.
42637 * stdio-common/tstdiomisc.c (t3): New function.
42638 (main): Call it.
42639
42640 2014-05-01 Steve Ellcey <sellcey@mips.com>
42641
42642 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42643 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42644 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42645 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42646
42647 2014-05-01 Steve Ellcey <sellcey@mips.com>
42648
42649 * stdlib/longlong.h: Updated from GCC.
42650
42651 2014-05-01 Will Newton <will.newton@linaro.org>
42652 Bernard Ogden <bernie.ogden@linaro.org>
42653
42654 * NEWS: Update fixed bug list.
42655
42656 [BZ #15119]
42657 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42658
42659 2014-04-30 David S. Miller <davem@davemloft.net>
42660
42661 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42662 (libc_feholdexcept_setround_sparc_ctx): New function.
42663 (libc_fesetenv_sparc_ctx): Likewise.
42664 (libc_feupdateenv_sparc_ctx): Likewise.
42665 (libc_feholdsetround_sparc_ctx): Likewise.
42666 (libc_feholdexcept_setround_ctx): Define.
42667 (libc_feholdexcept_setroundf_ctx): Likewise.
42668 (libc_feholdexcept_setroundl_ctx): Likewise.
42669 (libc_fesetenv_ctx): Likewise.
42670 (libc_fesetenvf_ctx): Likewise.
42671 (libc_fesetenvl_ctx): Likewise.
42672 (libc_feupdateenv_ctx): Likewise.
42673 (libc_feupdateenvf_ctx): Likewise.
42674 (libc_feupdateenvl_ctx): Likewise.
42675 (libc_feresetround_ctx): Likewise.
42676 (libc_feresetroundf_ctx): Likewise.
42677 (libc_feresetroundl_ctx): Likewise.
42678 (libc_feholdsetround_ctx): Likewise.
42679 (libc_feholdsetroundf_ctx): Likewise.
42680 (libc_feholdsetroundl_ctx): Likewise.
42681
42682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42683 with __USE_GNU instead of XOPEN cpp guards.
42684
42685 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42686 0.
42687
42688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42689 with XOPEN cpp guards.
42690
42691 2014-04-30 Julian Brown <julian@codesourcery.com>
42692
42693 [BZ #16888]
42694 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42695 handling.
42696
42697 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42698
42699 [BZ #9894]
42700 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42701 Change to 2.6.32.
42702 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42703 * sysdeps/unix/sysv/linux/configure: Regenerated.
42704 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42705 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42706 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42707 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42708 * README: Update reference to required Linux kernel version.
42709 * manual/install.texi (Linux): Update reference to required Linux
42710 kernel headers version.
42711 * INSTALL: Regenerated.
42712
42713 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42714 header inclusion.
42715 [POSIX] (limits.h): Likewise.
42716 [POSIX] (math.h): Likewise.
42717 [POSIX] (sys/wait.h): Likewise.
42718 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42719 function.
42720 [POSIX] (stddef.h): Do not allow header inclusion.
42721
42722 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42723
42724 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42725
42726 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42727
42728 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42729 Return immediately after lll_futex_wake.
42730
42731 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42732
42733 [BZ #16791]
42734 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42735 structure.
42736 (datahead_init_pos): Call datahead_init_common early.
42737 (datahead_init_neg): Likewise.
42738
42739 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42740 datahead_init_neg): New functions.
42741 * nscd/aicache.c (addhstaiX): Use them.
42742 * nscd/grpcache.c (cache_addgr): Likewise.
42743 * nscd/hstcache.c (cache_addhst): Likewise.
42744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42745 * nscd/netgroupcache.c (do_notfound): Likewise.
42746 (addgetnetgrentX): Likewise.
42747 (addinnetgrX): Likewise.
42748 * nscd/pwdcache.c (cache_addpw): Likewise.
42749 * nscd/servicescache.c (cache_addserv): Likewise.
42750
42751 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42752 Atsushi Onoe <atsushi@onoe.org>
42753
42754 [BZ #14308]
42755 [BZ #12994]
42756 [BZ #13651]
42757 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42758 one response is valid.
42759 * resolv/res_send.c (send_dg): Check for validity of other
42760 response if the current response is a referral.
42761
42762 2014-04-29 Steve Ellcey <sellcey@mips.com>
42763
42764 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42765
42766 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42767
42768 [BZ #16823]
42769 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42770 Always divide by positive zero when computing -Inf result.
42771 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42772 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42773
42774 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42775
42776 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42777 FPSCR if value do not change.
42778 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42779 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42780 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42781 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42782 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42783 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42784 function.
42785
42786 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42787
42788 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42789 * sysdeps/unix/sysv/linux/hppa: Move directory from
42790 ports/systeps/unix/sysv/linux/hppa.
42791 * README: Update listing for hppa-*-linux-gnu.
42792
42793 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42794
42795 [BZ #16754]
42796 * manual/stdio.texi (Hook functions): Fix types of stream hook
42797 functions.
42798 [BZ #16854]
42799 * socket/sys/socket.h: Fix typo in comment.
42800
42801 2014-04-28 Wilco <wdijkstr@arm.com>
42802
42803 * sysdeps/arm/fenv_private.h: New file.
42804 * sysdeps/arm/math_private.h: New file.
42805 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42806
42807 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42808
42809 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42810 with __int128_t.
42811 (La_x86_64_retval): Likewise.
42812
42813 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42814
42815 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42816 fpsr if value didn't change.
42817 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42818 to fpcr if value didn't change.
42819 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42820 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42821 fpsr or fpcr if value didn't change.
42822 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42823 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42824 fpcr if value didn't change.
42825 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42826 to fpsr if value didn't change.
42827
42828 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42829
42830 * nptl/tst-sem3.c: Use test-skeleton.c
42831 (main): Rename to do_test. Use return instead of
42832 exit.
42833 * nptl/tst-sem4.c: Use test-skeleton.c
42834 (main): Rename to do_test.
42835
42836 2014-04-22 David S. Miller <davem@davemloft.net>
42837
42838 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42839 (struct sigaction): New struct member __glibc_reserved0, change
42840 type of sa_flags to int.
42841
42842 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42843
42844 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42845 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42846
42847 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42848
42849 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42850 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42851
42852 2014-04-22 Will Newton <will.newton@linaro.org>
42853 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42854
42855 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42856 (__longjmp): Add longjmp and longjmp_target SystemTap
42857 probes.
42858 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42859 (__sigsetjmp): Add setjmp SystemTap probe.
42860
42861 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42862
42863 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42864 match manual order.
42865
42866 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42867
42868 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42869
42870 * sysdeps/powerpc/fpu/fenv_private.h
42871 (libc_feholdexcept_setroundl_ctx): Define to
42872 libc_feholdexcept_setround_ppc_ctx.
42873 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42874 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42875 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42876 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42877
42878 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42879
42880 * sysdeps/aarch64/math-tests.h: New file.
42881
42882 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42883
42884 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42885 New.
42886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42887 Check and set bit_AVX2_Usable.
42888 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42889 macro.
42890 (bit_AVX2): Likewise.
42891 (index_AVX2_Usable): Likewise.
42892 (CPUID_AVX2): Likewise.
42893 (HAS_AVX2): Likewise.
42894
42895 2014-04-17 Will Newton <will.newton@linaro.org>
42896
42897 * manual/setjmp.texi (System V contexts): Add note that
42898 calling setcontext on a context created by a call to a
42899 signal handler is undefined. Update text to note that
42900 setcontext from a signal handler is possible but not
42901 recommended.
42902
42903 [BZ #16629]
42904 * stdlib/tst-setcontext.c: Include signal.h.
42905 (main): Check that the signal stack before and
42906 after swapcontext is the same.
42907
42908 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42909 Re-implement to restore registers in user code and avoid
42910 rt_sigreturn system call.
42911
42912 2014-04-17 Wilco <wdijkstr@arm.com>
42913
42914 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42915 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42916 * math/test-fenv.c: Skip exception trap tests on targets which only
42917 support non-stop mode.
42918
42919 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42920 Wilco Dijkstra <wilco.dijkstra@arm.com>
42921
42922 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42923 (libc_feholdsetround_aarch64_ctx)
42924 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42925 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42926 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42927 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42928 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42929 (libc_feresetround_noexl_ctx): Define.
42930
42931 2014-04-16 Richard Henderson <rth@redhat.com>
42932
42933 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42934
42935 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42936 unwind tables.
42937
42938 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42939 const from the non-libc, non-ldso copy.
42940
42941 * sysdeps/alpha/libm-test-ulps: Regenerate.
42942
42943 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42944 Wilco Dijkstra <wilco.dijkstra@arm.com>
42945
42946 * sysdeps/aarch64/fpu/math_private.h: New file.
42947
42948 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42949
42950 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42951
42952 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42953
42954 [BZ #16275]
42955 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42956 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42958 Intel MPX bound registers before _dl_profile_fixup.
42959 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42960 registers after _dl_profile_fixup. Save and restore bound
42961 registers bnd0/bnd1 when calling _dl_call_pltexit.
42962 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42963 (LR_BND_OFFSET): Likewise.
42964 (LRV_BND0_OFFSET): Likewise.
42965 (LRV_BND1_OFFSET): Likewise.
42966
42967 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42968
42969 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42970 to...
42971 * sysdeps/mach/hurd/i386/tls.h: ... here.
42972 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42973 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42974 fields.
42975
42976 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42977
42978 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42979
42980 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42981
42982 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42983
42984 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42985
42986 [BZ #14770]
42987 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42988 * sysdeps/s390/configure: Regenerate.
42989
42990 [BZ #16824]
42991 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42992 Set round-to-nearest internally to reduce error accumulation.
42993
42994 2014-04-16 Alan Modra <amodra@gmail.com>
42995
42996 [BZ #16740]
42997 [BZ #16619]
42998 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42999 * math/libm-test.inc (frexp_test_data): Add tests.
43000 * NEWS: Update fixed bug list.
43001
43002 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43003
43004 * benchtests/Makefile: Depend on libraries in build directory.
43005 (bench-math): Separate out math tests.
43006 (bench-pthread): Separate out pthread tests.
43007 (bench): Include math and pthread tests.
43008
43009 2014-04-14 Carlos O'Donell <carlos@redhat.com>
43010
43011 [BZ #16831]
43012 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43013 _dl_debug_initialize.
43014
43015 * configure.ac: Remove SELinux header check.
43016 * configure: Regenerate.
43017 * nscd/selinux.c (perms): Array of const char* to permission names.
43018 (nscd_request_avc_has_perm): Call security_deny_unknown to find
43019 default policy. Call string_to_security_class and string_to_av_perm to
43020 translate strings. Enforce default policy and call avs_has_perm with
43021 results of translated strings.
43022
43023 2014-04-13 David S. Miller <davem@davemloft.net>
43024
43025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43026
43027 2014-04-12 Allan McRae <allan@archlinux.org>
43028
43029 [BZ #16838]
43030 * manual/string.texi (Collation Functions): Fix qsort argument
43031 order in example.
43032 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43033
43034 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
43035
43036 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43037 Make the test a no-op if there are no exceptions defined.
43038
43039 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
43040
43041 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43042 enable-hardcoded-path-in-tests
43043
43044 2014-04-11 Will Newton <will.newton@linaro.org>
43045
43046 * benchtests/Makefile (extra-objs): Add json-lib.o.
43047 (bench-func): Tidy up JSON output.
43048 * benchtests/bench-skeleton.c: Include json-lib.h.
43049 (main): Use JSON library functions to do output of
43050 benchmark results.
43051 * benchtests/bench-timing-type.c (main): Output the
43052 timing type simply, leaving formatting to the user.
43053 * benchtests/json-lib.c: New file.
43054 * benchtests/json-lib.h: Likewise.
43055
43056 2014-04-11 Torvald Riegel <triegel@redhat.com>
43057
43058 [BZ #15215]
43059 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43060 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
43061 memory barriers. Add comments.
43062 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43063 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43064 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43065 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43066 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43067 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43068
43069 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43070
43071 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43072 * sysdeps/s390/s390-64/configure.ac: ... this ...
43073 * sysdeps/s390/configure.ac: ... to here.
43074 * sysdeps/s390/s390-32/configure: Delete file.
43075 * sysdeps/s390/s390-64/configure: Delete file.
43076 * sysdeps/s390/configure: Regenerate.
43077
43078 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
43079
43080 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43081
43082 2014-04-11 Will Newton <will.newton@linaro.org>
43083
43084 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43085 to zero if it is not defined elsewhere. (mtrim): Test
43086 the value of MALLOC_DEBUG with #if rather than #ifdef.
43087
43088 2014-04-10 Torvald Riegel <triegel@redhat.com>
43089
43090 * benchtests/pthread_once-inputs: New file.
43091 * benchtests/pthread_once-source.c: New file.
43092 * benchtests/README: Update documentation.
43093
43094 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
43095 H.J. Lu <hongjiu.lu@intel.com>
43096
43097 [BZ #16275]
43098 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43099 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43100 * sysdeps/x86_64/configure: Regenerated.
43101 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43102 macro.
43103 (REGISTER_SAVE_RAX): Likewise.
43104 (REGISTER_SAVE_RCX): Likewise.
43105 (REGISTER_SAVE_RDX): Likewise.
43106 (REGISTER_SAVE_RSI): Likewise.
43107 (REGISTER_SAVE_RDI): Likewise.
43108 (REGISTER_SAVE_R8): Likewise.
43109 (REGISTER_SAVE_R9): Likewise.
43110 (REGISTER_SAVE_BND0): Likewise.
43111 (REGISTER_SAVE_BND1): Likewise.
43112 (REGISTER_SAVE_BND2): Likewise.
43113 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
43114 bound registers when calling _dl_fixup.
43115
43116 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43117
43118 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43119 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43120 of its definition.
43121 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43122 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43123 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43124 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43125 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43126 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43127 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43128
43129 2014-04-09 Peter Brett <peter@peter-b.co.uk>
43130
43131 [BZ #15514]
43132 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43133 pathconf(_PC_NAME_MAX).
43134
43135 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43136
43137 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43138 Remove macro usage.
43139 (__PTHREAD_SPINS): Move definition to ...
43140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43141 (__PTHREAD_SPINS): ... here.
43142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43143 (__PTHREAD_SPIN): Likewise.
43144 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43145 (__PTHREAD_SPIN): Likewise.
43146 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43147 (__PTHREAD_SPIN): Likewise.
43148 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43149 (__PTHREAD_SPIN): Likewise.
43150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43151 (__PTHREAD_SPIN): Likewise.
43152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43153 (__PTHREAD_SPIN): Likewise.
43154 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43155 (__PTHREAD_SPIN): Likewise.
43156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43157 (__PTHREAD_SPIN): Likewise.
43158 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43159 (__PTHREAD_SPIN): Likewise.
43160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43161 (__PTHREAD_SPIN): Likewise.
43162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43163 (__PTHREAD_SPIN): Likewise.
43164 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43165 (__PTHREAD_SPIN): Likewise.
43166
43167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43168 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43169 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43171 imply folder.
43172 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43173 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43174 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43175 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43176 correct imply path.
43177 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43178 strlen symbol for non multi-arch builds.
43179 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43180 missing hidden_def and weak_alias.
43181
43182 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43183
43184 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43185
43186 2014-04-07 Will Newton <will.newton@linaro.org>
43187
43188 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43189 and contents. [!_LIBC] Remove #ifndef and contents.
43190 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43191 * string/memccpy.c (__memccpy): Use ANSI prototype.
43192 * string/memfrob.c (memfrob): Likewise.
43193 * string/strcoll.c (STRCOLL): Likewise.
43194 * string/strlen.c (strlen): Likewise.
43195 * string/strtok.c (STRTOK): Likewise.
43196 * string/strcat.c: Remove unused #include of memcopy.h.
43197 (strcat): Use ANSI prototype.
43198 * string/strchr.c: Remove unused #include of memcopy.h.
43199 (strchr): Use ANSI prototype.
43200 * string/strcmp.c: Remove unused #include of memcopy.h.
43201 (strcmp): Use ANSI prototype.
43202 * string/strcpy.c: Remove unused #include of memcopy.h.
43203 (strcpy): Use ANSI prototype.
43204
43205 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43206
43207 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43208 * config.make.in (config-extra-cppflags): Set it from
43209 libc_extra_cppflags.
43210 * configure.ac (libc_extra_cflags): Make it accumulate over
43211 configure fragments.
43212 (libc_extra_cppflags): New flag.
43213 * configure. Regenerate.
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43215 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43216 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43218
43219 [BZ #16815]
43220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43221 result for FE_DOWNWARD rounding mode.
43222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43223 Likewise.
43224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43225
43226 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43227
43228 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43229 in function argument name.
43230
43231 2014-04-03 David Svoboda <svoboda@cert.org>
43232
43233 [BZ #5666]
43234 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43235 explicitly.
43236
43237 2014-04-03 Roland McGrath <roland@hack.frob.com>
43238
43239 * elf/dl-unmap-segments.h: New file.
43240 * sysdeps/generic/ldsodefs.h
43241 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43242 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43243 * elf/dl-fptr.c: Likewise.
43244 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43245 * sysdeps/aarch64/tlsdesc.c: Likewise.
43246 * sysdeps/arm/tlsdesc.c: Likewise.
43247 * sysdeps/i386/tlsdesc.c: Likewise.
43248 * sysdeps/tile/dl-runtime.c: Likewise.
43249 * sysdeps/x86_64/tlsdesc.c: Likewise.
43250 * elf/dl-load.h: New file.
43251 * elf/dl-load.c: Include it.
43252 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43253 Macros moved to dl-load.h.
43254 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43255 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43256 Use _dl_unmap_segments in place of __munmap.
43257 Break out segment-mapping loop into ...
43258 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43259
43260 2014-04-03 Will Newton <will.newton@linaro.org>
43261
43262 * elf/dl-lookup.c (do_lookup_x): Remove comment
43263 referring to nested function and move variable
43264 declarations down to before first use.
43265
43266 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43267
43268 [BZ #16799]
43269 [BZ #16800]
43270 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43271 with 0 numerator.
43272 * math/s_catanf.c (__catanf): Likewise.
43273 * math/s_catanh.c (__catanh): Likewise.
43274 * math/s_catanhf.c (__catanhf): Likewise.
43275 * math/s_catanhl.c (__catanhl): Likewise.
43276 * math/s_catanl.c (__catanl): Likewise.
43277 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43278 by positive zero when computing -Inf result.
43279 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43280 (catanh_test): Likewise.
43281 * sysdeps/i386/fpu/libm-test-ulps: Update.
43282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43283
43284 [BZ #16789]
43285 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43286 instead of using underflowing value in computing result.
43287 * math/s_clog10.c (__clog10): Likewise.
43288 * math/s_clog10f.c (__clog10f): Likewise.
43289 * math/s_clog10l.c (__clog10l): Likewise.
43290 * math/s_clogf.c (__clogf): Likewise.
43291 * math/s_clogl.c (__clogl): Likewise.
43292 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43293 (clog10_test): Likewise.
43294 * sysdeps/i386/fpu/libm-test-ulps: Update.
43295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43296
43297 2014-04-02 Alan Modra <amodra@gmail.com>
43298
43299 [BZ #16739]
43300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43301 output when value is near a power of two. Use int64_t for lx and
43302 remove casts. Use decimal rather than hex exponent constants.
43303 Don't use long double multiplication when double will suffice.
43304 * math/libm-test.inc (nextafter_test_data): Add tests.
43305 * NEWS: Add 16739 and 16786 to bug list.
43306
43307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43308
43309 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43310
43311 2014-04-01 Will Newton <will.newton@linaro.org>
43312
43313 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43314 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43315
43316 2014-04-01 Florian Weimer <fweimer@redhat.com>
43317
43318 [BZ #13347]
43319 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43320 * nptl/tst-setuid2.c: New file.
43321 * nptl/Makefile (xtests): Add tst-setuid2.
43322
43323 2014-04-01 Alan Modra <amodra@gmail.com>
43324
43325 [BZ #16786]
43326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43327
43328 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43329
43330 [BZ #6803]
43331 [BZ #6804]
43332 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43333 set errno as appropriate.
43334 * math/w_scalbf.c (__scalbf): Likewise.
43335 * math/w_scalbl.c (__scalbl): Likewise.
43336 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43337 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43338 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43339 Add more NaN tests.
43340
43341 [BZ #16349]
43342 * math/w_atan2.c: Include <errno.h>.
43343 (__atan2): Set errno for result underflowing to zero.
43344 * math/w_atan2f.c: Include <errno.h>.
43345 (__atan2f): Set errno for result underflowing to zero.
43346 * math/w_atan2l.c: Include <errno.h>.
43347 (__atan2l): Set errno for result underflowing to zero.
43348 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43349 tests.
43350 * math/auto-libm-test-out: Regenerated.
43351
43352 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43353
43354 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43355 Encode instruction correctly in little endian.
43356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43357 Likewise.
43358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43359 Likewise.
43360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43361 Likewise.
43362 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43363 Likewise.
43364
43365 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43366
43367 [BZ #9894]
43368 * sysdeps/unix/sysv/linux/kernel-features.h
43369 [__sparc__ && !__arch64__ && !__sparc_v9__]
43370 (__ASSUME_SET_ROBUST_LIST): Do not define.
43371 [__sparc__ && !__arch64__ && !__sparc_v9__]
43372 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43373 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43374 Likewise.
43375 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43376 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43377 (__ASSUME_REQUEUE_PI): Likewise.
43378 (__ASSUME_SET_ROBUST_LIST): Likewise.
43379 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43380 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43381 Undefine.
43382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43383 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43384 Likewise.
43385 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43386 Likewise.
43387 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43388 Likewise.
43389 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43390 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43391 Undefine.
43392 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43393 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43394 Likewise.
43395
43396 [BZ #16648]
43397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43398 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43399 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43400
43401 2014-03-31 Will Newton <will.newton@linaro.org>
43402
43403 * benchtests/Makefile (bench): Add ffs and ffsll to list
43404 of tests.
43405 * benchtests/ffs-inputs: New file.
43406 * benchtests/ffsll-inputs: Likewise.
43407
43408 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43409
43410 [BZ #16770]
43411 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43412 too large before casting to int.
43413 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43414 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43415 * math/libm-test.inc (scalb_test_data): Add more tests.
43416
43417 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43418
43419 * benchtests/Makefile (DETAILED_OPT): New make option.
43420 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43421 set.
43422 * benchtests/bench-skeleton.c: Include stdbool.h.
43423 (main): Store and print timings per input.
43424 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43425 member to each argument value.
43426 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43427 (_print_arg_data): Initialize per-input timing to 0.
43428
43429 * benchtests/Makefile (timing-type): New binary.
43430 (bench-clean): Also remove bench-timing-type.
43431 (bench): New target for timing-type.
43432 (bench-func): Print output in JSON format.
43433 * benchtests/bench-skeleton.c (main): Print output in JSON
43434 format.
43435 * benchtests/bench-timing-type.c: New file.
43436 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43437 (TIMING_PRINT_STATS): Remove.
43438 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43439 name separately.
43440
43441 * benchtests/bench-modf.c: Remove.
43442 * benchtests/modf-inputs: New inputs file.
43443
43444 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43445
43446 [BZ #16362]
43447 * math/s_clog10.c (M_PI_LOG10E): New macro.
43448 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43449 imaginary parts are 0.
43450 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43451 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43452 imaginary parts are 0.
43453 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43454 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43455 imaginary parts are 0.
43456 * math/libm-test.inc (clog10_test_data): Update expected results
43457 for when real and imaginary parts are 0.
43458
43459 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43460
43461 * elf/dl-load.c: Finish conversion of __builtin_expect into
43462 __glibc_{un}likely.
43463
43464 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43465
43466 [BZ #16348]
43467 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43468 1+x for argument with exponent below -67.
43469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43470 Likewise.
43471 * math/auto-libm-test-in: Add more tests of exp.
43472 * math/auto-libm-test-out: Regenerated.
43473
43474 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43475
43476 [BZ #16759]
43477 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43478 (nscd_getnetgrent): Use it.
43479
43480 [BZ #16760]
43481 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43482 of stpcpy.
43483
43484 2014-03-27 Andi Kleen <ak@linux.intel.com>
43485
43486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43487 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43488 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43489 (lll_robust_unlock): Remove out of line section. Use cfi
43490 intrinsics.
43491 (LLL_STUB_UNWIND_INFO*): Remove.
43492 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43493 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43494 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43495 (lll_robust_unlock): Remove out of line section. Use cfi
43496 intrinsics.
43497 (LLL_STUB_UNWIND_INFO*): Remove.
43498
43499 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43500
43501 [BZ #16758]
43502 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43503 blank values.
43504
43505 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43506
43507 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43508
43509 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43510
43511 [BZ #16198]
43512 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43513 fnstenv.
43514 * math/test-fenv-preserve.c: New file.
43515 * math/Makefile (tests): Add test-fenv-preserve.
43516
43517 2014-03-26 Will Newton <will.newton@linaro.org>
43518
43519 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43520
43521 2014-03-25 Roland McGrath <roland@hack.frob.com>
43522
43523 * scripts/versionlist.awk: Partition the version sets and emit all
43524 GLIBC_* (sorted) before all others (sorted).
43525
43526 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43527
43528 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43529 GLIBC_2.2.5 version.
43530
43531 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43532
43533 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43534 calls.
43535
43536 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43537 previous change.
43538
43539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43540
43541 2014-03-25 Andreas Schwab <schwab@suse.de>
43542
43543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43544 label to be used after in6ailist is initialized.
43545
43546 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43547
43548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43549 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43550
43551 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43552
43553 [BZ #16357]
43554 [BZ #16599]
43555 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43556 min_plus_half.
43557 (fp_formats): Update initializers.
43558 (init_fp_formats): Initialize new field.
43559 (output_for_one_input_case): Allow underflow for results up to
43560 min_plus_half.
43561 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43562 * math/auto-libm-test-in: Don't mark some underflows from asin and
43563 atanh as spurious.
43564 * math/auto-libm-test-out: Regenerated.
43565 * sysdeps/i386/fpu/libm-test-ulps: Update.
43566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43567
43568 2014-03-25 Andreas Schwab <schwab@suse.de>
43569
43570 * libio/Makefile (tst-ftell-partial-wide-ENV)
43571 (tst-ftell-active-handler-ENV): Define.
43572
43573 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43574
43575 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43576
43577 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43578
43579 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43580
43581 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43582
43583 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43584 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43585 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43586
43587 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43588
43589 [BZ #16634]
43590 * elf/dl-load.c (open_verify): Add mode parameter.
43591 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43592 (open_path): Change from boolean 'secure' to complete flag 'mode'
43593 (_dl_map_object): Adjust.
43594 * elf/Makefile (tests): Add tst-dlopen-aout.
43595 * elf/tst-dlopen-aout.c: New test.
43596
43597 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43598
43599 [BZ #16714]
43600 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43601 (struct stat): Rename member pad0 to __glibc_reserved0.
43602
43603 [BZ #16712]
43604 * sysdeps/s390/s390-32/bits/wordsize.h
43605 (__WORDSIZE32_SIZE_ULONG): New define.
43606 * sysdeps/s390/s390-64/bits/wordsize.h
43607 (__WORDSIZE32_SIZE_ULONG): Likewise.
43608 * sysdeps/generic/stdint.h (SIZE_MAX):
43609 Define as UL if __WORDSIZE32_SIZE_ULONG.
43610
43611 [BZ #16713]
43612 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43613 (__glibc_reserved0): New variable.
43614 (sa_flags): Change type to int.
43615
43616 * posix/Makefile (before-compile): Use += before-compile instead
43617 of a :=.
43618
43619 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43620 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43621
43622 2014-03-20 Andreas Schwab <schwab@suse.de>
43623
43624 [BZ #16743]
43625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43626 non-matching result from nscd.
43627
43628 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43629
43630 * scripts/bench.py: Moved to ...
43631 * benchtests/scripts/bench.py: ... here.
43632 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43633
43634 2014-03-24 Andreas Schwab <schwab@suse.de>
43635
43636 [BZ #16002]
43637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43638 alloca_account and account alloca use for struct in6ailist.
43639
43640 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43641
43642 [BZ #16284]
43643 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43644 rounding mode to recompute results that overflow to infinity or
43645 underflow to zero.
43646 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43647 bug 16284.
43648 * math/auto-libm-test-out: Regenerated.
43649 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43650 (ccosh_test): Likewise.
43651 (csin_test_data): Use plus_oflow.
43652 (csin_test): Use ALL_RM_TEST.
43653 (csinh_test_data): Use plus_oflow.
43654 (csinh_test): Use ALL_RM_TEST.
43655 * sysdeps/i386/fpu/libm-test-ulps: Update.
43656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43657
43658 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43659
43660 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43661 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43662 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43663
43664 [BZ #16731]
43665 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43666 when x - 1 is zero.
43667 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43668 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43669 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43671 argument is 1.
43672 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43673 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43674 zero.
43675 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43676 * sysdeps/i386/fpu/libm-test-ulps: Update.
43677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43678
43679 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43680
43681 * scripts/bench.pl: Remove file.
43682 * scripts/bench.py: New benchmark script.
43683 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43684 * benchtests/README: Mention python dependency.
43685 * scripts/pylintrc: New file.
43686 * scripts/pylint: New file.
43687
43688 * bits/mathdef.h: Use #ifdef instead of #if.
43689 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43690 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43691 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43692 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43693 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43694 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43695
43696 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43697 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43698
43699 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43701 and strpbrk-ppc64 objects.
43702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43703 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43704 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43705 multiarch strpbrk for POWER7.
43706 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43707 multiarch strpbrk for PPC64.
43708 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43709 ifunc selector.
43710 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43711 strpbrk for POWER7.
43712
43713 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43714
43715 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43716 (atan_test): Likewise.
43717 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43718 (atanh_test): Use ALL_RM_TEST.
43719 (atan2_test_data): Likewise.
43720 (cabs_test): Likewise.
43721 (cacosh_test): Likewise.
43722 (carg_test): Likewise.
43723 (casin_test): Likewise.
43724 (casinh_test): Likewise.
43725 (cbrt_test): Likewise.
43726 (csqrt_test): Likewise.
43727 (erf_test): Likewise.
43728 (erfc_test): Likewise.
43729 (pow10_test): Likewise.
43730 (exp2_test): Likewise.
43731 (hypot_test): Likewise.
43732 (j0_test): Likewise.
43733 (j1_test): Likewise.
43734 (lgamma_test): Likewise.
43735 (gamma_test): Likewise.
43736 (sincos_test): Likewise.
43737 (tanh_test): Likewise.
43738 (y0_test): Likewise.
43739 (y1_test): Likewise.
43740 * sysdeps/i386/fpu/libm-test-ulps: Update.
43741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43742
43743 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43744
43745 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43747 and strcspn-ppc64 objects.
43748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43749 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43750 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43751 multiarch strcspn for POWER7.
43752 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43753 multiarch strcspn for PPC64.
43754 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43755 ifunc selector.
43756 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43757 strcspn for POWER7.
43758
43759 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43760
43761 * math/gen-libm-test.pl (generate_testfile): Expect only function
43762 name as argument to AUTO_TESTS_* and pass results for all rounding
43763 modes to parse_args.
43764 (parse_auto_input): Separate inputs of automatic tests from
43765 outputs before storing in %auto_tests.
43766 * math/libm-test.inc (acos_test_data): Update call to
43767 AUTO_TESTS_f_f.
43768 (acos_test): Use ALL_RM_TEST.
43769 (acos_tonearest_test_data): Remove.
43770 (acos_test_tonearest): Likewise.
43771 (acos_towardzero_test_data): Likewise.
43772 (acos_test_towardzero): Likewise.
43773 (acos_downward_test_data): Likewise.
43774 (acos_test_downward): Likewise.
43775 (acos_upward_test_data): Likewise.
43776 (acos_test_upward): Likewise.
43777 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43778 (asin_test_data): Likewise.
43779 (asin_test): Use ALL_RM_TEST.
43780 (asin_tonearest_test_data): Remove.
43781 (asin_test_tonearest): Likewise.
43782 (asin_towardzero_test_data): Likewise.
43783 (asin_test_towardzero): Likewise.
43784 (asin_downward_test_data): Likewise.
43785 (asin_test_downward): Likewise.
43786 (asin_upward_test_data): Likewise.
43787 (asin_test_upward): Likewise.
43788 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43789 (atan_test_data): Likewise.
43790 (atanh_test_data): Likewise.
43791 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43792 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43793 (carg_test_data): Likewise.
43794 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43795 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43796 (ccosh_test_data): Likewise.
43797 (cexp_test_data): Likewise.
43798 (clog_test_data): Likewise.
43799 (clog10_test_data): Likewise.
43800 (cos_test_data): Update call to AUTO_TESTS_f_f.
43801 (cos_test): Use ALL_RM_TEST.
43802 (cos_tonearest_test_data): Remove.
43803 (cos_test_tonearest): Likewise.
43804 (cos_towardzero_test_data): Likewise.
43805 (cos_test_towardzero): Likewise.
43806 (cos_downward_test_data): Likewise.
43807 (cos_test_downward): Likewise.
43808 (cos_upward_test_data): Likewise.
43809 (cos_test_upward): Likewise.
43810 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43811 (cosh_test): Use ALL_RM_TEST.
43812 (cosh_tonearest_test_data): Remove.
43813 (cosh_test_tonearest): Likewise.
43814 (cosh_towardzero_test_data): Likewise.
43815 (cosh_test_towardzero): Likewise.
43816 (cosh_downward_test_data): Likewise.
43817 (cosh_test_downward): Likewise.
43818 (cosh_upward_test_data): Likewise.
43819 (cosh_test_upward): Likewise.
43820 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43821 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43822 (ctan_test_data): Likewise.
43823 (ctan_test): Use ALL_RM_TEST.
43824 (ctan_tonearest_test_data): Remove.
43825 (ctan_test_tonearest): Likewise.
43826 (ctan_towardzero_test_data): Likewise.
43827 (ctan_test_towardzero): Likewise.
43828 (ctan_downward_test_data): Likewise.
43829 (ctan_test_downward): Likewise.
43830 (ctan_upward_test_data): Likewise.
43831 (ctan_test_upward): Likewise.
43832 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43833 (ctanh_test): Use ALL_RM_TEST.
43834 (ctanh_tonearest_test_data): Remove.
43835 (ctanh_test_tonearest): Likewise.
43836 (ctanh_towardzero_test_data): Likewise.
43837 (ctanh_test_towardzero): Likewise.
43838 (ctanh_downward_test_data): Likewise.
43839 (ctanh_test_downward): Likewise.
43840 (ctanh_upward_test_data): Likewise.
43841 (ctanh_test_upward): Likewise.
43842 (erf_test_data): Update call to AUTO_TESTS_f_f.
43843 (erfc_test_data): Likewise.
43844 (exp_test_data): Likewise.
43845 (exp_test): Use ALL_RM_TEST.
43846 (exp_tonearest_test_data): Remove.
43847 (exp_test_tonearest): Likewise.
43848 (exp_towardzero_test_data): Likewise.
43849 (exp_test_towardzero): Likewise.
43850 (exp_downward_test_data): Likewise.
43851 (exp_test_downward): Likewise.
43852 (exp_upward_test_data): Likewise.
43853 (exp_test_upward): Likewise.
43854 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43855 (exp10_test): Use ALL_RM_TEST.
43856 (exp10_tonearest_test_data): Remove.
43857 (exp10_test_tonearest): Likewise.
43858 (exp10_towardzero_test_data): Likewise.
43859 (exp10_test_towardzero): Likewise.
43860 (exp10_downward_test_data): Likewise.
43861 (exp10_test_downward): Likewise.
43862 (exp10_upward_test_data): Likewise.
43863 (exp10_test_upward): Likewise.
43864 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43865 (expm1_test_data): Likewise.
43866 (expm1_test): Use ALL_RM_TEST.
43867 (expm1_tonearest_test_data): Remove.
43868 (expm1_test_tonearest): Likewise.
43869 (expm1_towardzero_test_data): Likewise.
43870 (expm1_test_towardzero): Likewise.
43871 (expm1_downward_test_data): Likewise.
43872 (expm1_test_downward): Likewise.
43873 (expm1_upward_test_data): Likewise.
43874 (expm1_test_upward): Likewise.
43875 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43876 (fma_test): Use ALL_RM_TEST.
43877 (fma_towardzero_test_data): Remove.
43878 (fma_test_towardzero): Likewise.
43879 (fma_downward_test_data): Likewise.
43880 (fma_test_downward): Likewise.
43881 (fma_upward_test_data): Likewise.
43882 (fma_test_upward): Likewise.
43883 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43884 (j0_test_data): Update call to AUTO_TESTS_f_f.
43885 (j1_test_data): Likewise.
43886 (jn_test_data): Update call to AUTO_TESTS_if_f.
43887 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43888 (log_test_data): Update call to AUTO_TESTS_f_f.
43889 (log10_test_data): Likewise.
43890 (log1p_test_data): Likewise.
43891 (log2_test_data): Likewise.
43892 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43893 (pow_tonearest_test_data): Likewise.
43894 (sin_test_data): Update call to AUTO_TESTS_f_f.
43895 (sin_test): Use ALL_RM_TEST.
43896 (sin_tonearest_test_data): Remove.
43897 (sin_test_tonearest): Likewise.
43898 (sin_towardzero_test_data): Likewise.
43899 (sin_test_towardzero): Likewise.
43900 (sin_downward_test_data): Likewise.
43901 (sin_test_downward): Likewise.
43902 (sin_upward_test_data): Likewise.
43903 (sin_test_upward): Likewise.
43904 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43905 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43906 (sinh_test): Use ALL_RM_TEST.
43907 (sinh_tonearest_test_data): Remove.
43908 (sinh_test_tonearest): Likewise.
43909 (sinh_towardzero_test_data): Likewise.
43910 (sinh_test_towardzero): Likewise.
43911 (sinh_downward_test_data): Likewise.
43912 (sinh_test_downward): Likewise.
43913 (sinh_upward_test_data): Likewise.
43914 (sinh_test_upward): Likewise.
43915 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43916 (sqrt_test): Use ALL_RM_TEST.
43917 (sqrt_tonearest_test_data): Remove.
43918 (sqrt_test_tonearest): Likewise.
43919 (sqrt_towardzero_test_data): Likewise.
43920 (sqrt_test_towardzero): Likewise.
43921 (sqrt_downward_test_data): Likewise.
43922 (sqrt_test_downward): Likewise.
43923 (sqrt_upward_test_data): Likewise.
43924 (sqrt_test_upward): Likewise.
43925 (tan_test_data): Update call to AUTO_TESTS_f_f.
43926 (tan_test): Use ALL_RM_TEST.
43927 (tan_tonearest_test_data): Remove.
43928 (tan_test_tonearest): Likewise.
43929 (tan_towardzero_test_data): Likewise.
43930 (tan_test_towardzero): Likewise.
43931 (tan_downward_test_data): Likewise.
43932 (tan_test_downward): Likewise.
43933 (tan_upward_test_data): Likewise.
43934 (tan_test_upward): Likewise.
43935 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43936 (tgamma_test_data): Likewise.
43937 (y0_test_data): Likewise.
43938 (y1_test_data): Likewise.
43939 (yn_test_data): Update call to AUTO_TESTS_if_f.
43940 (main): Do not call removed functions.
43941
43942 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43943
43944 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43945 (ldexp_test_data): Remove.
43946 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43947 scalbn_test_data.
43948 (scalb_test): Use ALL_RM_TEST.
43949
43950 2014-03-19 Andreas Schwab <schwab@suse.de>
43951
43952 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43953
43954 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43955
43956 [BZ #16649]
43957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43958 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43961 (__ASSUME_PREADV): Undefine.
43962 (__ASSUME_PWRITEV): Likewise.
43963
43964 2014-03-18 Roland McGrath <roland@hack.frob.com>
43965
43966 * bits/mman-linux.h: Add comment about non-Linux use.
43967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43968 bits/mman-linux.h resting place.
43969
43970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43971 * bits/mman-linux.h: ... here.
43972
43973 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43974
43975 * conform/conformtest.pl: Add standard definition when calling C
43976 preprocessor on data files.
43977 (checknamespace): Remove unused variable.
43978
43979 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43980
43981 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43982 minus_oflow, plus_uflow and minus_uflow in expected results.
43983 * math/libm-test.inc (scalbn_test_data): Add more tests of
43984 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43985 minus_uflow.
43986 (scalbn_test): Use ALL_RM_TEST.
43987 (scalbln_test_data): Add more tests of negative arguments. Use
43988 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43989 (scalbln_test): Use ALL_RM_TEST.
43990
43991 2014-03-18 Roland McGrath <roland@hack.frob.com>
43992
43993 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43994
43995 2014-03-18 Will Newton <will.newton@linaro.org>
43996
43997 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43998 inaccurate comment.
43999
44000 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44001
44002 * Makerules [!subdir] (check-abi): Exit with error status if a
44003 test failed.
44004
44005 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44006
44007 * math/libm-test.inc (nearbyint_test_data): Include all tests used
44008 for rint. Include results for all rounding modes.
44009 (nearbyint_test): Use ALL_RM_TEST.
44010 (rint_test_data): Include all tests used for nearbyint.
44011
44012 2014-03-17 Will Newton <will.newton@linaro.org>
44013
44014 * nptl/sysdeps/pthread/pthread.h: Revert previous
44015 change.
44016
44017 * sysdeps/generic/ldsodefs.h: Revert previous
44018 change.
44019
44020 * libio/genops.c: Revert previous change.
44021 * libio/libioP.h: Likewise.
44022 * stdio-common/vfprintf.c: Likewise.
44023
44024 * sysdeps/generic/math_private.h: Revert previous
44025 change.
44026
44027 * sysdeps/generic/math_private.h: Check whether
44028 HAVE_RM_CTX is defined with #ifdef rather
44029 than #if.
44030
44031 * argp/argp-fmtstream.h: Check whether
44032 __STRICT_ANSI__ is defined with #ifdef rather
44033 than #if.
44034 * argp/argp.h: Likewise.
44035
44036 * libio/genops.c: Check whether
44037 _IO_JUMPS_OFFSET is defined with #ifdef rather
44038 than #if.
44039 * libio/libioP.h: Likewise.
44040 * stdio-common/vfprintf.c: Likewise.
44041
44042 * sysdeps/generic/ldsodefs.h: Check whether
44043 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44044 than #if.
44045
44046 * nptl/sysdeps/pthread/pthread.h: Check
44047 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44048 its value.
44049
44050 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44051
44052 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44053 setting O_APPEND.
44054 * libio/tst-ftell-active-handler.c (do_append_test): Add a
44055 test case.
44056
44057 [BZ #16680]
44058 * libio/fileops.c (_IO_file_open): Seek to end of file but
44059 don't cache the offset.
44060 (get_file_offset): Remove function.
44061 (do_ftell): Use cached offset when available.
44062 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44063 don't cache the offset.
44064 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44065 case.
44066 (do_one_test): Call it.
44067 (do_ftell_test): Fix up expected old offset for a+ mode.
44068 * libio/wfileops.c (do_ftell_wide): Used cached offset when
44069 available.
44070
44071 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44072 up test status with function return status.
44073 (do_write_test): Likewise.
44074 (do_append_test): Likewise.
44075
44076 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44077 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44078 Remove.
44079
44080 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44081
44082 * math/gen-libm-test.pl (parse_args): Handle results specified for
44083 each rounding mode separately.
44084 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44085 tests and results from lrint_tonearest_test_data,
44086 lrint_towardzero_test_data, lrint_downward_test_data and
44087 lrint_upward_test_data.
44088 (lrint_test): Use ALL_RM_TEST.
44089 (lrint_tonearest_test_data): Remove.
44090 (lrint_test_tonearest): Likewise.
44091 (lrint_towardzero_test_data): Likewise.
44092 (lrint_test_towardzero): Likewise.
44093 (lrint_downward_test_data): Likewise.
44094 (lrint_test_downward): Likewise.
44095 (lrint_upward_test_data): Likewise.
44096 (lrint_test_upward): Likewise.
44097 (llrint_test_data): Merge in per-rounding-mode tests and results
44098 from llrint_tonearest_test_data, llrint_towardzero_test_data,
44099 llrint_downward_test_data and llrint_upward_test_data.
44100 (llrint_test): Use ALL_RM_TEST.
44101 (llrint_tonearest_test_data): Remove.
44102 (llrint_test_tonearest): Likewise.
44103 (llrint_towardzero_test_data): Likewise.
44104 (llrint_test_towardzero): Likewise.
44105 (llrint_downward_test_data): Likewise.
44106 (llrint_test_downward): Likewise.
44107 (llrint_upward_test_data): Likewise.
44108 (llrint_test_upward): Likewise.
44109 (rint_test_data): Merge in per-rounding-mode tests and results
44110 from rint_tonearest_test_data, rint_towardzero_test_data,
44111 rint_downward_test_data and rint_upward_test_data. Add
44112 per-rounding-mode results for tests not in those arrays.
44113 (rint_test): Use ALL_RM_TEST.
44114 (rint_tonearest_test_data): Remove.
44115 (rint_test_tonearest): Likewise.
44116 (rint_towardzero_test_data): Likewise.
44117 (rint_test_towardzero): Likewise.
44118 (rint_downward_test_data): Likewise.
44119 (rint_test_downward): Likewise.
44120 (rint_upward_test_data): Likewise.
44121 (rint_test_upward): Likewise.
44122 (main): Don't call removed functions.
44123
44124 2014-03-14 Roland McGrath <roland@hack.frob.com>
44125
44126 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44127 "Compiled on ..." crapola. It is anti-useful.
44128
44129 2014-03-14 Joseph Myers <joseph@codesourcery.com>
44130
44131 * scripts/evaluate-test.sh: Handle fourth argument to determine
44132 whether test run should stop on failure.
44133 * Makeconfig (stop-on-test-failure): New variable.
44134 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44135 $(stop-on-test-failure).
44136 * Makefile (tests): Give a summary of results from testing and
44137 exit with failure status if they include an ERROR or FAIL.
44138 (xtests): Likewise.
44139 * manual/install.texi (Configuring and compiling): Mention
44140 stop-on-test-failure=y.
44141 * INSTALL: Regenerated.
44142
44143 2014-03-14 Roland McGrath <roland@hack.frob.com>
44144
44145 * scripts/versionlist.awk: New file.
44146 * Makerules [$(build-shared) = yes]
44147 (postclean-generated): Add Versions.def, not Versions.def.v and
44148 Versions.def.v.i.
44149 ($(common-objpfx)Versions.def.v.i): Target removed.
44150 ($(common-objpfx)Versions.def): New target.
44151 ($(common-objpfx)Versions.all): Depend on that rather that
44152 $(common-objpfx)Versions.def.v.
44153 * Versions.def: File removed.
44154
44155 * Makeconfig (+gccwarn): Add -Wundef.
44156 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44157 a dl-sysdep.h breaking its contract.
44158 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44159 * include/stackinfo.h: New file.
44160 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44161 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44162 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44163 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44164 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44165 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44166 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44167 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44168 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44169 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44170 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44171 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44172 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44173 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44174 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44175
44176 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44177
44178 [BZ #16707]
44179 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44180 implementation.
44181 * math/libm-test.inc (round_test_data): Add more tests.
44182
44183 [BZ #16706]
44184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44185 implementation.
44186 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44187
44188 [BZ #16701]
44189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44190 implementation.
44191 * math/libm-test.inc (ceil_test_data): Add more tests.
44192
44193 * math/libm-test.inc (trunc_test_data): Add more tests related to
44194 BZ#16414.
44195
44196 2014-03-14 Roland McGrath <roland@hack.frob.com>
44197
44198 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44199 with #if rather than #ifdef.
44200 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44201
44202 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44203
44204 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44205 first. Disable AVX-512 GCC support if assembler doesn't support
44206 it.
44207 * sysdeps/x86_64/configure: Regenerated.
44208
44209 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44210
44211 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44212 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44213 (__old_pthread_attr_setstack): Likewise.
44214 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44215 [!_STACK_GROWS_DOWN]: Likewise.
44216
44217 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44218
44219 * config.make.in (have-bash2): Delete.
44220 * configure.ac (libc_cv_have_bash2): Delete.
44221 * configure: Regenerate.
44222 * elf/Makefile (common-ldd-rewrite): Rename to ...
44223 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44224 (sh-ldd-rewrite): Delete.
44225 (bash-ldd-rewrite): Delete.
44226 (have-bash2): Delete checks.
44227 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44228 ldd-rewrite.
44229
44230 * config.make.in (have-ksh): Delete.
44231 (KSH): Delete.
44232 * configure.ac (libc_cv_have_ksh): Delete.
44233 * configure: Regenerate.
44234
44235 * elf/Makefile: Delete $(have-ksh) check.
44236 ($(objpfx)sotruss): Change KSH to BASH.
44237 * elf/sotruss.ksh: Rename to ...
44238 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44239 function style to match POSIX. Drop ksh vim mode setting.
44240
44241 * manual/time.texi (Specifying the Time Zone with TZ): Change
44242 Tuesday to Thursday.
44243
44244 * debug/tst-longjmp_chk2.c: Update header comment.
44245 (stackoverflow_handler): Add comment. Call assert on pass value.
44246
44247 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44248
44249 [BZ #16194]
44250 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44251 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44252 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44253 (La_x86_64_vector): Add zmm.
44254 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44255 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44256 ($(objpfx)tst-audit10): New target.
44257 ($(objpfx)tst-audit10.out): Likewise.
44258 (tst-audit10-ENV): New.
44259 (AVX512-CFLAGS): Likewise.
44260 (CFLAGS-tst-audit10.c): Likewise.
44261 (CFLAGS-tst-auditmod10a.c): Likewise.
44262 (CFLAGS-tst-auditmod10b.c): Likewise.
44263 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44264 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44265 * sysdeps/x86_64/configure: Regenerated.
44266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44267 AVX-512 zmm register support.
44268 (_dl_x86_64_save_sse): Likewise.
44269 (_dl_x86_64_restore_sse): Likewise.
44270 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44271 size vector registers.
44272 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44273 (ZMM_SIZE): Likewise.
44274 * sysdeps/x86_64/tst-audit10.c: New file.
44275 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44276 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44277
44278 2014-03-13 Roland McGrath <roland@hack.frob.com>
44279
44280 * configure.ac (HAVE_EHDR_START): New check.
44281 * configure: Regenerated.
44282 * config.h.in (HAVE_EHDR_START): New #undef.
44283 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44284 assuming the lowest-addressed segment maps the start of the file.
44285
44286 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44287
44288 * INSTALL: Regenerated.
44289
44290 2014-03-13 Will Newton <will.newton@linaro.org>
44291
44292 * manual/setjmp.texi (System V contexts): Improve
44293 clarity and grammar of documentation.
44294
44295 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44296
44297 [BZ #16381]
44298 * elf/Makefile (tests): Add tst-pie2.
44299 (tests-pie): Add tst-pie2.
44300 * elf/tst-pie2.c: New file.
44301 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44302 for ET_EXEC.
44303 * elf/rtld.c (map_doit): Load executable as lt_executable.
44304 (dl_main): Likewise.
44305
44306 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44307
44308 [BZ #16642]
44309 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44310 (__ASSUME_PSELECT): Undefine.
44311
44312 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44313
44314 [BZ #16689]
44315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44316 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44317 static build.
44318 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44319 selector for static builds.
44320
44321 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44322
44323 [BZ #16695]
44324 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44325 key in the buffer.
44326
44327 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44328
44329 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44330 IFUNC selector for static builds.
44331
44332 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44333
44334 * sysdeps/mips/math_private.h [__mips_hard_float]
44335 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44336 libc_feresetround_mips_ctx.
44337 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44338 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44339 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44340
44341 [BZ #16677]
44342 * math/s_nextafter.c (__nextafter): Do not return value from
44343 overflowing computation.
44344 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44345 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44346 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44347 Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44349 Likewise.
44350 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44351 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44352
44353 2014-03-11 Roland McGrath <roland@hack.frob.com>
44354
44355 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44356 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44357 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44358 the new mov targetting sp.
44359
44360 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44361
44362 [BZ #16683]
44363 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44364 Define it for static builds as well.
44365 (NO_BZERO_IMPL): Likewise.
44366
44367 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44368
44369 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44370 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44371 multiarch strspn for PPC64.
44372 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44373 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44375 (__libc_ifunc_impl_list): Likewise.
44376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44377 multiarch optimizations
44378 * string/strspn.c (strspn): Using macro to redefine symbol name.
44379
44380 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44381 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44382
44383 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44384 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44385 multiarch strncat for PPC64.
44386 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44387 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44389 (__libc_ifunc_impl_list): Likewise.
44390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44391 multiarch optimizations
44392
44393 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44394
44395 [BZ #16639]
44396 * nscd/nscd.service: Make service type forking.
44397
44398 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44399
44400 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44401 sign in non default rounding modes.
44402 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44403
44404 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44405
44406 * math/libm-test.inc (ALL_RM_TEST): New macro.
44407 (ceil_test): Use ALL_RM_TEST.
44408 (cimag_test): Likewise.
44409 (conj_test): Likewise.
44410 (copysign_test): Likewise.
44411 (cproj_test): Likewise.
44412 (creal_test): Likewise.
44413 (fabs_test): Likewise.
44414 (floor_test): Likewise.
44415 (fmax_test): Likewise.
44416 (fmin_test): Likewise.
44417 (fmod_test): Likewise.
44418 (fpclassify_test): Likewise.
44419 (frexp_test): Likewise.
44420 (ilogb_test): Likewise.
44421 (isfinite_test): Likewise.
44422 (finite_test): Likewise.
44423 (isgreater_test): Likewise.
44424 (isgreaterequal_test): Likewise.
44425 (isinf_test): Likewise.
44426 (isless_test): Likewise.
44427 (islessequal_test): Likewise.
44428 (islessgreater_test): Likewise.
44429 (isnan_test): Likewise.
44430 (isnormal_test): Likewise.
44431 (issignaling_test): Likewise.
44432 (isunordered_test): Likewise.
44433 (logb_test): Likewise.
44434 (logb_downward_test_data): Remove.
44435 (logb_test_downward): Likewise.
44436 (lround_test): Use ALL_RM_TEST.
44437 (llround_test): Likewise.
44438 (modf_test): Likewise.
44439 (nexttoward_test): Likewise.
44440 (remainder_test): Likewise.
44441 (drem_test): Likewise.
44442 (remainder_tonearest_test_data): Likewise.
44443 (remainder_test_tonearest): Likewise.
44444 (drem_test_tonearest): Likewise.
44445 (remainder_towardzero_test_data): Likewise.
44446 (remainder_test_towardzero): Likewise.
44447 (drem_test_towardzero): Likewise.
44448 (remainder_downward_test_data): Likewise.
44449 (remainder_test_downward): Likewise.
44450 (drem_test_downward): Likewise.
44451 (remainder_upward_test_data): Likewise.
44452 (remainder_test_upward): Likewise.
44453 (drem_test_upward): Likewise.
44454 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44455 (round_test): Use ALL_RM_TEST.
44456 (signbit_test): Likewise.
44457 (trunc_test): Likewise.
44458 (significand_test): Likewise.
44459 (main): Don't call removed functions.
44460
44461 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44462
44463 [BZ #16674]
44464 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44465 || __USE_XOPEN2K8].
44466 (ILL_ILLOPN): Likewise.
44467 (ILL_ILLADR): Likewise.
44468 (ILL_ILLTRP): Likewise.
44469 (ILL_PRVOPC): Likewise.
44470 (ILL_PRVREG): Likewise.
44471 (ILL_COPROC): Likewise.
44472 (ILL_BADSTK): Likewise.
44473 (FPE_INTDIV): Likewise.
44474 (FPE_INTOVF): Likewise.
44475 (FPE_FLTDIV): Likewise.
44476 (FPE_FLTOVF): Likewise.
44477 (FPE_FLTUND): Likewise.
44478 (FPE_FLTRES): Likewise.
44479 (FPE_FLTINV): Likewise.
44480 (FPE_FLTSUB): Likewise.
44481 (SEGV_MAPERR): Likewise.
44482 (SEGV_ACCERR): Likewise.
44483 (BUS_ADRALN): Likewise.
44484 (BUS_ADRERR): Likewise.
44485 (BUS_OBJERR): Likewise.
44486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44487 (TRAP_TRACE): Likewise.
44488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44489 __USE_XOPEN2K8].
44490 (CLD_KILLED): Likewise.
44491 (CLD_DUMPED): Likewise.
44492 (CLD_TRAPPED): Likewise.
44493 (CLD_STOPPED): Likewise.
44494 (CLD_CONTINUED): Likewise.
44495 (POLL_IN): Likewise.
44496 (POLL_OUT): Likewise.
44497 (POLL_MSG): Likewise.
44498 (POLL_ERR): Likewise.
44499 (POLL_PRI): Likewise.
44500 (POLL_HUP): Likewise.
44501 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44502 Likewise.
44503 (ILL_ILLOPN): Likewise.
44504 (ILL_ILLADR): Likewise.
44505 (ILL_ILLTRP): Likewise.
44506 (ILL_PRVOPC): Likewise.
44507 (ILL_PRVREG): Likewise.
44508 (ILL_COPROC): Likewise.
44509 (ILL_BADSTK): Likewise.
44510 (FPE_INTDIV): Likewise.
44511 (FPE_INTOVF): Likewise.
44512 (FPE_FLTDIV): Likewise.
44513 (FPE_FLTOVF): Likewise.
44514 (FPE_FLTUND): Likewise.
44515 (FPE_FLTRES): Likewise.
44516 (FPE_FLTINV): Likewise.
44517 (FPE_FLTSUB): Likewise.
44518 (SEGV_MAPERR): Likewise.
44519 (SEGV_ACCERR): Likewise.
44520 (BUS_ADRALN): Likewise.
44521 (BUS_ADRERR): Likewise.
44522 (BUS_OBJERR): Likewise.
44523 (BUS_MCEERR_AR): Likewise.
44524 (BUS_MCEERR_AO): Likewise.
44525 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44526 (TRAP_TRACE): Likewise.
44527 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44528 __USE_XOPEN2K8].
44529 (CLD_KILLED): Likewise.
44530 (CLD_DUMPED): Likewise.
44531 (CLD_TRAPPED): Likewise.
44532 (CLD_STOPPED): Likewise.
44533 (CLD_CONTINUED): Likewise.
44534 (POLL_IN): Likewise.
44535 (POLL_OUT): Likewise.
44536 (POLL_MSG): Likewise.
44537 (POLL_ERR): Likewise.
44538 (POLL_PRI): Likewise.
44539 (POLL_HUP): Likewise.
44540 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44541 (ILL_ILLOPN): Likewise.
44542 (ILL_ILLADR): Likewise.
44543 (ILL_ILLTRP): Likewise.
44544 (ILL_PRVOPC): Likewise.
44545 (ILL_PRVREG): Likewise.
44546 (ILL_COPROC): Likewise.
44547 (ILL_BADSTK): Likewise.
44548 (FPE_INTDIV): Likewise.
44549 (FPE_INTOVF): Likewise.
44550 (FPE_FLTDIV): Likewise.
44551 (FPE_FLTOVF): Likewise.
44552 (FPE_FLTUND): Likewise.
44553 (FPE_FLTRES): Likewise.
44554 (FPE_FLTINV): Likewise.
44555 (FPE_FLTSUB): Likewise.
44556 (SEGV_MAPERR): Likewise.
44557 (SEGV_ACCERR): Likewise.
44558 (BUS_ADRALN): Likewise.
44559 (BUS_ADRERR): Likewise.
44560 (BUS_OBJERR): Likewise.
44561 (BUS_MCEERR_AR): Likewise.
44562 (BUS_MCEERR_AO): Likewise.
44563 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44564 (TRAP_TRACE): Likewise.
44565 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44566 __USE_XOPEN2K8].
44567 (CLD_KILLED): Likewise.
44568 (CLD_DUMPED): Likewise.
44569 (CLD_TRAPPED): Likewise.
44570 (CLD_STOPPED): Likewise.
44571 (CLD_CONTINUED): Likewise.
44572 (POLL_IN): Likewise.
44573 (POLL_OUT): Likewise.
44574 (POLL_MSG): Likewise.
44575 (POLL_ERR): Likewise.
44576 (POLL_PRI): Likewise.
44577 (POLL_HUP): Likewise.
44578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44579 Likewise.
44580 (ILL_ILLOPN): Likewise.
44581 (ILL_ILLADR): Likewise.
44582 (ILL_ILLTRP): Likewise.
44583 (ILL_PRVOPC): Likewise.
44584 (ILL_PRVREG): Likewise.
44585 (ILL_COPROC): Likewise.
44586 (ILL_BADSTK): Likewise.
44587 (ILL_BADIADDR): Likewise.
44588 (ILL_BREAK): Likewise.
44589 (FPE_INTDIV): Likewise.
44590 (FPE_INTOVF): Likewise.
44591 (FPE_FLTDIV): Likewise.
44592 (FPE_FLTOVF): Likewise.
44593 (FPE_FLTUND): Likewise.
44594 (FPE_FLTRES): Likewise.
44595 (FPE_FLTINV): Likewise.
44596 (FPE_FLTSUB): Likewise.
44597 (FPE_DECOVF): Likewise.
44598 (FPE_DECDIV): Likewise.
44599 (FPE_DECERR): Likewise.
44600 (FPE_INVASC): Likewise.
44601 (FPE_INVDEC): Likewise.
44602 (SEGV_MAPERR): Likewise.
44603 (SEGV_ACCERR): Likewise.
44604 (SEGV_PSTKOVF): Likewise.
44605 (BUS_ADRALN): Likewise.
44606 (BUS_ADRERR): Likewise.
44607 (BUS_OBJERR): Likewise.
44608 (BUS_MCEERR_AR): Likewise.
44609 (BUS_MCEERR_AO): Likewise.
44610 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44611 (TRAP_TRACE): Likewise.
44612 (TRAP_BRANCH): Likewise.
44613 (TRAP_HWBKPT): Likewise.
44614 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44615 __USE_XOPEN2K8].
44616 (CLD_KILLED): Likewise.
44617 (CLD_DUMPED): Likewise.
44618 (CLD_TRAPPED): Likewise.
44619 (CLD_STOPPED): Likewise.
44620 (CLD_CONTINUED): Likewise.
44621 (POLL_IN): Likewise.
44622 (POLL_OUT): Likewise.
44623 (POLL_MSG): Likewise.
44624 (POLL_ERR): Likewise.
44625 (POLL_PRI): Likewise.
44626 (POLL_HUP): Likewise.
44627 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44628 (ILL_ILLOPN): Likewise.
44629 (ILL_ILLADR): Likewise.
44630 (ILL_ILLTRP): Likewise.
44631 (ILL_PRVOPC): Likewise.
44632 (ILL_PRVREG): Likewise.
44633 (ILL_COPROC): Likewise.
44634 (ILL_BADSTK): Likewise.
44635 (FPE_INTDIV): Likewise.
44636 (FPE_INTOVF): Likewise.
44637 (FPE_FLTDIV): Likewise.
44638 (FPE_FLTOVF): Likewise.
44639 (FPE_FLTUND): Likewise.
44640 (FPE_FLTRES): Likewise.
44641 (FPE_FLTINV): Likewise.
44642 (FPE_FLTSUB): Likewise.
44643 (SEGV_MAPERR): Likewise.
44644 (SEGV_ACCERR): Likewise.
44645 (BUS_ADRALN): Likewise.
44646 (BUS_ADRERR): Likewise.
44647 (BUS_OBJERR): Likewise.
44648 (BUS_MCEERR_AR): Likewise.
44649 (BUS_MCEERR_AO): Likewise.
44650 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44651 (TRAP_TRACE): Likewise.
44652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44653 __USE_XOPEN2K8].
44654 (CLD_KILLED): Likewise.
44655 (CLD_DUMPED): Likewise.
44656 (CLD_TRAPPED): Likewise.
44657 (CLD_STOPPED): Likewise.
44658 (CLD_CONTINUED): Likewise.
44659 (POLL_IN): Likewise.
44660 (POLL_OUT): Likewise.
44661 (POLL_MSG): Likewise.
44662 (POLL_ERR): Likewise.
44663 (POLL_PRI): Likewise.
44664 (POLL_HUP): Likewise.
44665 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44666 (ILL_ILLOPN): Likewise.
44667 (ILL_ILLADR): Likewise.
44668 (ILL_ILLTRP): Likewise.
44669 (ILL_PRVOPC): Likewise.
44670 (ILL_PRVREG): Likewise.
44671 (ILL_COPROC): Likewise.
44672 (ILL_BADSTK): Likewise.
44673 (FPE_INTDIV): Likewise.
44674 (FPE_INTOVF): Likewise.
44675 (FPE_FLTDIV): Likewise.
44676 (FPE_FLTOVF): Likewise.
44677 (FPE_FLTUND): Likewise.
44678 (FPE_FLTRES): Likewise.
44679 (FPE_FLTINV): Likewise.
44680 (FPE_FLTSUB): Likewise.
44681 (SEGV_MAPERR): Likewise.
44682 (SEGV_ACCERR): Likewise.
44683 (BUS_ADRALN): Likewise.
44684 (BUS_ADRERR): Likewise.
44685 (BUS_OBJERR): Likewise.
44686 (BUS_MCEERR_AR): Likewise.
44687 (BUS_MCEERR_AO): Likewise.
44688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44689 (TRAP_TRACE): Likewise.
44690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44691 __USE_XOPEN2K8].
44692 (CLD_KILLED): Likewise.
44693 (CLD_DUMPED): Likewise.
44694 (CLD_TRAPPED): Likewise.
44695 (CLD_STOPPED): Likewise.
44696 (CLD_CONTINUED): Likewise.
44697 (POLL_IN): Likewise.
44698 (POLL_OUT): Likewise.
44699 (POLL_MSG): Likewise.
44700 (POLL_ERR): Likewise.
44701 (POLL_PRI): Likewise.
44702 (POLL_HUP): Likewise.
44703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44704 (ILL_ILLOPN): Likewise.
44705 (ILL_ILLADR): Likewise.
44706 (ILL_ILLTRP): Likewise.
44707 (ILL_PRVOPC): Likewise.
44708 (ILL_PRVREG): Likewise.
44709 (ILL_COPROC): Likewise.
44710 (ILL_BADSTK): Likewise.
44711 (FPE_INTDIV): Likewise.
44712 (FPE_INTOVF): Likewise.
44713 (FPE_FLTDIV): Likewise.
44714 (FPE_FLTOVF): Likewise.
44715 (FPE_FLTUND): Likewise.
44716 (FPE_FLTRES): Likewise.
44717 (FPE_FLTINV): Likewise.
44718 (FPE_FLTSUB): Likewise.
44719 (SEGV_MAPERR): Likewise.
44720 (SEGV_ACCERR): Likewise.
44721 (BUS_ADRALN): Likewise.
44722 (BUS_ADRERR): Likewise.
44723 (BUS_OBJERR): Likewise.
44724 (BUS_MCEERR_AR): Likewise.
44725 (BUS_MCEERR_AO): Likewise.
44726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44727 (TRAP_TRACE): Likewise.
44728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44729 __USE_XOPEN2K8].
44730 (CLD_KILLED): Likewise.
44731 (CLD_DUMPED): Likewise.
44732 (CLD_TRAPPED): Likewise.
44733 (CLD_STOPPED): Likewise.
44734 (CLD_CONTINUED): Likewise.
44735 (POLL_IN): Likewise.
44736 (POLL_OUT): Likewise.
44737 (POLL_MSG): Likewise.
44738 (POLL_ERR): Likewise.
44739 (POLL_PRI): Likewise.
44740 (POLL_HUP): Likewise.
44741 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44742 (ILL_ILLOPN): Likewise.
44743 (ILL_ILLADR): Likewise.
44744 (ILL_ILLTRP): Likewise.
44745 (ILL_PRVOPC): Likewise.
44746 (ILL_PRVREG): Likewise.
44747 (ILL_COPROC): Likewise.
44748 (ILL_BADSTK): Likewise.
44749 (ILL_DBLFLT): Likewise.
44750 (ILL_HARDWALL): Likewise.
44751 (FPE_INTDIV): Likewise.
44752 (FPE_INTOVF): Likewise.
44753 (FPE_FLTDIV): Likewise.
44754 (FPE_FLTOVF): Likewise.
44755 (FPE_FLTUND): Likewise.
44756 (FPE_FLTRES): Likewise.
44757 (FPE_FLTINV): Likewise.
44758 (FPE_FLTSUB): Likewise.
44759 (SEGV_MAPERR): Likewise.
44760 (SEGV_ACCERR): Likewise.
44761 (BUS_ADRALN): Likewise.
44762 (BUS_ADRERR): Likewise.
44763 (BUS_OBJERR): Likewise.
44764 (BUS_MCEERR_AR): Likewise.
44765 (BUS_MCEERR_AO): Likewise.
44766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44767 (TRAP_TRACE): Likewise.
44768 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44769 __USE_XOPEN2K8].
44770 (CLD_KILLED): Likewise.
44771 (CLD_DUMPED): Likewise.
44772 (CLD_TRAPPED): Likewise.
44773 (CLD_STOPPED): Likewise.
44774 (CLD_CONTINUED): Likewise.
44775 (POLL_IN): Likewise.
44776 (POLL_OUT): Likewise.
44777 (POLL_MSG): Likewise.
44778 (POLL_ERR): Likewise.
44779 (POLL_PRI): Likewise.
44780 (POLL_HUP): Likewise.
44781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44782 (ILL_ILLOPN): Likewise.
44783 (ILL_ILLADR): Likewise.
44784 (ILL_ILLTRP): Likewise.
44785 (ILL_PRVOPC): Likewise.
44786 (ILL_PRVREG): Likewise.
44787 (ILL_COPROC): Likewise.
44788 (ILL_BADSTK): Likewise.
44789 (FPE_INTDIV): Likewise.
44790 (FPE_INTOVF): Likewise.
44791 (FPE_FLTDIV): Likewise.
44792 (FPE_FLTOVF): Likewise.
44793 (FPE_FLTUND): Likewise.
44794 (FPE_FLTRES): Likewise.
44795 (FPE_FLTINV): Likewise.
44796 (FPE_FLTSUB): Likewise.
44797 (SEGV_MAPERR): Likewise.
44798 (SEGV_ACCERR): Likewise.
44799 (BUS_ADRALN): Likewise.
44800 (BUS_ADRERR): Likewise.
44801 (BUS_OBJERR): Likewise.
44802 (BUS_MCEERR_AR): Likewise.
44803 (BUS_MCEERR_AO): Likewise.
44804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44805 (TRAP_TRACE): Likewise.
44806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44807 __USE_XOPEN2K8].
44808 (CLD_KILLED): Likewise.
44809 (CLD_DUMPED): Likewise.
44810 (CLD_TRAPPED): Likewise.
44811 (CLD_STOPPED): Likewise.
44812 (CLD_CONTINUED): Likewise.
44813 (POLL_IN): Likewise.
44814 (POLL_OUT): Likewise.
44815 (POLL_MSG): Likewise.
44816 (POLL_ERR): Likewise.
44817 (POLL_PRI): Likewise.
44818 (POLL_HUP): Likewise.
44819 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44820 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44821
44822 [BZ #16670]
44823 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44824 before #include of <time.h>.
44825 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44826 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44827 (test-xfail-UNIX98/sched.h/conform): Likewise.
44828
44829 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44830
44831 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44832 error absence of trapping exception support.
44833 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44834
44835 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44836
44837 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44838 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44839 * timezone/Makefile (testdata): Move definition above include of
44840 Rules.
44841 (test-zones): New variable.
44842 (tests-special): Add zone files.
44843 (build-testdata): Use $(evaluate-test).
44844
44845 * elf/Makefile (tests-special): Rename tests to end with .out.
44846 ($(objpfx)noload-mem): Likewise.
44847 ($(objpfx)tst-leaks1-mem): Likewise.
44848 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44849 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44850 $(objpfx)test-iconvconfig.out.
44851 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44852 set -e inside subshell and redirect output to file.
44853 * iconvdata/Makefile (generated): Rename tests to end with .out.
44854 Correct type.
44855 (tests-special): Rename tests to end with .out.
44856 ($(objpfx)mtrace-tst-loading): Likewise.
44857 * intl/Makefile (generated): Likewise.
44858 (tests-special): Likewise.
44859 ($(objpfx)mtrace-tst-gettext): Likewise.
44860 * misc/Makefile (generated): Likewise.
44861 (tests-special): Likewise.
44862 ($(objpfx)tst-error1-mem): Likewise.
44863 * nptl/Makefile (tests-special): Likewise.
44864 ($(objpfx)tst-stack3-mem): Likewise.
44865 (generated): Likewise.
44866 * posix/Makefile (generated): Likewise.
44867 (tests-special): Likewise.
44868 (xtests-special): Likewise.
44869 ($(objpfx)tst-fnmatch-mem): Likewise.
44870 ($(objpfx)bug-regex2-mem): Likewise.
44871 ($(objpfx)bug-regex14-mem): Likewise.
44872 ($(objpfx)bug-regex21-mem): Likewise.
44873 ($(objpfx)bug-regex31-mem): Likewise.
44874 ($(objpfx)tst-vfork3-mem): Likewise.
44875 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44876 ($(objpfx)tst-pcre-mem): Likewise.
44877 ($(objpfx)tst-boost-mem): Likewise.
44878 ($(objpfx)bug-ga2-mem): Likewise.
44879 ($(objpfx)bug-glob2-mem): Likewise.
44880 * resolv/Makefile (generate): Likewise.
44881 (tests-special): Likewise.
44882 (xtests-special): Likewise.
44883 (generated): Likewise.
44884 ($(objpfx)mtrace-tst-leaks): Likewise.
44885 ($(objpfx)mtrace-tst-leaks2): Likewise.
44886
44887 * scripts/merge-test-results.sh: New file.
44888 * Makefile (tests-special-notdir): New variable.
44889 (tests): Run merge-test-results.sh.
44890 (xtests): Likewise.
44891 * Rules (tests-special-notdir): New variable.
44892 (xtests-special-notdir): Likewise.
44893 (tests): Run merge-test-results.sh
44894 (xtests): Likewise.
44895
44896 * Makeconfig (test-xfail-name): New variable.
44897 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44898 compute variable name for expected failures.
44899 * conform/Makefile (conformtest-headers-data): New variable.
44900 (conformtest-standards): Likewise.
44901 (conformtest-headers-ISO): Likewise.
44902 (conformtest-headers-ISO99): Likewise.
44903 (conformtest-headers-ISO11): Likewise.
44904 (conformtest-headers-POSIX): Likewise.
44905 (conformtest-headers-XPG3): Likewise.
44906 (conformtest-headers-XPG4): Likewise.
44907 (conformtest-headers-UNIX98): Likewise.
44908 (conformtest-headers-XOPEN2K): Likewise.
44909 (conformtest-headers-POSIX2008): Likewise.
44910 (conformtest-headers-XOPEN2K8): Likewise.
44911 (conformtest-header-list-base): Likewise.
44912 (conformtest-header-list-tests): Likewise.
44913 (conformtest-header-base): Likewise.
44914 (conformtest-header-tests): Likewise.
44915 (tests-special): Add $(conformtest-header-list-tests). If
44916 [$(fast-check) && !$(cross-compiling)], add
44917 $(conformtest-header-tests) instead of
44918 $(objpfx)run-conformtest.out.
44919 (generated): Add $(conformtest-header-list-base). If
44920 [$(fast-check) && !$(cross-compiling)], add
44921 $(conformtest-header-base). Remove previous setting.
44922 ($(conformtest-header-list-tests)): New target.
44923 (test-xfail-run-conformtest): Remove variable.
44924 ($(objpfx)run-conformtest.out): Remove target.
44925 (test-xfail-ISO11/complex.h/conform): New variable.
44926 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44927 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44928 (test-xfail-XPG3/varargs.h/conform): Likewise.
44929 (test-xfail-XPG4/varargs.h/conform): Likewise.
44930 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44931 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44932 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44933 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44934 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44935 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44936 (test-xfail-XPG3/ftw.h/conform): Likewise.
44937 (test-xfail-XPG3/grp.h/conform): Likewise.
44938 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44939 (test-xfail-XPG3/limits.h/conform): Likewise.
44940 (test-xfail-XPG3/pwd.h/conform): Likewise.
44941 (test-xfail-XPG3/search.h/conform): Likewise.
44942 (test-xfail-XPG3/signal.h/conform): Likewise.
44943 (test-xfail-XPG3/stdio.h/conform): Likewise.
44944 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44945 (test-xfail-XPG3/string.h/conform): Likewise.
44946 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44947 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44948 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44949 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44950 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44951 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44952 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44953 (test-xfail-XPG3/termios.h/conform): Likewise.
44954 (test-xfail-XPG3/time.h/conform): Likewise.
44955 (test-xfail-XPG3/unistd.h/conform): Likewise.
44956 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44957 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44958 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44959 (test-xfail-XPG4/netdb.h/conform): Likewise.
44960 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44961 (test-xfail-XPG4/signal.h/conform): Likewise.
44962 (test-xfail-XPG4/stdio.h/conform): Likewise.
44963 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44964 (test-xfail-XPG4/stropts.h/conform): Likewise.
44965 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44966 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44967 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44968 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44969 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44970 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44971 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44972 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44973 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44974 (test-xfail-XPG4/termios.h/conform): Likewise.
44975 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44976 (test-xfail-XPG4/unistd.h/conform): Likewise.
44977 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44978 (test-xfail-POSIX/sched.h/conform): Likewise.
44979 (test-xfail-POSIX/signal.h/conform): Likewise.
44980 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44981 (test-xfail-POSIX/tar.h/conform): Likewise.
44982 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44983 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44984 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44985 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44986 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44987 (test-xfail-UNIX98/sched.h/conform): Likewise.
44988 (test-xfail-UNIX98/signal.h/conform): Likewise.
44989 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44990 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44991 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44992 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44993 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44994 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44995 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44996 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44997 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44998 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44999 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45000 (test-xfail-UNIX98/unistd.h/conform): Likewise.
45001 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45002 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45003 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45004 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45005 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45006 (test-xfail-XOPEN2K/math.h/conform): Likewise.
45007 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45008 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45009 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45010 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45011 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45012 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45013 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45014 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45015 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45016 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45017 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45018 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45019 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45020 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45021 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45022 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45023 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45024 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45025 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45026 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45027 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45028 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45029 (test-xfail-POSIX2008/signal.h/conform): Likewise.
45030 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45031 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45032 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45033 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45034 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45035 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45036 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45037 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45038 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45039 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45040 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45041 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45042 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45043 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45044 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45045 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45046 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45047 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45048 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45049 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45050 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45051 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45052 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45053 (conformtest-cc-flags): Likewise.
45054 ($(conformtest-header-tests): New target.
45055 * conform/check-header-lists.sh: New file.
45056 * conform/run-conformtest.sh: Remove.
45057
45058 * conform/conformtest.pl: Allow ' and \ in values given for
45059 constants.
45060 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45061 inclusion.
45062 [POSIX] (sys/types.h): Likewise.
45063 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45064 inclusion.
45065 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45066 inclusion.
45067 * conform/data/signal.h-data (SIGIO): Remove expectation.
45068 [XPG3] (SIGBUS): Do not expect.
45069 [POSIX || XPG3] (SIGPOLL): Likewise.
45070 [POSIX || XPG3] (SIGPROF): Likewise.
45071 [POSIX || XPG3] (SIGSYS): Likewise.
45072 [XPG3] (SIGTRAP): Likewise.
45073 [POSIX || XPG3] (SIGURG): Likewise.
45074 [POSIX || XPG3] (SIGVTALRM): Likewise.
45075 [POSIX || XPG3] (SIGXCPU): Likewise.
45076 [POSIX || XPG3] (SIGXFSZ): Likewise.
45077 [POSIX] (SA_SIGINFO): Expect.
45078 [XPG3] (siginfo_t): Do not expect type or contents.
45079 [POSIX] (si_pid): Do not expect element.
45080 [POSIX] (si_uid): Likewise.
45081 [POSIX] (si_addr): Likewise.
45082 [POSIX] (si_status): Likewise.
45083 [POSIX] (si_band): Likewise.
45084 [XPG4] (si_value): Likewise.
45085 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45086 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45087 [POSIX || XPG3] (ILL_ILLADR): Likewise.
45088 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45089 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45090 [POSIX || XPG3] (ILL_PRVREG): Likewise.
45091 [POSIX || XPG3] (ILL_COPROC): Likewise.
45092 [POSIX || XPG3] (ILL_BADSTK): Likewise.
45093 [POSIX || XPG3] (FPE_INTDIV): Likewise.
45094 [POSIX || XPG3] (FPE_INTOVF): Likewise.
45095 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45096 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45097 [POSIX || XPG3] (FPE_FLTUND): Likewise.
45098 [POSIX || XPG3] (FPE_FLTRES): Likewise.
45099 [POSIX || XPG3] (FPE_FLTINV): Likewise.
45100 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45101 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45102 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45103 [POSIX || XPG3] (BUS_ADRALN): Likewise.
45104 [POSIX || XPG3] (BUS_ADRERR): Likewise.
45105 [POSIX || XPG3] (BUS_OBJERR): Likewise.
45106 [POSIX || XPG3] (CLD_EXITED): Likewise.
45107 [POSIX || XPG3] (CLD_KILLED): Likewise.
45108 [POSIX || XPG3] (CLD_DUMPED): Likewise.
45109 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45110 [POSIX || XPG3] (CLD_STOPPED): Likewise.
45111 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45112 [POSIX || XPG3] (POLL_IN): Likewise.
45113 [POSIX || XPG3] (POLL_OUT): Likewise.
45114 [POSIX || XPG3] (POLL_MSG): Likewise.
45115 [POSIX || XPG3] (POLL_ERR): Likewise.
45116 [POSIX || XPG3] (POLL_PRI): Likewise.
45117 [POSIX || XPG3] (POLL_HUP): Likewise.
45118 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45119 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45120 (SIG*): Do not allow.
45121 [XPG3] (si_*): Likewise.
45122 [XPG3] (SI_*): Likewise.
45123 [XPG3 || XPG4] (sigev_*): Likewise.
45124 [XPG3 || XPG4] (SIGEV_*): Likewise.
45125 [XPG3 || XPG4] (sival_*): Likewise.
45126 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45127 [POSIX || XPG3] (BUS_*): Likewise.
45128 [POSIX || XPG3] (CLD_*): Likewise.
45129 [POSIX || XPG3] (FPE_*): Likewise.
45130 [POSIX || XPG3] (ILL_*): Likewise.
45131 [POSIX || XPG3] (POLL_*): Likewise.
45132 [POSIX || XPG3] (SEGV_*): Likewise.
45133 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45134 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45135 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45136 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45137 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45138 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45139 Specify type and value.
45140 (TVERSLEN): Likewise.
45141 (REGTYPE): Likewise.
45142 (AREGTYPE): Likewise.
45143 (LNKTYPE): Likewise.
45144 (SYMTYPE): Likewise.
45145 (CHRTYPE): Likewise.
45146 (BLKTYPE): Likewise.
45147 (DIRTYPE): Likewise.
45148 (FIFOTYPE): Likewise.
45149 (CONTTYPE): Likewise.
45150 (TSUID): Likewise.
45151 (TSGID): Likewise.
45152 (TSVTX): Likewise.
45153 (TUREAD): Likewise.
45154 (TUWRITE): Likewise.
45155 (TUEXEC): Likewise.
45156 (TGREAD): Likewise.
45157 (TGWRITE): Likewise.
45158 (TGEXEC): Likewise.
45159 (TOREAD): Likewise.
45160 (TOWRITE): Likewise.
45161 (TOEXEC): Likewise.
45162 [POSIX] (TSVTX): Expect constant.
45163
45164 2014-03-06 Joseph Myers <joseph@codesourcery.com>
45165
45166 * Makefile (tests): Change dependencies to ....
45167 (tests-special): ... additions to this variable.
45168 (tests): Depend on $(tests-special).
45169 * Makerules (check-abi-list): New variable.
45170 (check-abi): Depend on $(check-abi-list).
45171 [$(subdir) = elf] (tests-special): Add
45172 $(objpfx)check-abi-libc.out.
45173 [$(build-shared) = yes && subdir] (tests-special): Add
45174 $(check-abi-list).
45175 [$(build-shared) = yes && subdir] (tests): Do not depend on
45176 check-abi.
45177 * Rules (tests): Depend on $(tests-special).
45178 (xtests): Depend on $(xtests-special).
45179 * catgets/Makefile (tests): Change dependencies to ....
45180 (tests-special): ... additions to this variable.
45181 * conform/Makefile (tests): Change dependencies to ....
45182 (tests-special): ... additions to this variable.
45183 * elf/Makefile (tests): Change dependencies to ....
45184 (tests-special): ... additions to this variable.
45185 * grp/Makefile (tests): Change dependencies to ....
45186 (tests-special): ... additions to this variable.
45187 * iconv/Makefile (xtests): Change dependencies to ....
45188 (xtests-special): ... additions to this variable.
45189 * iconvdata/Makefile (tests): Change dependencies to ....
45190 (tests-special): ... additions to this variable.
45191 * intl/Makefile (tests): Change dependencies to ....
45192 (tests-special): ... additions to this variable. Also add
45193 $(objpfx)tst-gettext.out.
45194 * io/Makefile (tests): Change dependencies to ....
45195 (tests-special): ... additions to this variable.
45196 * libio/Makefile (tests): Change dependencies to ....
45197 (tests-special): ... additions to this variable.
45198 * malloc/Makefile (tests): Change dependencies to ....
45199 (tests-special): ... additions to this variable.
45200 * misc/Makefile (tests): Change dependencies to ....
45201 (tests-special): ... additions to this variable.
45202 * nptl/Makefile (tests): Change dependencies to ....
45203 (tests-special): ... additions to this variable.
45204 * nptl_db/Makefile (tests): Change dependencies to ....
45205 (tests-special): ... additions to this variable.
45206 * posix/Makefile (tests): Change dependencies to ....
45207 (tests-special): ... additions to this variable.
45208 (xtests): Change dependencies to ....
45209 (xtests-special): ... additions to this variable.
45210 * resolv/Makefile (tests): Change dependencies to ....
45211 (tests-special): ... additions to this variable.
45212 (xtests): Change dependencies to ....
45213 (xtests-special): ... additions to this variable.
45214 * stdio-common/Makefile (tests): Change dependencies to ....
45215 (tests-special): ... additions to this variable.
45216 (do-tst-unbputc): Remove target.
45217 (do-tst-printf): Likewise.
45218 * stdlib/Makefile (tests): Change dependencies to ....
45219 (tests-special): ... additions to this variable.
45220 * string/Makefile (tests): Change dependencies to ....
45221 (tests-special): ... additions to this variable.
45222 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45223 (tests-special): ... additions to this variable.
45224
45225 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45226 whole file.
45227 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45228 whole file.
45229 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45230 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45231
45232 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45233 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45234 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45235 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45236 * conform/data/libgen.h-data [XPG3]: Likewise.
45237 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45238 * conform/data/ndbm.h-data [XPG3]: Likewise.
45239 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45240 * conform/data/netdb.h-data [XPG3]: Likewise.
45241 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45242 * conform/data/poll.h-data [XPG3]: Likewise.
45243 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45244 * conform/data/strings.h-data [XPG3]: Likewise.
45245 * conform/data/stropts.h-data [XPG3]: Likewise.
45246 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45247 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45248 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45249 Likewise.
45250 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45251 * conform/data/sys/time.h-data [XPG3]: Likewise.
45252 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45253 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45254 * conform/data/sys/un.h-data [XPG3]: Likewise.
45255 * conform/data/syslog.h-data [XPG3]: Likewise.
45256 * conform/data/ucontext.h-data [XPG3]: Likewise.
45257 * conform/data/utmpx.h-data [XPG3]: Likewise.
45258 * conform/data/varargs.h-data [UNIX98]: Enable file.
45259
45260 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45261
45262 * math/libm-test.inc (struct test_f_f_data): Move expected results
45263 into structure for each rounding mode.
45264 (struct test_ff_f_data): Likewise.
45265 (struct test_ff_f_data_nexttoward): Likewise.
45266 (struct test_fi_f_data): Likewise.
45267 (struct test_fl_f_data): Likewise.
45268 (struct test_if_f_data): Likewise.
45269 (struct test_fff_f_data): Likewise.
45270 (struct test_c_f_data): Likewise.
45271 (struct test_f_f1_data): Likewise.
45272 (struct test_fF_f1_data): Likewise.
45273 (struct test_ffI_f1_data): Likewise.
45274 (struct test_c_c_data): Likewise.
45275 (struct test_cc_c_data): Likewise.
45276 (struct test_f_i_data): Likewise.
45277 (struct test_ff_i_data): Likewise.
45278 (struct test_f_l_data): Likewise.
45279 (struct test_f_L_data): Likewise.
45280 (struct test_fFF_11_data): Likewise.
45281 (RM_): New macro.
45282 (RM_FE_DOWNWARD): Likewise.
45283 (RM_FE_TONEAREST): Likewise.
45284 (RM_FE_TOWARDZERO): Likewise.
45285 (RM_FE_UPWARD): Likewise.
45286 (RUN_TEST_LOOP_f_f): Update references to expected results.
45287 (RUN_TEST_LOOP_2_f): Likewise.
45288 (RUN_TEST_LOOP_fff_f): Likewise.
45289 (RUN_TEST_LOOP_c_f): Likewise.
45290 (RUN_TEST_LOOP_f_f1): Likewise.
45291 (RUN_TEST_LOOP_fF_f1): Likewise.
45292 (RUN_TEST_LOOP_fI_f1): Likewise.
45293 (RUN_TEST_LOOP_ffI_f1): Likewise.
45294 (RUN_TEST_LOOP_c_c): Likewise.
45295 (RUN_TEST_LOOP_cc_c): Likewise.
45296 (RUN_TEST_LOOP_f_i): Likewise.
45297 (RUN_TEST_LOOP_f_i_tg): Likewise.
45298 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45299 (RUN_TEST_LOOP_f_b): Likewise.
45300 (RUN_TEST_LOOP_f_b_tg): Likewise.
45301 (RUN_TEST_LOOP_f_l): Likewise.
45302 (RUN_TEST_LOOP_f_L): Likewise.
45303 (RUN_TEST_LOOP_fFF_11): Likewise.
45304 * math/gen-libm-test.pl (parse_args): Output four copies of
45305 expected results for each test.
45306
45307 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45308 (__ASSUME_UTIMES): Remove.
45309 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45310 (__ASSUME_UTIMES): Likewise.
45311
45312 * math/gen-auto-libm-tests.c: Update comment on output format.
45313 (output_for_one_input_case): Generate before-rounding and
45314 after-rounding information as conditions on output flags not
45315 floating-point format.
45316 * math/auto-libm-test-out: Regenerated.
45317 * math/gen-libm-test.pl (cond_value): New function.
45318 (or_cond_value): Use cond_value.
45319 (generate_testfile): Handle conditional exceptions.
45320
45321 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45322
45323 * math/libm-test.inc (max_valid_error): New variable.
45324 (init_max_error): Take new argument specifying whether function
45325 results are exactly determined. Set max_valid_error and bound
45326 other variables for errors based on this argument.
45327 (set_max_error): Do not record results above max_valid_error.
45328 (check_float_internal): Only accept errors of up to 0.5ulps if
45329 also at most max_valid_error.
45330 (START): Take new argument EXACT and pass it to init_max_error.
45331 (acos_test): Update call to START.
45332 (acos_test_tonearest): Likewise.
45333 (acos_test_towardzero): Likewise.
45334 (acos_test_downward): Likewise.
45335 (acos_test_upward): Likewise.
45336 (acosh_test): Likewise.
45337 (asin_test): Likewise.
45338 (asin_test_tonearest): Likewise.
45339 (asin_test_towardzero): Likewise.
45340 (asin_test_downward): Likewise.
45341 (asin_test_upward): Likewise.
45342 (asinh_test): Likewise.
45343 (atan_test): Likewise.
45344 (atanh_test): Likewise.
45345 (atan2_test): Likewise.
45346 (cabs_test): Likewise.
45347 (cacos_test): Likewise.
45348 (cacosh_test): Likewise.
45349 (carg_test): Likewise.
45350 (casin_test): Likewise.
45351 (casinh_test): Likewise.
45352 (catan_test): Likewise.
45353 (catanh_test): Likewise.
45354 (cbrt_test): Likewise.
45355 (ccos_test): Likewise.
45356 (ccosh_test): Likewise.
45357 (ceil_test): Likewise.
45358 (cexp_test): Likewise.
45359 (cimag_test): Likewise.
45360 (clog_test): Likewise.
45361 (clog10_test): Likewise.
45362 (conj_test): Likewise.
45363 (copysign_test): Likewise.
45364 (cos_test): Likewise.
45365 (cos_test_tonearest): Likewise.
45366 (cos_test_towardzero): Likewise.
45367 (cos_test_downward): Likewise.
45368 (cos_test_upward): Likewise.
45369 (cosh_test): Likewise.
45370 (cosh_test_tonearest): Likewise.
45371 (cosh_test_towardzero): Likewise.
45372 (cosh_test_downward): Likewise.
45373 (cosh_test_upward): Likewise.
45374 (cpow_test): Likewise.
45375 (cproj_test): Likewise.
45376 (creal_test): Likewise.
45377 (csin_test): Likewise.
45378 (csinh_test): Likewise.
45379 (csqrt_test): Likewise.
45380 (ctan_test): Likewise.
45381 (ctan_test_tonearest): Likewise.
45382 (ctan_test_towardzero): Likewise.
45383 (ctan_test_downward): Likewise.
45384 (ctan_test_upward): Likewise.
45385 (ctanh_test): Likewise.
45386 (ctanh_test_tonearest): Likewise.
45387 (ctanh_test_towardzero): Likewise.
45388 (ctanh_test_downward): Likewise.
45389 (ctanh_test_upward): Likewise.
45390 (erf_test): Likewise.
45391 (erfc_test): Likewise.
45392 (exp_test): Likewise.
45393 (exp_test_tonearest): Likewise.
45394 (exp_test_towardzero): Likewise.
45395 (exp_test_downward): Likewise.
45396 (exp_test_upward): Likewise.
45397 (exp10_test): Likewise.
45398 (exp10_test_tonearest): Likewise.
45399 (exp10_test_towardzero): Likewise.
45400 (exp10_test_downward): Likewise.
45401 (exp10_test_upward): Likewise.
45402 (pow10_test): Likewise.
45403 (exp2_test): Likewise.
45404 (expm1_test): Likewise.
45405 (expm1_test_tonearest): Likewise.
45406 (expm1_test_towardzero): Likewise.
45407 (expm1_test_downward): Likewise.
45408 (expm1_test_upward): Likewise.
45409 (fabs_test): Likewise.
45410 (fdim_test): Likewise.
45411 (floor_test): Likewise.
45412 (fma_test): Likewise.
45413 (fma_test_towardzero): Likewise.
45414 (fma_test_downward): Likewise.
45415 (fma_test_upward): Likewise.
45416 (fmax_test): Likewise.
45417 (fmin_test): Likewise.
45418 (fmod_test): Likewise.
45419 (fpclassify_test): Likewise.
45420 (frexp_test): Likewise.
45421 (hypot_test): Likewise.
45422 (ilogb_test): Likewise.
45423 (isfinite_test): Likewise.
45424 (finite_test): Likewise.
45425 (isgreater_test): Likewise.
45426 (isgreaterequal_test): Likewise.
45427 (isinf_test): Likewise.
45428 (isless_test): Likewise.
45429 (islessequal_test): Likewise.
45430 (islessgreater_test): Likewise.
45431 (isnan_test): Likewise.
45432 (isnormal_test): Likewise.
45433 (issignaling_test): Likewise.
45434 (isunordered_test): Likewise.
45435 (j0_test): Likewise.
45436 (j1_test): Likewise.
45437 (jn_test): Likewise.
45438 (ldexp_test): Likewise.
45439 (lgamma_test): Likewise.
45440 (gamma_test): Likewise.
45441 (lrint_test): Likewise.
45442 (lrint_test_tonearest): Likewise.
45443 (lrint_test_towardzero): Likewise.
45444 (lrint_test_downward): Likewise.
45445 (lrint_test_upward): Likewise.
45446 (llrint_test): Likewise.
45447 (llrint_test_tonearest): Likewise.
45448 (llrint_test_towardzero): Likewise.
45449 (llrint_test_downward): Likewise.
45450 (llrint_test_upward): Likewise.
45451 (log_test): Likewise.
45452 (log10_test): Likewise.
45453 (log1p_test): Likewise.
45454 (log2_test): Likewise.
45455 (logb_test): Likewise.
45456 (logb_test_downward): Likewise.
45457 (lround_test): Likewise.
45458 (llround_test): Likewise.
45459 (modf_test): Likewise.
45460 (nearbyint_test): Likewise.
45461 (nextafter_test): Likewise.
45462 (nexttoward_test): Likewise.
45463 (pow_test): Likewise.
45464 (pow_test_tonearest): Likewise.
45465 (pow_test_towardzero): Likewise.
45466 (pow_test_downward): Likewise.
45467 (pow_test_upward): Likewise.
45468 (remainder_test): Likewise.
45469 (drem_test): Likewise.
45470 (remainder_test_tonearest): Likewise.
45471 (drem_test_tonearest): Likewise.
45472 (remainder_test_towardzero): Likewise.
45473 (drem_test_towardzero): Likewise.
45474 (remainder_test_downward): Likewise.
45475 (drem_test_downward): Likewise.
45476 (remainder_test_upward): Likewise.
45477 (drem_test_upward): Likewise.
45478 (remquo_test): Likewise.
45479 (rint_test): Likewise.
45480 (rint_test_tonearest): Likewise.
45481 (rint_test_towardzero): Likewise.
45482 (rint_test_downward): Likewise.
45483 (rint_test_upward): Likewise.
45484 (round_test): Likewise.
45485 (scalb_test): Likewise.
45486 (scalbn_test): Likewise.
45487 (scalbln_test): Likewise.
45488 (signbit_test): Likewise.
45489 (sin_test): Likewise.
45490 (sin_test_tonearest): Likewise.
45491 (sin_test_towardzero): Likewise.
45492 (sin_test_downward): Likewise.
45493 (sin_test_upward): Likewise.
45494 (sincos_test): Likewise.
45495 (sinh_test): Likewise.
45496 (sinh_test_tonearest): Likewise.
45497 (sinh_test_towardzero): Likewise.
45498 (sinh_test_downward): Likewise.
45499 (sinh_test_upward): Likewise.
45500 (sqrt_test): Likewise.
45501 (sqrt_test_tonearest): Likewise.
45502 (sqrt_test_towardzero): Likewise.
45503 (sqrt_test_downward): Likewise.
45504 (sqrt_test_upward): Likewise.
45505 (tan_test): Likewise.
45506 (tan_test_tonearest): Likewise.
45507 (tan_test_towardzero): Likewise.
45508 (tan_test_downward): Likewise.
45509 (tan_test_upward): Likewise.
45510 (tanh_test): Likewise.
45511 (tgamma_test): Likewise.
45512 (trunc_test): Likewise.
45513 (y0_test): Likewise.
45514 (y1_test): Likewise.
45515 (yn_test): Likewise.
45516 (significand_test): Likewise.
45517
45518 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45519 individual tests in comment.
45520 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45521 (prev_max_error): New variable.
45522 (prev_real_max_error): Likewise.
45523 (prev_imag_max_error): Likewise.
45524 (compare_ulp_data): Don't refer to test names in comment.
45525 (find_test_ulps): Remove function.
45526 (find_function_ulps): Likewise.
45527 (find_complex_function_ulps): Likewise.
45528 (init_max_error): Take function name as argument. Look up ulps
45529 for that function.
45530 (print_ulps): Remove function.
45531 (print_max_error): Use prev_max_error instead of calling
45532 find_function_ulps.
45533 (print_complex_max_error): Use prev_real_max_error and
45534 prev_imag_max_error instead of calling find_complex_function_ulps.
45535 (check_float_internal): Take max_ulp parameter instead of calling
45536 find_test_ulps. Don't call print_ulps.
45537 (check_float): Update call to check_float_internal.
45538 (check_complex): Update calls to check_float_internal.
45539 (START): Pass argument to init_max_error.
45540 * math/gen-libm-test.pl (%results): Don't include "kind"
45541 information.
45542 (parse_ulps): Don't handle ulps of individual tests.
45543 (print_ulps_file): Likewise.
45544 (output_ulps): Likewise.
45545 * math/README.libm-test: Update.
45546 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45547 individual tests.
45548 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45549 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45550 * sysdeps/arm/libm-test-ulps: Likewise.
45551 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45552 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45553 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45554 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45555 * sysdeps/microblaze/libm-test-ulps: Likewise.
45556 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45557 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45559 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45560 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45561 * sysdeps/sh/libm-test-ulps: Likewise.
45562 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45563 * sysdeps/tile/libm-test-ulps: Likewise.
45564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45565
45566 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45567
45568 * math/libm-test.inc (print_complex_max_error): Check separately
45569 whether real and imaginary errors are within allowed range and
45570 pass 0 to print_complex_function_ulps instead of value within
45571 allowed range.
45572
45573 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45574
45575 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45576 formatting.
45577 (get_handles_fopen): Likewise.
45578 (do_write_test): Likewise.
45579
45580 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45581
45582 * libio/fileops.c (do_ftell): Use cached offset when
45583 available.
45584 * libio/iofwide.c (do_ftell_wide): Likewise.
45585 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45586 _IO_file_attach.
45587 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45588
45589 [BZ #16532]
45590 * libio/libioP.h (get_file_offset): New function.
45591 * libio/fileops.c (get_file_offset): Likewise.
45592 (do_ftell): Likewise.
45593 (_IO_new_file_seekoff): Split out ftell logic.
45594 * libio/wfileops.c (do_ftell_wide): Likewise.
45595 (_IO_wfile_seekoff): Split out ftell logic.
45596 * libio/tst-ftell-active-handler.c: New test case.
45597 * libio/Makefile (tests): Add it.
45598
45599 2014-03-03 Roland McGrath <roland@hack.frob.com>
45600
45601 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45602 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45603
45604 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45605
45606 [BZ #16639]
45607 * nscd/connections.c (nscd_init): Call do_exit.
45608 (start_threads): Call do_exit and notify_parent.
45609 (begin_drop_privileges): Call do_exit.
45610 (finish_drop_privileges): Likewise.
45611 * nscd/selinux.c (preserve_capabilities): Likewise.
45612 (install_real_capabilities): Likewise.
45613 (nscd_selinux_enabled): Likewise.
45614 (avc_create_thread): Likewise.
45615 (avc_alloc_lock): Likewise.
45616 (nscd_avc_init): Likewise.
45617 * nscd/nscd.c (parent_fd): New static variable.
45618 (main): Create a pipe between parent and child processes.
45619 Skip closing parent_fd.
45620 (monitor_child): New function.
45621 (do_exit): Likewise.
45622 (notify_parent): Likewise.
45623 * nscd/nscd.h (notify_parent): Likewise.
45624 (do_exit): Likewise.
45625
45626 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45627
45628 * malloc/malloc.c (__libc_calloc): Revert last change.
45629
45630 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45631
45632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45633
45634 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45635
45636 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45638 implementation.
45639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45640 (__libc_ifunc_impl_list): Likewise.
45641 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45642 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45643 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45644 * string/strrchr.c: Define STRRCHR.
45645
45646 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45647
45648 * benchtest/bench-strtok.c (simple_strtok): Delete.
45649 (strtok_string): Use as benchmark.
45650 * string/strtok (STRTOK): New macro.
45651
45652 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45653
45654 * manual/threads.texi: Add header and standard comments to all
45655 functions.
45656
45657 * elf/dl-lookup.c (check_match): New function.
45658 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45659 (do_lookup_x): Remove nested function check_match. Use non-nested
45660 function check_match.
45661
45662 2014-02-28 Roland McGrath <roland@hack.frob.com>
45663
45664 * csu/Makefile (generated, before-compile): Use += rather than =.
45665 * catgets/Makefile (generated, generated-dirs): Likewise.
45666 * debug/Makefile (generated): Likewise.
45667 * dlfcn/Makefile (generated): Likewise.
45668 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45669 * iconvdata/Makefile (before-compile, generated): Likewise.
45670 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45671 * libio/Makefile (generated): Likewise.
45672 * malloc/Makefile (generated): Likewise.
45673 * manual/Makefile (generated, generated-dirs): Likewise.
45674 * misc/Makefile (generated): Likewise.
45675 * posix/Makefile (generated): Likewise.
45676 * resolv/Makefile (generated): Likewise.
45677 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45678 * timezone/Makefile (generated, generated-dirs): Likewise.
45679
45680 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45681
45682 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45683
45684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45685 power8 implementation.
45686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45687 file: POWER8 llround ifunc implementation.
45688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45689 (__lllround): Add POWER8 implementation.
45690 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45691 POWER8 llround implementation.
45692
45693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45694 power8 implementation.
45695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45696 file: POWER8 llrint ifunc implementation.
45697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45698 Add POWER8 implementation.
45699 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45700 POWER8 llrint implementation.
45701
45702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45703 power8 implementation.
45704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45705 file: POWER8 finite ifunc implementation.
45706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45707 Add POWER8 implementation.
45708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45709 Likewise.
45710 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45711 POWER8 finite implementation.
45712 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45713
45714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45715 power8 implementation.
45716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45717 file: POWER8 isinf ifunc implementation.
45718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45719 POWER8 implementation.
45720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45721 Likewise.
45722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45723 isinf implementation.
45724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45725
45726 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45727 (INIT_ARCH): Add hwcap2 initialization.
45728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45729 power8 implementation.
45730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45731 file: POWER8 isnan ifunc implementation.
45732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45733 POWER8 implementation.
45734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45735 Likewise.
45736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45737 isnan implementation.
45738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45739
45740 2014-02-27 Joey Ye <joey.ye@arm.com>
45741
45742 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45743 (_FP_NANFRAC_Q): Set to zero.
45744
45745 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45746
45747 [BZ #16623]
45748 * math/auto-libm-test-in: New test inputs.
45749 * math/auto-libm-test-out: Regenerate.
45750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45751 and DA.
45752 (__cos): Likewise.
45753 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45754
45755 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45756
45757 * scripts/evaluate-test.sh: Take new argument indicating whether
45758 failure is expected.
45759 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45760 indicating whether failure is expected.
45761 * conform/Makefile (test-xfail-run-conformtest): New variable.
45762 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45763 level.
45764 * posix/Makefile (test-xfail-annexc): New variable.
45765 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45766
45767 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45768
45769 * argp/Makefile: Include Makeconfig immediately after defining
45770 subdir.
45771 * assert/Makefile: Likewise.
45772 * benchtests/Makefile: Likewise.
45773 * catgets/Makefile: Likewise.
45774 * conform/Makefile: Likewise.
45775 * crypt/Makefile: Likewise.
45776 * csu/Makefile: Likewise.
45777 (all): Remove target.
45778 * ctype/Makefile: Include Makeconfig immediately after defining
45779 subdir.
45780 * debug/Makefile: Likewise.
45781 * dirent/Makefile: Likewise.
45782 * dlfcn/Makefile: Likewise.
45783 * gmon/Makefile: Likewise.
45784 * gnulib/Makefile: Likewise.
45785 * grp/Makefile: Likewise.
45786 * gshadow/Makefile: Likewise.
45787 * hesiod/Makefile: Likewise.
45788 * hurd/Makefile: Likewise.
45789 (all): Remove target.
45790 * iconvdata/Makefile: Include Makeconfig immediately after
45791 defining subdir.
45792 * inet/Makefile: Likewise.
45793 * intl/Makefile: Likewise.
45794 * io/Makefile: Likewise.
45795 * libio/Makefile: Likewise.
45796 (all): Remove target.
45797 * locale/Makefile: Include Makeconfig immediately after defining
45798 subdir.
45799 * login/Makefile: Likewise.
45800 * mach/Makefile: Likewise.
45801 (all): Remove target.
45802 * malloc/Makefile: Include Makeconfig immediately after defining
45803 subdir.
45804 (all): Remove target.
45805 * manual/Makefile: Include Makeconfig immediately after defining
45806 subdir.
45807 * math/Makefile: Likewise.
45808 * misc/Makefile: Likewise.
45809 * nis/Makefile: Likewise.
45810 * nss/Makefile: Likewise.
45811 * po/Makefile: Likewise.
45812 (all): Remove target.
45813 * posix/Makefile: Include Makeconfig immediately after defining
45814 subdir.
45815 * pwd/Makefile: Likewise.
45816 * resolv/Makefile: Likewise.
45817 * resource/Makefile: Likewise.
45818 * rt/Makefile: Likewise.
45819 * setjmp/Makefile: Likewise.
45820 * shadow/Makefile: Likewise.
45821 * signal/Makefile: Likewise.
45822 * socket/Makefile: Likewise.
45823 * soft-fp/Makefile: Likewise.
45824 * stdio-common/Makefile: Likewise.
45825 * stdlib/Makefile: Likewise.
45826 * streams/Makefile: Likewise.
45827 * string/Makefile: Likewise.
45828 * sunrpc/Makefile: Likewise.
45829 (all): Remove target.
45830 * sysvipc/Makefile: Include Makeconfig immediately after defining
45831 subdir.
45832 * termios/Makefile: Likewise.
45833 * time/Makefile: Likewise.
45834 * timezone/Makefile: Likewise.
45835 (all): Remove target.
45836 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45837 subdir.
45838 * wctype/Makefile: Likewise.
45839
45840 2014-02-26 Steve Ellcey <sellcey@mips.com>
45841
45842 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45843 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45844 (libc_feholdexcept_setround_mips): Ditto.
45845 (libc_feholdsetround): New.
45846 (libc_feholdsetroundf): New.
45847 (libc_feholdsetroundl): New.
45848 (libc_feupdateenv_test_mips): New.
45849 (libc_feupdateenv_test): New.
45850 (libc_feupdateenv_testf): New.
45851 (libc_feupdateenv_testl): New.
45852 (libc_feresetround): New.
45853 (libc_feresetroundf): New.
45854 (libc_feresetroundl): New.
45855 (libc_fetestexcept_mips): New.
45856 (libc_fetestexcept): New.
45857 (libc_fetestexceptf): New.
45858 (libc_fetestexceptl): New.
45859 (HAVE_RM_CTX): New.
45860 (libc_feholdexcept_setround_mips_ctx): New.
45861 (libc_feholdexcept_setround_ctx): New.
45862 (libc_feholdexcept_setroundf_ctx): New.
45863 (libc_feholdexcept_setroundl_ctx): New.
45864 (libc_fesetenv_mips_ctx): New.
45865 (libc_fesetenv_ctx): New.
45866 (libc_fesetenv_ctxf): New.
45867 (libc_fesetenv_ctxl): New.
45868 (libc_feupdateenv_mips_ctx): New.
45869 (libc_feupdateenv_ctx): New.
45870 (libc_feupdateenvf_ctx): New.
45871 (libc_feupdateenvl_ctx): New.
45872 (libc_feholdsetround_mips_ctx): New.
45873 (libc_feholdsetround_ctx): New.
45874 (libc_feholdsetroundf_ctx): New.
45875 (libc_feholdsetroundl_ctx): New.
45876 (libc_feresetround_mips_ctx): New.
45877 (libc_feresetround_ctx): New.
45878 (libc_feresetroundf_ctx): New.
45879 (libc_feresetroundl_ctx): New.
45880
45881 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45882
45883 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45884
45885 * manual/ipc.texi: New file.
45886 * manual/Makefile (chapters): Add ipc.
45887 * manual/job.texi: Add "Inter-Process Communication" to next.
45888 * manual/process.texi: Add "Inter-Process Communication" to prev.
45889
45890 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45891
45892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45893
45894 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45895
45896 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45897
45898 * manual/arith.texi: Fix spaces after sentences.
45899 * manual/charset.texi: Likewise.
45900 * manual/errno.texi: Likewise.
45901 * manual/install.texi: Likewise.
45902 * manual/llio.texi: Likewise.
45903 * manual/locale.texi: Likewise.
45904 * manual/maint.texi: Likewise.
45905 * manual/math.texi: Likewise.
45906 * manual/memory.texi: Likewise.
45907 * manual/message.texi: Likewise.
45908 * manual/probes.texi: Likewise.
45909 * manual/resource.texi: Likewise.
45910 * manual/signal.texi: Likewise.
45911 * manual/socket.texi: Likewise.
45912 * manual/stdio.texi: Likewise.
45913 * manual/string.texi: Likewise.
45914 * manual/time.texi: Likewise.
45915 * manual/users.texi: Likewise.
45916
45917 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45918
45919 [BZ #16632]
45920 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45921 _DEFAULT_SOURCE is defined.
45922
45923 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45924 Carlos O'Donell <carlos@redhat.com>
45925
45926 [BZ #16613]
45927 * elf/dl-tls.c (_dl_count_modids): New function.
45928 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45929 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45930 audit library and increment generation counter.
45931 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45932 * elf/tst-audit9.c: New file.
45933 * elf/tst-auditmod9a.c: New file.
45934 * elf/tst-auditmod9b.c: New file.
45935 * elf/Makefile: Add rules to build and run tst-audit9.
45936
45937 2014-02-25 Florian Weimer <fweimer@redhat.com>
45938
45939 [BZ #15347]
45940 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45941
45942 2014-02-25 Will Newton <will.newton@linaro.org>
45943
45944 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45945 (__longjmp): Restore sp and lr before restoring callee
45946 saved registers. Add longjmp and longjmp_target
45947 SystemTap probe point.
45948 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45949 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45950 Define to zero to match jmpbuf layout.
45951 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45952 (__sigsetjmp): Save sp and lr before saving callee
45953 saved registers. Add setjmp SystemTap probe point.
45954
45955 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45956
45957 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45958
45959 2014-02-24 Andreas Schwab <schwab@suse.de>
45960
45961 [BZ #15804]
45962 * elf/pldd.c (wait_for_ptrace_stop): New function.
45963 (main): Call it after attaching.
45964
45965 2014-02-22 Roland McGrath <roland@hack.frob.com>
45966
45967 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45968 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45969 Versions files is now verboten.
45970 * hurd/Versions (libc: GLIBC_2.0):
45971 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45972 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45973 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45974 * mach/Versions: Likewise.
45975
45976 * csu/Versions: Remove unused %include.
45977 * resolv/Versions: Likewise.
45978
45979 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45980
45981 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45982 ($(objpfx)check-local-headers.out): Likewise.
45983 ($(objpfx)begin-end-check.out): Likewise.
45984 * Makerules (check-abi-%.out): Likewise.
45985 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45986 ($(objpfx)test2.cat): Likewise.
45987 ($(objpfx)de/libc.cat): Likewise.
45988 ($(objpfx)test-gencat.out): Likewise.
45989 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45990 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45991 ($(objpfx)noload-mem): Likewise.
45992 ($(objpfx)tst-pathopt.out): Likewise.
45993 ($(objpfx)tst-rtld-load-self.out): Likewise.
45994 ($(objpfx)tst-array1-cmp.out): Likewise.
45995 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45996 ($(objpfx)tst-array2-cmp.out): Likewise.
45997 ($(objpfx)tst-array3-cmp.out): Likewise.
45998 ($(objpfx)tst-array4-cmp.out): Likewise.
45999 ($(objpfx)tst-array5-cmp.out): Likewise.
46000 ($(objpfx)tst-array5-static-cmp.out): Likewise.
46001 ($(objpfx)check-textrel.out): Likewise.
46002 ($(objpfx)check-execstack.out): Likewise.
46003 ($(objpfx)check-localplt.out): Likewise.
46004 ($(objpfx)order2-cmp.out): Likewise.
46005 ($(objpfx)tst-leaks1-mem): Likewise.
46006 ($(objpfx)tst-leaks1-static-mem): Likewise.
46007 ($(objpfx)tst-initorder-cmp.out): Likewise.
46008 ($(objpfx)tst-initorder2-cmp.out): Likewise.
46009 ($(objpfx)tst-unused-dep.out): Likewise.
46010 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46011 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46012 * iconv/Makefile (test-iconvconfig): Likewise.
46013 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46014 ($(objpfx)iconv-test.out): Likewise.
46015 ($(objpfx)tst-tables.out): Likewise.
46016 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46017 ($(objpfx)tst-gettext.out): Likewise.
46018 ($(objpfx)tst-translit.out): Likewise.
46019 ($(objpfx)tst-gettext2.out): Likewise.
46020 ($(objpfx)tst-gettext4.out): Likewise.
46021 ($(objpfx)tst-gettext6.out): Likewise.
46022 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46023 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46024 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46025 ($(objpfx)tst-fopenloc-mem.out): Likewise.
46026 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46027 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46028 * posix/Makefile ($(objpfx)globtest.out): Likewise.
46029 ($(objpfx)wordexp-tst.out): Likewise.
46030 ($(objpfx)annexc.out): Likewise.
46031 ($(objpfx)tst-fnmatch-mem): Likewise.
46032 ($(objpfx)bug-regex2-mem): Likewise.
46033 ($(objpfx)bug-regex14-mem): Likewise.
46034 ($(objpfx)bug-regex21-mem): Likewise.
46035 ($(objpfx)bug-regex31-mem): Likewise.
46036 ($(objpfx)tst-vfork3-mem): Likewise.
46037 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46038 ($(objpfx)tst-pcre-mem): Likewise.
46039 ($(objpfx)tst-boost-mem): Likewise.
46040 ($(objpfx)tst-getconf.out): Likewise.
46041 ($(objpfx)bug-ga2-mem): Likewise.
46042 ($(objpfx)bug-glob2-mem): Likewise.
46043 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46044 ($(objpfx)mtrace-tst-leaks2): Likewise.
46045 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46046 ($(objpfx)tst-printf.out): Likewise.
46047 ($(objpfx)tst-setvbuf1.out): Likewise.
46048 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46049 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46050 ($(objpfx)tst-fmtmsg.out): Likewise.
46051 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46052 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46053
46054 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46055 * bits/sigaction.h [__USE_MISC]: Likewise.
46056 * bits/waitstatus.h: Update #endif comments.
46057 * ctype/ctype.h: Likewise.
46058 * dirent/dirent.h: Likewise.
46059 [__USE_MISC]: Remove redundant conditionals.
46060 * grp/grp.h: Update #endif comments.
46061 [__USE_GNU]: Remove redundant conditionals.
46062 [__USE_MISC]: Likewise.
46063 * inet/netinet/in.h [__USE_GNU]: Likewise.
46064 * io/sys/stat.h [__USE_MISC]: Likewise.
46065 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46066 * libio/bits/stdio.h: Update #endif comments.
46067 [__USE_MISC]: Remove redundant conditionals.
46068 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46069 * libio/stdio.h: Update #endif comments.
46070 [__USE_MISC]: Remove redundant conditionals.
46071 * math/bits/math-finite.h [__USE_MISC]: Likewise.
46072 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46073 * math/math.h: Update #else and #endif comments.
46074 [__USE_MISC]: Remove redundant conditionals.
46075 * misc/sys/uio.h: Update #endif comments.
46076 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46077 * posix/glob.h [__USE_MISC]: Likewise.
46078 * posix/sys/types.h: Update #endif comments.
46079 [__USE_MISC]: Remove redundant conditionals.
46080 * posix/sys/wait.h: Update #endif comments.
46081 [__USE_MISC]: Remove redundant conditionals.
46082 * posix/unistd.h: Update #endif comments.
46083 [__USE_MISC]: Remove redundant conditionals.
46084 * pwd/pwd.h [__USE_GNU]: Likewise.
46085 [__USE_MISC]: Likewise.
46086 * resolv/netdb.h [__USE_GNU]: Likewise.
46087 * signal/signal.h: Update #endif comments.
46088 [__USE_MISC]: Remove redundant conditionals.
46089 * stdlib/stdlib.h: Update #else and #endif comments.
46090 [__USE_MISC]: Remove redundant conditionals.
46091 [__USE_GNU]: Likewise.
46092 * string/bits/string2.h [__USE_MISC]: Likewise.
46093 * string/string.h: Update #endif comments.
46094 [__USE_MISC]: Remove redundant conditionals.
46095 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46096 Likewise.
46097 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46098 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46099 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46100 Likewise.
46101 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46102 Likewise.
46103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46104 comments.
46105 [__USE_MISC]: Remove redundant conditionals.
46106 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46107 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46108 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46109 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46110 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46111 Likewise.
46112 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46113 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46114 Likewise.
46115 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46116 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46117 Likewise.
46118 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46119 Likewise.
46120 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46121 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46122 Likewise.
46123 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46124 Likewise.
46125 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46126 * sysdeps/x86/bits/string.h: Update #endif comments.
46127 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46128 conditionals.
46129 * time/sys/time.h: Update #endif comments.
46130 * time/time.h: Likewise.
46131 [__USE_MISC]: Remove redundant conditionals.
46132
46133 2014-02-21 Yury Gribov <y.gribov@samsung.com>
46134
46135 [BZ #16600]
46136 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46137
46138 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
46139
46140 * Versions.def (librt): Add GLIBC_2.17.
46141
46142 2014-02-21 Adam Conrad <adconrad@0c3.net>
46143
46144 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46145 synonym for _SYS_AUXV_H to allow direct inclusion.
46146 * sysdeps/sparc/bits/hwcap.h: Likewise.
46147 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46148 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46149 * sysdeps/sparc/sysdep.h: Likewise.
46150
46151 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46152
46153 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46154
46155 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46156
46157 * benchtests/bench-strrchr.c: Print length instead of position.
46158
46159 2014-02-20 Joseph Myers <joseph@codesourcery.com>
46160
46161 [BZ #16611]
46162 * sysdeps/unix/sysv/linux/kernel-features.h
46163 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46164 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46165 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46166 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46167 Likewise.
46168 [__i386__ || __powerpc__ || __sh__ || __sparc__]
46169 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46170 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46171 (__ASSUME_SENDMMSG): Define instead of using previous
46172 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46173 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46174 (__ASSUME_SENDMMSG_SYSCALL): Define.
46175 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46176 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46177 Likewise.
46178 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46179 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46180 Likewise.
46181 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46182 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46183 Likewise.
46184 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46185 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46186 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46187 [__ASSUME_SENDMMSG]: Change conditionals to
46188 [__ASSUME_SENDMMSG_SOCKETCALL].
46189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46190 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46191 Define.
46192 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46193 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46194 Likewise.
46195 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46196 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46197 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46198 [!__ASSUME_SENDMMSG]: Change conditional to
46199 [!__ASSUME_SENDMMSG_SOCKETCALL].
46200 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46201 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46202 Define.
46203
46204 [BZ #16610]
46205 * sysdeps/unix/sysv/linux/kernel-features.h
46206 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46207 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46208 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46209 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46210 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46211 [__i386__ || __sparc__]
46212 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46213 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46214 (__ASSUME_RECVMMSG): Define instead of using previous
46215 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46216 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46217 (__ASSUME_RECVMMSG_SYSCALL): Define.
46218 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46219 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46220 Likewise.
46221 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46222 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46223 Likewise.
46224 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46226 Likewise.
46227 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46228 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46229 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46230 [__ASSUME_RECVMMSG]: Change condition to
46231 [__ASSUME_RECVMMSG_SOCKETCALL].
46232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46233 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46234 Define.
46235 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46236 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46237 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46238 Likewise.
46239 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46240 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46241 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46242 [!__ASSUME_RECVMMSG]: Change condition to
46243 [!__ASSUME_RECVMMSG_SOCKETCALL].
46244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46245 (__ASSUME_RECVMMSG_SYSCALL): Define.
46246
46247 [BZ #16609]
46248 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46249 __powerpc__ || __s390__ || __sh__ || __sparc__]
46250 (__ASSUME_SOCKETCALL): Define.
46251 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46252 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46253 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46254 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46255 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46256 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46257 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46258 (__ASSUME_ACCEPT4): Define instead of using previous
46259 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46260 __powerpc__ || __sparc__ || __s390__)] condition.
46261 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46262 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46263 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46264 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46265 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46266 [!__ASSUME_ACCEPT4]: Change condition to
46267 [!__ASSUME_ACCEPT4_SOCKETCALL].
46268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46269 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46270 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46272 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46273 __ASSUME_ACCEPT4_SYSCALL.
46274 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46275 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46276 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46277 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46278 __ASSUME_ACCEPT4_SYSCALL.
46279 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46280 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46281 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46282 [__ASSUME_ACCEPT4]: Change condition to
46283 [__ASSUME_ACCEPT4_SOCKETCALL].
46284 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46285 (__ASSUME_SOCKETCALL): Define.
46286 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46288 (__ASSUME_SOCKETCALL): Define.
46289 (__ASSUME_ACCEPT4): Remove.
46290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46291 Define.
46292 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46293 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46294 Likewise.
46295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46296 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46297
46298 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46299 macro.
46300 (HWCAP_ARM_LPAE): Likewise.
46301 (HWCAP_ARM_EVTSTRM): Likewise.
46302 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46303 Add vpfd32, lpae and evtstrm.
46304 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46305 Increase to 22.
46306
46307 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46308
46309 * math/auto-libm-test-in: Add tests of clog10.
46310 * math/auto-libm-test-out: Regenerated.
46311 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46312 * sysdeps/i386/fpu/libm-test-ulps: Update.
46313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46314
46315 2014-02-18 Andreas Schwab <schwab@suse.de>
46316
46317 [BZ #16574]
46318 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46319 Store non-zero if the second buffer was newly allocated.
46320 (send_dg): Likewise.
46321 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46322 to send_vc and send_dg.
46323 (res_nsend): Pass NULL for ansp2_malloced.
46324 * resolv/res_query.c (__libc_res_nquery): Add parameter
46325 answerp2_malloced and pass it down to __libc_res_nsend.
46326 (res_nquery): Pass additional NULL to __libc_res_nquery.
46327 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46328 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46329 second answer buffer if answerp2_malloced was set.
46330 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46331 (__libc_res_nquerydomain): Add parameter
46332 answerp2_malloced and pass it down to __libc_res_nquery.
46333 (res_nquerydomain): Pass additional NULL to
46334 __libc_res_nquerydomain.
46335 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46336 additional NULL to __libc_res_nsend and __libc_res_nquery.
46337 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46338 additional NULL to __libc_res_nsearch.
46339 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46340 parameter of __libc_res_nsearch to check for separately allocated
46341 second buffer.
46342 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46343 __libc_res_nquery.
46344 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46345 additional NULL to __libc_res_nquery.
46346 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46347 __libc_res_nsearch.
46348 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46349 * include/resolv.h: Update prototypes of __libc_res_nquery,
46350 __libc_res_nsearch, __libc_res_nsend.
46351
46352 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46353
46354 * math/auto-libm-test-in: Add tests of fma.
46355 * math/auto-libm-test-out: Regenerated.
46356 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46357 (fma_towardzero_test_data): Likewise.
46358 (fma_downward_test_data): Likewise.
46359 (fma_upward_test_data): Likewise.
46360 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46361 mpc_mode.
46362 (rounding_modes): Add values for new field.
46363 (func_calc_method): Add value mpfr_fff_f.
46364 (func_calc_desc): Add mpfr_fff_f union field.
46365 (test_function): Add field exact_args.
46366 (FUNC): Add macro argument EXACT_ARGS.
46367 (FUNC_mpfr_f_f): Update call to FUNC.
46368 (FUNC_mpfr_f_f): Likewise.
46369 (FUNC_mpfr_ff_f): Likewise.
46370 (FUNC_mpfr_if_f): Likewise.
46371 (FUNC_mpc_c_f): Likewise.
46372 (FUNC_mpc_c_c): Likewise.
46373 (test_functions): Add fma. Update calls to FUNC.
46374 (handle_input_arg): Add argument exact_args.
46375 (add_test): Update call to handle_input_arg.
46376 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46377 (output_for_one_input_case): Update call to calc_generic_results.
46378 Recalculate exact zero results in each rounding mode.
46379
46380 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46381 non-negative before setting low bit.
46382 * math/auto-libm-test-in: Mark one asin test possibly having
46383 spurious underflow.
46384 * math/auto-libm-test-out: Regenerated.
46385 * sysdeps/i386/fpu/libm-test-ulps: Update.
46386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46387
46388 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46389
46390 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46391 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46392 ports/sysdeps/unix/sysv/linux/microblaze.
46393 * README: Add missing listing for microblaze*-*-linux-gnu.
46394
46395 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46396
46397 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46398 duplicate code
46399
46400 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46401
46402 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46403 * sysdeps/unix/sysv/linux/ia64: Move directory from
46404 ports/sysdeps/unix/sysv/linux/ia64.
46405 * README: Update listing for ia64-*-linux-gnu.
46406
46407 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46408 Joseph Myers <joseph@codesourcery.com>
46409
46410 * Makeconfig (test-name): New variable.
46411 (evaluate-test): Likewise.
46412 * Makerules (do-test-clean): Remove .test-result files.
46413 (common-mostlyclean): Likewise.
46414 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46415 * scripts/evaluate-test.sh: New file.
46416
46417 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46418
46419 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46420 separate $(objpfx)tst-fopenloc-cmp.out and
46421 $(objpfx)tst-fopenloc-mem.out targets.
46422 (tests): Update dependencies.
46423 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46424 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46425 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46426 (tst-rxspencer-no-utf8-ARGS): New variable.
46427 (tst-rxspencer-no-utf8-ENV): Likewise.
46428 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46429 instead of $(objpfx)tst-rxspencer-mem.
46430 ($(objpfx)tst-rxspencer-mem): Change target to
46431 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46432 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46433 * posix/tst-rxspencer-no-utf8.c: New file.
46434
46435 * elf/Makefile ($(objpfx)order.out): Remove rule.
46436 [$(run-built-tests) = yes] (tests): Depend on
46437 $(objpfx)order-cmp.out.
46438 ($(objpfx)order-cmp.out): New rule.
46439 [$(run-built-tests) = yes] (tests): Depend on
46440 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46441 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46442 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46443 $(objpfx)tst-array5-static-cmp.out.
46444 ($(objpfx)tst-array1.out): Remove rule.
46445 ($(objpfx)tst-array1-cmp.out): New rule.
46446 ($(objpfx)tst-array1-static.out): Remove rule.
46447 ($(objpfx)tst-array1-static-cmp.out): New rule.
46448 ($(objpfx)tst-array2.out): Remove rule.
46449 ($(objpfx)tst-array2-cmp.out): New rule.
46450 ($(objpfx)tst-array3.out): Remove rule.
46451 ($(objpfx)tst-array3-cmp.out): New rule.
46452 ($(objpfx)tst-array4.out): Remove rule.
46453 ($(objpfx)tst-array4-cmp.out): New rule.
46454 ($(objpfx)tst-array5.out): Remove rule.
46455 ($(objpfx)tst-array5-cmp.out): New rule.
46456 ($(objpfx)tst-array5-static.out): Remove rule.
46457 ($(objpfx)tst-array5-static-cmp.out): New rule.
46458 [$(run-built-tests) = yes] (tests): Depend on
46459 $(objpfx)order2-cmp.out.
46460 ($(objpfx)order2.out): Remove rule.
46461 ($(objpfx)order2-cmp.out): New rule.
46462 ($(objpfx)tst-initorder.out): Remove rule.
46463 [$(run-built-tests) = yes] (tests): Depend on
46464 $(objpfx)tst-initorder-cmp.out.
46465 ($(objpfx)tst-initorder-cmp.out): New rule.
46466 ($(objpfx)tst-initorder2.out): Remove rule.
46467 [$(run-built-tests) = yes] (tests): Depend on
46468 $(objpfx)tst-initorder2-cmp.out.
46469 ($(objpfx)tst-initorder2-cmp.out): New rule.
46470 [$(run-built-tests) = yes] (tests): Depend on
46471 $(objpfx)tst-unused-dep-cmp.out.
46472 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46473 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46474 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46475 on $(objpfx)tst-setvbuf1-cmp.out.
46476 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46477 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46478 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46479 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46480 ($(objpfx)tst-svc.out): Remove rule.
46481 ($(objpfx)tst-svc-cmp.out): New rule.
46482
46483 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46484
46485 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46486 * ctype/ctype.h [__USE_MISC]: Likewise.
46487 * dirent/dirent.h [__USE_MISC]: Likewise.
46488 * grp/grp.h [__USE_MISC]: Likewise.
46489 * io/fcntl.h [__USE_MISC]: Likewise.
46490 * io/sys/stat.h [__USE_MISC]: Likewise.
46491 * libio/stdio.h [__USE_MISC]: Likewise.
46492 * posix/unistd.h [__USE_MISC]: Likewise.
46493 * pwd/pwd.h [__USE_MISC]: Likewise.
46494 * stdlib.h [__USE_MISC]: Likewise.
46495 * string/bits/string2.h [__USE_MISC]: Likewise.
46496 * string/string.h [__USE_MISC]: Likewise.
46497 * time/time.h [__USE_MISC]: Likewise.
46498
46499 2014-02-13 Andreas Schwab <schwab@suse.de>
46500
46501 [BZ #16574]
46502 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46503 second answer buffer if it was separately allocated.
46504
46505 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46506
46507 * sysdeps/mips/math-tests.h: Include <features.h>.
46508 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46509 (ROUNDING_TESTS_long_double): Do not define.
46510 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46511 (EXCEPTION_TESTS_long_double): Likewise.
46512 * sysdeps/mips/mips64/libm-test-ulps: Update.
46513
46514 * include/features.h (__USE_BSD): Remove macro definitions.
46515 (__USE_SVID): Likewise.
46516 (_BSD_SOURCE): Likewise.
46517 (_SVID_SOURCE): Likewise.
46518 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46519 from definition of _DEFAULT_SOURCE.
46520 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46521 [_DEFAULT_SOURCE].
46522 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46523 * bits/mman.h [__USE_BSD]: Likewise.
46524 * bits/termios.h [__USE_BSD]: Likewise.
46525 * bits/waitstatus.h [__USE_BSD]: Likewise.
46526 * ctype/ctype.h [__USE_SVID]: Likewise.
46527 * dirent/dirent.h [__USE_BSD]: Likewise.
46528 * grp/grp.h [__USE_SVID]: Likewise.
46529 [__USE_BSD]: Likewise.
46530 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46531 * io/fcntl.h [__USE_BSD]: Likewise.
46532 * io/ftw.h [__USE_BSD]: Likewise.
46533 * io/sys/stat.h [__USE_BSD]: Likewise.
46534 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46535 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46536 * libio/stdio.h [__USE_SVID]: Likewise.
46537 [__USE_BSD]: Likewise.
46538 * math/math.h [__USE_SVID]: Likewise.
46539 [__USE_BSD]: Likewise.
46540 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46541 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46542 * misc/search.h [__USE_SVID]: Likewise.
46543 * misc/sys/mman.h [__USE_BSD]: Likewise.
46544 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46545 * misc/sys/uio.h [__USE_BSD]: Likewise.
46546 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46547 * posix/glob.h [__USE_BSD]: Likewise.
46548 * posix/regex.h [__USE_BSD]: Likewise.
46549 * posix/sys/types.h [__USE_BSD]: Likewise.
46550 [__USE_SVID]: Likewise.
46551 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46552 * posix/sys/wait.h [__USE_BSD]: Likewise.
46553 [__USE_SVID]: Likewise.
46554 * posix/unistd.h [__USE_BSD]: Likewise.
46555 [__USE_SVID]: Likewise.
46556 * pwd/pwd.h [__USE_SVID]: Likewise.
46557 * resolv/netdb.h [__USE_BSD]: Likewise.
46558 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46559 * signal/signal.h [__USE_BSD]: Likewise.
46560 [__USE_SVID]: Likewise.
46561 * socket/sys/socket.h [__USE_BSD]: Likewise.
46562 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46563 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46564 [__USE_SVID]: Likewise.
46565 * string/bits/string2.h [__USE_BSD]: Likewise.
46566 [__USE_SVID]: Likewise.
46567 * string/bits/string3.h [__USE_BSD]: Likewise.
46568 * string/endian.h [__USE_BSD]: Likewise.
46569 * string/string.h [__USE_SVID]: Likewise.
46570 [__USE_BSD]: Likewise.
46571 * string/strings.h [__USE_BSD]: Likewise.
46572 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46573 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46574 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46575 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46576 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46577 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46578 Likewise.
46579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46580 Likewise.
46581 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46582 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46583 Likewise.
46584 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46585 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46586 Likewise.
46587 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46588 Likewise.
46589 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46590 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46591 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46592 Likewise.
46593 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46594 Likewise.
46595 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46596 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46597 * termios/termios.h [__USE_BSD]: Likewise.
46598 * time/sys/time.h [__USE_BSD]: Likewise.
46599 * time/time.h [__USE_BSD]: Likewise.
46600 [__USE_SVID]: Likewise.
46601
46602 * Makefile (subdir_targets): Remove subdir_lint.out.
46603
46604 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46605 (do-tst-printf): Likewise.
46606 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46607 $(objpfx)tst-printf.out.
46608
46609 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46610
46611 * Makerules (check-abi-%): Change target to
46612 $(objpfx)check-abi-%.out.
46613 (check-abi target): Update dependencies.
46614 (check-abi-pattern variable): Redirect output of diff to $@.
46615 (check-abi variable): Likewise.
46616 * elf/Makefile (check-abi): Update dependencies.
46617
46618 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46619 unused.
46620 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46621 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46622 subnormal range.
46623 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46624 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46625 value has largest subnormal exponent.
46626 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46627 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46628 * sysdeps/aarch64/soft-fp/sfp-machine.h
46629 (_FP_TININESS_AFTER_ROUNDING): New macro.
46630 * sysdeps/alpha/soft-fp/sfp-machine.h
46631 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46632 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46633 Likewise.
46634 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46635 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46636 * sysdeps/mips/soft-fp/sfp-machine.h
46637 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46638 * sysdeps/powerpc/soft-fp/sfp-machine.h
46639 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46640 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46641 Likewise.
46642 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46643 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46644 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46645 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46646 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46647 Likewise.
46648
46649 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46650
46651 [BZ #16545]
46652 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46653 model 1.
46654
46655 2014-02-12 Richard Henderson <rth@redhat.com>
46656
46657 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46658 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46659 * sysdeps/unix/sysv/linux/alpha: Move directory from
46660 ports/sysdeps/unix/sysv/linux/alpha.
46661 * README: Update listing for alpha-*-linux-gnu.
46662
46663 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46664
46665 * include/features.h: Update comment documenting feature test
46666 macros.
46667 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46668 _DEFAULT_SOURCE.
46669 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46670 (_SVID_SOURCE): Likewise.
46671 (_DEFAULT_SOURCE): Update description of default features.
46672 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46673 with _GNU_SOURCE.
46674 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46675 (S_ISVTX): Likewise.
46676 * manual/math.texi (Mathematical Constants): Likewise.
46677 * manual/signal.texi (Interrupted Primitives): Likewise.
46678 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46679 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46680 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46681 Don't refer to _SVID_SOURCE in warning text.
46682
46683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46684
46685 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46686 already defined.
46687 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46688 * sysdeps/mips/dl-lookup.c: Remove.
46689 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46690
46691 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46692
46693 [BZ #16447]
46694 * math/auto-libm-test-in: Add testcase for expl.
46695 * math/auto-libm-test-out: Regenerate.
46696 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46697 calculation of unsafe.
46698 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46699
46700 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46701
46702 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46703 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46704 ports/sysdeps/unix/sysv/linux/aarch64.
46705 * README: Update listing for aarch64*-*-linux-gnu.
46706
46707 2014-02-11 Will Newton <will.newton@linaro.org>
46708
46709 * manual/probes.texi (Mathematical Function Probes): Use
46710 "triggered" instead of "hit".
46711
46712 * manual/probes.texi (Internal Probes): Add documentation
46713 of setjmp, longjmp and longjmp_target probes.
46714
46715 * include/stap-probe.h: Add comment about probe argument
46716 format.
46717
46718 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46719 definition. (tr_where, tr_freehook, tr_mallochook,
46720 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46721
46722 2014-02-11 David S. Miller <davem@davemloft.net>
46723
46724 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46725 processing int_tests.
46726
46727 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46728
46729 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46730 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46731 * sysdeps/unix/sysv/linux/mips: Move directory from
46732 ports/sysdeps/unix/sysv/linux/mips.
46733 * README: Update listing for mips-*-linux-gnu and
46734 mips64-*-linux-gnu.
46735
46736 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46737
46738 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46739 * sysdeps/unix/sysv/linux/m68k: Move directory from
46740 ports/sysdeps/unix/sysv/linux/m68k.
46741 * README: Update listing for m68k-*-linux-gnu.
46742
46743 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46744
46745 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46746 * sysdeps/unix/sysv/linux/generic: Move directory from
46747 ports/sysdeps/unix/sysv/linux/generic.
46748 * sysdeps/unix/sysv/linux/tile: Move directory from
46749 ports/sysdeps/unix/sysv/linux/tile.
46750 * README: Update listing for tile*-*-linux-gnu.
46751
46752 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46753
46754 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46755 __builtin_expect.
46756 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46757 * catgets/open_catalog.c (__open_catalog): Likewise.
46758 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46759 * debug/confstr_chk.c: Likewise.
46760 * debug/fread_chk.c (__fread_chk): Likewise.
46761 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46762 * debug/getgroups_chk.c: Likewise.
46763 * debug/mbsnrtowcs_chk.c: Likewise.
46764 * debug/mbsrtowcs_chk.c: Likewise.
46765 * debug/mbstowcs_chk.c: Likewise.
46766 * debug/memcpy_chk.c: Likewise.
46767 * debug/memmove_chk.c: Likewise.
46768 * debug/mempcpy_chk.c: Likewise.
46769 * debug/memset_chk.c: Likewise.
46770 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46771 * debug/strcat_chk.c (__strcat_chk): Likewise.
46772 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46773 * debug/strncat_chk.c (__strncat_chk): Likewise.
46774 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46775 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46776 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46777 * debug/wcpncpy_chk.c: Likewise.
46778 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46779 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46780 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46781 * debug/wcsncpy_chk.c: Likewise.
46782 * debug/wcsnrtombs_chk.c: Likewise.
46783 * debug/wcsrtombs_chk.c: Likewise.
46784 * debug/wcstombs_chk.c: Likewise.
46785 * debug/wmemcpy_chk.c: Likewise.
46786 * debug/wmemmove_chk.c: Likewise.
46787 * debug/wmempcpy_chk.c: Likewise.
46788 * debug/wmemset_chk.c: Likewise.
46789 * dirent/scandirat.c (SCANDIRAT): Likewise.
46790 * dlfcn/dladdr1.c (dladdr1): Likewise.
46791 * dlfcn/dladdr.c (dladdr): Likewise.
46792 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46793 * dlfcn/dlerror.c (__dlerror): Likewise.
46794 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46795 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46796 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46797 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46798 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46799 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46800 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46801 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46802 Likewise.
46803 * elf/dl-conflict.c: Likewise.
46804 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46805 * elf/dl-dst.h: Likewise.
46806 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46807 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46808 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46809 * elf/dl-init.c (call_init, _dl_init): Likewise.
46810 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46811 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46812 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46813 Likewise.
46814 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46815 Likewise.
46816 * elf/dl-minimal.c (__libc_memalign): Likewise.
46817 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46818 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46819 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46820 * elf/dl-sym.c (do_sym): Likewise.
46821 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46822 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46823 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46824 * elf/dl-writev.h (_dl_writev): Likewise.
46825 * elf/ldconfig.c (search_dir): Likewise.
46826 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46827 (dl_main): Likewise.
46828 * elf/setup-vdso.h (setup_vdso): Likewise.
46829 * grp/compat-initgroups.c (compat_call): Likewise.
46830 * grp/fgetgrent.c (fgetgrent): Likewise.
46831 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46832 * grp/putgrent.c (putgrent): Likewise.
46833 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46834 Likewise.
46835 * hurd/hurdinit.c: Likewise.
46836 * iconvdata/8bit-gap.c (struct): Likewise.
46837 * iconvdata/ansi_x3.110.c : Likewise.
46838 * iconvdata/big5.c : Likewise.
46839 * iconvdata/big5hkscs.c : Likewise.
46840 * iconvdata/cp1255.c: Likewise.
46841 * iconvdata/cp1258.c : Likewise.
46842 * iconvdata/cp932.c : Likewise.
46843 * iconvdata/euc-cn.c: Likewise.
46844 * iconvdata/euc-jisx0213.c : Likewise.
46845 * iconvdata/euc-jp.c: Likewise.
46846 * iconvdata/euc-jp-ms.c : Likewise.
46847 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46848 * iconvdata/gb18030.c : Likewise.
46849 * iconvdata/gbbig5.c (const): Likewise.
46850 * iconvdata/gbgbk.c: Likewise.
46851 * iconvdata/gbk.c : Likewise.
46852 * iconvdata/ibm1364.c : Likewise.
46853 * iconvdata/ibm930.c : Likewise.
46854 * iconvdata/ibm932.c: Likewise.
46855 * iconvdata/ibm933.c : Likewise.
46856 * iconvdata/ibm935.c : Likewise.
46857 * iconvdata/ibm937.c : Likewise.
46858 * iconvdata/ibm939.c : Likewise.
46859 * iconvdata/ibm943.c: Likewise.
46860 * iconvdata/iso_11548-1.c: Likewise.
46861 * iconvdata/iso-2022-cn.c : Likewise.
46862 * iconvdata/iso-2022-cn-ext.c : Likewise.
46863 * iconvdata/iso-2022-jp-3.c: Likewise.
46864 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46865 * iconvdata/iso-2022-kr.c : Likewise.
46866 * iconvdata/iso646.c (gconv_end): Likewise.
46867 * iconvdata/iso_6937-2.c : Likewise.
46868 * iconvdata/iso_6937.c : Likewise.
46869 * iconvdata/iso8859-1.c: Likewise.
46870 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46871 * iconvdata/shift_jisx0213.c : Likewise.
46872 * iconvdata/sjis.c : Likewise.
46873 * iconvdata/t.61.c : Likewise.
46874 * iconvdata/tcvn5712-1.c : Likewise.
46875 * iconvdata/tscii.c: Likewise.
46876 * iconvdata/uhc.c : Likewise.
46877 * iconvdata/unicode.c (gconv_end): Likewise.
46878 * iconvdata/utf-16.c (gconv_end): Likewise.
46879 * iconvdata/utf-32.c (gconv_end): Likewise.
46880 * iconvdata/utf-7.c (base64): Likewise.
46881 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46882 * iconv/gconv_close.c (__gconv_close): Likewise.
46883 * iconv/gconv_open.c (__gconv_open): Likewise.
46884 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46885 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46886 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46887 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46888 (ucs4le_internal_loop_single): Likewise.
46889 * iconv/iconv.c (iconv): Likewise.
46890 * iconv/iconv_close.c: Likewise.
46891 * iconv/loop.c (SINGLE): Likewise.
46892 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46893 * include/atomic.h: Likewise.
46894 * inet/inet6_option.c (option_alloc): Likewise.
46895 * intl/bindtextdom.c (set_binding_values): Likewise.
46896 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46897 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46898 * intl/localealias.c (read_alias_file): Likewise.
46899 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46900 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46901 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46902 * libio/fmemopen.c (fmemopen): Likewise.
46903 * libio/iofgets.c (_IO_fgets): Likewise.
46904 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46905 * libio/iofgetws.c (fgetws): Likewise.
46906 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46907 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46908 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46909 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46910 * locale/findlocale.c (_nl_find_locale): Likewise.
46911 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46912 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46913 Likewise.
46914 * locale/setlocale.c (setlocale): Likewise.
46915 * login/programs/pt_chown.c (main): Likewise.
46916 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46917 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46918 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46919 (mmap, mmap64, mremap, munmap): Likewise.
46920 * math/e_exp2l.c: Likewise.
46921 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46922 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46923 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46924 * math/s_catan.c (__catan): Likewise.
46925 * math/s_catanf.c (__catanf): Likewise.
46926 * math/s_catanh.c (__catanh): Likewise.
46927 * math/s_catanhf.c (__catanhf): Likewise.
46928 * math/s_catanhl.c (__catanhl): Likewise.
46929 * math/s_catanl.c (__catanl): Likewise.
46930 * math/s_ccosh.c (__ccosh): Likewise.
46931 * math/s_ccoshf.c (__ccoshf): Likewise.
46932 * math/s_ccoshl.c (__ccoshl): Likewise.
46933 * math/s_cexp.c (__cexp): Likewise.
46934 * math/s_cexpf.c (__cexpf): Likewise.
46935 * math/s_cexpl.c (__cexpl): Likewise.
46936 * math/s_clog10.c (__clog10): Likewise.
46937 * math/s_clog10f.c (__clog10f): Likewise.
46938 * math/s_clog10l.c (__clog10l): Likewise.
46939 * math/s_clog.c (__clog): Likewise.
46940 * math/s_clogf.c (__clogf): Likewise.
46941 * math/s_clogl.c (__clogl): Likewise.
46942 * math/s_csin.c (__csin): Likewise.
46943 * math/s_csinf.c (__csinf): Likewise.
46944 * math/s_csinh.c (__csinh): Likewise.
46945 * math/s_csinhf.c (__csinhf): Likewise.
46946 * math/s_csinhl.c (__csinhl): Likewise.
46947 * math/s_csinl.c (__csinl): Likewise.
46948 * math/s_csqrt.c (__csqrt): Likewise.
46949 * math/s_csqrtf.c (__csqrtf): Likewise.
46950 * math/s_csqrtl.c (__csqrtl): Likewise.
46951 * math/s_ctan.c (__ctan): Likewise.
46952 * math/s_ctanf.c (__ctanf): Likewise.
46953 * math/s_ctanh.c (__ctanh): Likewise.
46954 * math/s_ctanhf.c (__ctanhf): Likewise.
46955 * math/s_ctanhl.c (__ctanhl): Likewise.
46956 * math/s_ctanl.c (__ctanl): Likewise.
46957 * math/w_pow.c: Likewise.
46958 * math/w_powf.c: Likewise.
46959 * math/w_powl.c: Likewise.
46960 * math/w_scalb.c (sysv_scalb): Likewise.
46961 * math/w_scalbf.c (sysv_scalbf): Likewise.
46962 * math/w_scalbl.c (sysv_scalbl): Likewise.
46963 * misc/error.c (error_tail): Likewise.
46964 * misc/pselect.c (__pselect): Likewise.
46965 * nis/nis_callback.c (__nis_create_callback): Likewise.
46966 * nis/nis_call.c (__nisfind_server): Likewise.
46967 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46968 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46969 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46970 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46971 * nis/nis_lookup.c (nis_lookup): Likewise.
46972 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46973 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46974 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46975 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46976 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46977 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46978 * nis/nss_compat/compat-initgroups.c (add_group)
46979 (internal_getgrent_r): Likewise.
46980 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46981 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46982 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46983 (internal_getspnam_r): Likewise.
46984 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46985 (_nss_nis_getaliasbyname_r): Likewise.
46986 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46987 (_nss_nis_getntohost_r): Likewise.
46988 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46989 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46990 (_nss_nis_getgrgid_r): Likewise.
46991 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46992 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46993 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46994 (_nss_nis_gethostbyname4_r): Likewise.
46995 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46996 (initgroups_netid): Likewise.
46997 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46998 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46999 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47000 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47001 (_nss_nis_getprotobynumber_r): Likewise.
47002 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47003 (_nss_nis_getsecretkey): Likewise.
47004 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47005 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47006 (_nss_nis_getpwuid_r): Likewise.
47007 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47008 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47009 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47010 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47011 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47012 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47013 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47014 Likewise.
47015 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47016 (_nss_nisplus_getntohost_r): Likewise.
47017 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47018 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47019 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47020 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47021 Likewise.
47022 * nis/nss_nisplus/nisplus-initgroups.c
47023 (_nss_nisplus_initgroups_dyn): Likewise.
47024 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47025 (_nss_nisplus_getnetbyaddr_r): Likewise.
47026 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47027 (_nss_nisplus_getprotobynumber_r): Likewise.
47028 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47029 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47030 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47031 Likewise.
47032 * nis/nss_nisplus/nisplus-service.c
47033 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47034 (_nss_nisplus_getservbyport_r): Likewise.
47035 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47036 (_nss_nisplus_getspnam_r): Likewise.
47037 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47038 Likewise.
47039 * nscd/aicache.c (addhstaiX): Likewise.
47040 * nscd/cache.c (cache_search, prune_cache): Likewise.
47041 * nscd/connections.c (register_traced_file, send_ro_fd)
47042 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47043 (main_loop_epoll): Likewise.
47044 * nscd/grpcache.c (addgrbyX): Likewise.
47045 * nscd/hstcache.c (addhstbyX): Likewise.
47046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47047 * nscd/mem.c (gc, mempool_alloc): Likewise.
47048 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47049 (addinnetgrX): Likewise.
47050 * nscd/nscd-client.h (__nscd_acquire_maplock)
47051 (__nscd_drop_map_ref): Likewise.
47052 * nscd/nscd_getai.c (__nscd_getai): Likewise.
47053 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47054 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47055 Likewise.
47056 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47058 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47059 (__nscd_get_map_ref): Likewise.
47060 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47061 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47062 Likewise.
47063 * nscd/pwdcache.c (addpwbyX): Likewise.
47064 * nscd/selinux.c (preserve_capabilities): Likewise.
47065 * nscd/servicescache.c (addservbyX): Likewise.
47066 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47067 * posix/fnmatch.c (fnmatch): Likewise.
47068 * posix/getopt.c (_getopt_internal_r): Likewise.
47069 * posix/glob.c (glob, glob_in_dir): Likewise.
47070 * posix/wordexp.c (exec_comm_child): Likewise.
47071 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47072 (getanswer_r, gaih_getanswer_slice): Likewise.
47073 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47074 * resolv/res_init.c: Likewise.
47075 * resolv/res_mkquery.c (res_nmkquery): Likewise.
47076 * resolv/res_query.c (__libc_res_nquery): Likewise.
47077 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47078 Likewise.
47079 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47080 * stdio-common/perror.c (perror): Likewise.
47081 * stdio-common/printf_fp.c (___printf_fp): Likewise.
47082 * stdio-common/tmpnam.c (tmpnam): Likewise.
47083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47084 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47085 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47086 Likewise.
47087 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47088 * stdlib/putenv.c (putenv): Likewise.
47089 * stdlib/setenv.c (__add_to_environ): Likewise.
47090 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47091 * stdlib/strtol_l.c (INTERNAL): Likewise.
47092 * string/memmem.c (memmem): Likewise.
47093 * string/strerror.c (strerror): Likewise.
47094 * string/strnlen.c (__strnlen): Likewise.
47095 * string/test-memmem.c (simple_memmem): Likewise.
47096 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47097 * sunrpc/pm_getport.c (__get_socket): Likewise.
47098 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47099 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47100 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47101 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47102 Likewise.
47103 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47104 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47105 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47106 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47107 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47108 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47109 Likewise.
47110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47111 Likewise.
47112 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47113 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47115 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47116 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47119 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47120 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47121 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47122 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47123 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47124 Likewise.
47125 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47126 Likewise.
47127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47128 Likewise.
47129 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47133 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47134 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47135 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47138 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47139 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47141 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47142 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47145 Likewise.
47146 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47147 Likewise.
47148 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47149 Likewise.
47150 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47151 Likewise.
47152 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47154 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47155 Likewise.
47156 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47157 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47158 * sysdeps/posix/opendir.c (__opendirat): Likewise.
47159 * sysdeps/posix/sleep.c: Likewise.
47160 * sysdeps/posix/tempname.c: Likewise.
47161 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47162 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47163 Likewise.
47164 * sysdeps/powerpc/powerpc32/dl-machine.h
47165 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47166 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47168 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47169 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47170 Likewise.
47171 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47172 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47173 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47174 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47175 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47176 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47177 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47178 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47179 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47182 (elf_machine_lazy_rel): Likewise.
47183 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47184 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47185 (elf_machine_lazy_rel): Likewise.
47186 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47187 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47188 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47189 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47190 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47191 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47192 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47194 Likewise.
47195 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47196 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47197 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47198 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47199 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47200 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47201 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47202 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47203 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47204 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47205 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47206 Likewise.
47207 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47208 (__posix_fallocate64_l64): Likewise.
47209 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47210 (posix_fallocate): Likewise.
47211 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47212 Likewise.
47213 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47214 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47215 (getifaddrs_internal): Likewise.
47216 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47217 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47218 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47220 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47221 (__posix_fallocate64_l64): Likewise.
47222 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47223 Likewise.
47224 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47225 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47226 (__get_clockfreq): Likewise.
47227 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47228 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47229 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47232 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47233 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47234 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47235 Likewise.
47236 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47237 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47238 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47239 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47240 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47241 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47243 Likewise.
47244 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47245 (posix_fallocate): Likewise.
47246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47247 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47248 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47249 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47250 (elf_machine_rela, elf_machine_rela_relative)
47251 (elf_machine_lazy_rel): Likewise.
47252 * time/asctime.c (asctime_internal): Likewise.
47253 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47254 * time/tzset.c (__tzset_parse_tz): Likewise.
47255 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47256 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47257 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47258 * wcsmbs/wcsmbsload.h: Likewise.
47259
47260 [BZ #15894]
47261 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47262
47263 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47264 (arena_get2): Remove THREAD_STATS conditionals.
47265 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47266 (__malloc_stats, int): Likewise.
47267
47268 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47269
47270 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47271 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47272
47273 * manual/setjmp.texi: Fix typos/grammar errors.
47274
47275 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47276 Only return early when n is <= 0. Delete unused return statement.
47277
47278 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47279 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47280 * debug/tst-longjmp_chk3.c: New file.
47281
47282 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47283 (test_main): Replace code with set_fortify_handler call.
47284 * debug/test-strcpy_chk.c: Likewise.
47285 * debug/tst-chk1.c: Likewise.
47286 * debug/tst-longjmp_chk.c: Likewise.
47287 * test-skeleton.c: Include fcntl.h & paths.h
47288 (set_fortify_handler): Define.
47289
47290 * debug/tst-longjmp_chk.c: Add header comment and include
47291 ../test-skeleton.c.
47292 (do_test): Mark static.
47293 (TEST_FUNCTION): Define.
47294
47295 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47296 (IP_PMTUDISC_INTERFACE): Likewise.
47297 (IP_MULTICAST_IF): Likewise.
47298 (IP_MULTICAST_TTL): Likewise.
47299 (IP_MULTICAST_LOOP): Likewise.
47300 (IP_ADD_MEMBERSHIP): Likewise.
47301 (IP_DROP_MEMBERSHIP): Likewise.
47302 (IP_UNBLOCK_SOURCE): Likewise.
47303 (IP_BLOCK_SOURCE): Likewise.
47304 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47305 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47306 (IP_MSFILTER): Likewise.
47307 (MCAST_JOIN_GROUP): Likewise.
47308 (MCAST_BLOCK_SOURCE): Likewise.
47309 (MCAST_UNBLOCK_SOURCE): Likewise.
47310 (MCAST_LEAVE_GROUP): Likewise.
47311 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47312 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47313 (MCAST_MSFILTER): Likewise.
47314 (IP_MULTICAST_ALL): Likewise.
47315 (IP_UNICAST_IF): Likewise.
47316
47317 * timezone/Makefile: Delete $(have-ksh) check.
47318 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47319 * timezone/tzselect.ksh: Add +x mode bits.
47320
47321 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47322 (ANON_INODE_FS_MAGIC): Likewise.
47323 (BDEVFS_MAGIC): Likewise.
47324 (BINFMTFS_MAGIC): Likewise.
47325 (BTRFS_TEST_MAGIC): Likewise.
47326 (CRAMFS_MAGIC_WEND): Likewise.
47327 (DEBUGFS_MAGIC): Likewise.
47328 (ECRYPTFS_SUPER_MAGIC): Likewise.
47329 (EXT3_SUPER_MAGIC): Likewise.
47330 (EXT4_SUPER_MAGIC): Likewise.
47331 (FUTEXFS_SUPER_MAGIC): Likewise.
47332 (HOSTFS_SUPER_MAGIC): Likewise.
47333 (HUGETLBFS_MAGIC): Likewise.
47334 (MINIX3_SUPER_MAGIC): Likewise.
47335 (MTD_INODE_FS_MAGIC): Likewise.
47336 (NILFS_SUPER_MAGIC): Likewise.
47337 (OPENPROM_SUPER_MAGIC): Likewise.
47338 (PIPEFS_MAGIC): Likewise.
47339 (PSTOREFS_MAGIC): Likewise.
47340 (QNX6_SUPER_MAGIC): Likewise.
47341 (RAMFS_MAGIC): Likewise.
47342 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47343 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47344 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47345 (SECURITYFS_MAGIC): Likewise.
47346 (SELINUX_MAGIC): Likewise.
47347 (SMACK_MAGIC): Likewise.
47348 (SOCKFS_MAGIC): Likewise.
47349 (SQUASHFS_MAGIC): Likewise.
47350 (STACK_END_MAGIC): Likewise.
47351 (TMPFS_MAGIC): Likewise.
47352 (USBDEVICE_SUPER_MAGIC): Likewise.
47353 (V9FS_MAGIC): Likewise.
47354 (XENFS_SUPER_MAGIC): Likewise.
47355 (CRAMFS_MAGIC): Fix typo in comment.
47356 (EXT2_SUPER_MAGIC): Update comment.
47357 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47358
47359 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47360
47361 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47362 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47363 * sysdeps/unix/sysv/linux/arm: Move directory from
47364 ports/sysdeps/unix/sysv/linux/arm.
47365 * README: Update listing for arm-*-linux-gnueabi.
47366
47367 * README: Remove mention of am33.
47368
47369 2014-02-07 Roland McGrath <roland@hack.frob.com>
47370
47371 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47372 than the comma operator, to avoid "rhs of comma has no effect"
47373 compiler warnings.
47374 (__sigfillset, __sigandset, __sigorset): Likewise.
47375 * include/signal.h (__sigemptyset): Likewise.
47376 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47377
47378 2014-02-07 Allan McRae <allan@archlinux.org>
47379
47380 * version.h (RELEASE): Set to "development".
47381 (VERSION): Set to "2.19.90"
47382 * NEWS: Add 2.20 section.
47383
47384 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47385
47386 [BZ #16529]
47387 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47388
47389 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47390
47391 * manual/contrib.texi: Update entry for Carlos O'Donell,
47392 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47393
47394 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47395
47396 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47397
47398 * sysdeps/unix/sysv/linux/kernel-features.h
47399 [__LINUX_KERNEL_VERSION >= 0x020621]
47400 (__ASSUME_PROC_PID_TASK_COMM): Define.
47401
47402 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47403
47404 [BZ #16398]
47405 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47406 conversion when destination buffer does not have enough space.
47407 * libio/tst-ftell-partial-wide.c: New test case.
47408 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47409
47410 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47411 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47412 Leonard and Allan McRae.
47413
47414 2014-02-04 David S. Miller <davem@davemloft.net>
47415
47416 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47417 32-bit.
47418
47419 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47420
47421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47422 New file
47423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47424 New file
47425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47426 New file.
47427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47428 New file.
47429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47430 New file.
47431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47432 New file.
47433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47434 New file.
47435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47436 New file.
47437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47438 New file.
47439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47440 New file.
47441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47442 New file.
47443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47444 New file.
47445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47446 New file.
47447
47448 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47449
47450 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47451 * shlib-versions: Likewise.
47452
47453 2014-02-04 Roland McGrath <roland@hack.frob.com>
47454 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47455
47456 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47457 (abilist-pattern): New variable, set to %-le.abilist.
47458
47459 * Makerules (abilist-pattern): New variable.
47460 (vpath): Use $(abilist-pattern) in place of %.abilist.
47461 (check-abi-% pattern rule): Likewise.
47462 (check-abi, update-abi): Likewise.
47463
47464 2014-02-04 Eric Wong <normalperson@yhbt.net>
47465
47466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47467
47468 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47469
47470 * manual/startup.texi: Add next, previous, and top entries for
47471 the `Program Arguments' and `Environment Variables' nodes.
47472
47473 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47474
47475 * manual/macros.texi: Add comments before MTASC-safety macros.
47476
47477 * manual/users.texi: Document MTASC-safety properties.
47478
47479 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47480 (pthread_getspecific, pthread_setspecific): Format with
47481 @deftypefun, and add @safety note.
47482 * manual/signal.texi: Move comments that analyze the above
47483 functions to their home place.
47484
47485 2014-02-03 Allan McRae <allan@archlinux.org>
47486
47487 * po/sl.po: Update Slovenian translation from translation project.
47488
47489 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47490
47491 * manual/time.texi (timegm): Add missing blank after @c.
47492 Reported by Joseph Myers <joseph@codesourcery.com>.
47493
47494 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47495
47496 * manual/check-safety.sh: New.
47497 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47498
47499 * manual/terminal.texi: Document MTASC-safety properties.
47500
47501 * manual/filesys.texi: Document MTASC-safety properties.
47502
47503 * manual/errno.texi: Document MTASC-safety properties.
47504
47505 * manual/intro.texi: Document safety identifiers and
47506 conditionals.
47507
47508 * manual/string.texi (wcstok): Fix prototype.
47509 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47510
47511 * manual/time.texi: Document MTASC-safety properties.
47512
47513 * manual/string.texi: Document MTASC-safety properties.
47514
47515 * manual/threads.texi: Document MTASC-safety properties.
47516
47517 * manual/stdio.texi: Document MTASC-safety properties.
47518
47519 * manual/syslog.texi: Document MTASC-safety properties.
47520
47521 * manual/sysinfo.texi: Document MTASC-safety properties.
47522
47523 * manual/startup.texi: Document MTASC-safety properties.
47524
47525 * manual/socket.texi: Document MTASC-safety properties.
47526
47527 * manual/signal.texi: Document MTASC-safety properties.
47528
47529 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47530
47531 * manual/setjmp.texi: Document MTASC-safety properties.
47532
47533 * manual/search.texi: Document MTASC-safety properties.
47534
47535 * manual/resource.texi: Document MTASC-safety properties.
47536
47537 * manual/process.texi: Document MTASC-safety properties.
47538
47539 * manual/platform.texi: Document MTASC-safety properties.
47540
47541 * manual/pipe.texi: Document MTASC-safety properties.
47542
47543 * manual/pattern.texi: Document MTASC-safety properties.
47544
47545 * manual/message.texi: Document MTASC-safety properties.
47546
47547 [BZ #12751]
47548 * manual/memory.texi: Document MTASC-safety properties.
47549
47550 * manual/math.texi: Document MTASC-safety properties.
47551
47552 * manual/locale.texi: Document MTASC-safety properties.
47553
47554 * manual/llio.texi: Document MTASC-safety properties.
47555
47556 * manual/libdl.texi: New.
47557
47558 * manual/lang.texi: Document MTASC-safety properties.
47559
47560 * manual/job.texi: Document MTASC-safety properties.
47561
47562 * manual/getopt.texi: Document MTASC-safety properties.
47563
47564 * manual/ctype.texi: Document MTASC-safety properties.
47565
47566 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47567
47568 [BZ #16046]
47569 * csu/libc-tls.c (static_map): Remove variable.
47570 (__libc_setup_tls): Use main executable's link map for TLS data.
47571 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47572 casing for LM_ID_BASE and GL(dl_nns).
47573 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47574 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47575 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47576 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47577 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47578 member.
47579 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47580 l_phnum members.
47581
47582 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47583
47584 * manual/debug.texi: Document MTASC-safety properties.
47585
47586 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47587
47588 [BZ #16510]
47589 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47590 of __x86_64__ when disabling x87 inline functions.
47591
47592 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47593
47594 * manual/charset.texi: Document MTASC-safety properties.
47595
47596 * manual/crypt.texi: Document MTASC-safety properties.
47597
47598 * manual/conf.texi: Document MTASC-safety properties.
47599
47600 * manual/arith.texi: Document MTASC-safety properties.
47601
47602 * manual/argp.texi: Document MTASC-safety properties.
47603
47604 * manual/macros.texi: Introduce macros to document multi
47605 thread, asynchronous signal and asynchronous cancellation
47606 safety properties.
47607 * manual/intro.texi: Introduce the properties themselves.
47608
47609 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47610
47611 * sysdeps/sh/sh4/Makefile: New file.
47612
47613 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47614
47615 * math/gen-libm-test.pl ($srcdir): New variable.
47616 ($auto_input): Use it.
47617
47618 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47619
47620 [BZ #16506]
47621 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47622 access beyond array bounds when parsing netgroups file.
47623
47624 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47625 the old buffer before realloc.
47626
47627 2014-01-27 Allan McRae <allan@archlinux.org>
47628
47629 * po/fr.po: Update French translation from translation project.
47630
47631 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47632
47633 * sysdeps/sh/libm-test-ulps: Regenerate.
47634
47635 2014-01-24 David S. Miller <davem@davemloft.net>
47636
47637 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47638
47639 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47640
47641 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47642 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47643
47644 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47645
47646 [BZ #16474]
47647 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47648 string pointers after reallocation.
47649
47650 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47651
47652 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47653 __SH4A__ instead of __SH_FPU_ANY__.
47654
47655 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47656
47657 * sysdeps/sh/fpu_control.h: New file.
47658 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47659 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47660 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47661 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47662 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47663 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47664 * sysdeps/sh/sys/ucontext.h: Remove.
47665 * sysdeps/sh/sys: Remove directory.
47666
47667 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47668
47669 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47670 s390/sys/ucontext.h.
47671 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47672 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47673
47674 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47675
47676 [BZ #15605]
47677 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47678
47679 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47680
47681 [BZ#16431]
47682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47683 Adjust the vDSO correctly for internal calls.
47684 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47685
47686 2014-01-20 Allan McRae <allan@archlinux.org>
47687
47688 * po/ca.po: Update Catalan translation from translation project.
47689
47690 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47691
47692 * sysdeps/s390/sotruss-lib.c: New file.
47693
47694 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47695
47696 [BZ#16430]
47697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47698 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47699 local calls issues by not having a PLT stub required for IFUNC calls.
47700 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47701
47702 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47703
47704 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47705 * math/test-fpucw-static.c: Likewise.
47706
47707 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47708
47709 [BZ #16453]
47710 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47711
47712 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47713
47714 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47715 implementation for powerpc.
47716
47717 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47718
47719 [BZ #14782]
47720 * sysdeps/posix/system.c (__libc_system): Do not enable
47721 asynchronous cancellation.
47722
47723 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47724
47725 [BZ #16427]
47726 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47727 handling only for numbers special also in the IEEE case.
47728
47729 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47730
47731 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47732
47733 2014-01-11 Allan McRae <allan@archlinux.org>
47734
47735 * po/bg.po: Update Bulgarian translation from translation project.
47736
47737 * po/de.po: Update German translation from translation project.
47738
47739 2014-01-10 Roland McGrath <roland@hack.frob.com>
47740
47741 * sysdeps/generic/gcc-compat.h: New file.
47742
47743 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47744
47745 * benchtests/asin-inputs: Correct slow inputs.
47746 * benchtests/acos-inputs: Likewise.
47747
47748 2014-01-10 Allan McRae <allan@archlinux.org>
47749
47750 * po:sv.po: Update Swedish translation from translation project.
47751
47752 * po/vi.po: Update Vietnamese translation from translation project.
47753
47754 * po/eo.po: Update Esperanto translation from translation project.
47755
47756 * po/cs.po: Update Czech translation from translation project.
47757
47758 * po/nl.po: Update Dutch translation from translation project.
47759
47760 * po/pl.po: Update Polish translation from translation project.
47761
47762 * po/ru.po: Update Russian translation from translation project.
47763
47764 * po/uk.po: Update Ukrainian translation from translation project.
47765
47766 2014-01-08 Brooks Moses <bmoses@google.com>
47767
47768 * elf/dl-load.c: Fix comment typo.
47769
47770 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47771
47772 * po/header.pot: Rename to...
47773 * po/pot.header: ... this.
47774 * po/Makefile: Use pot.header.
47775
47776 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47777 Maxim Kuvyrkov <maxim@kugelworks.com>
47778
47779 [BZ #16394]
47780 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47781 SRC and DEST against LEN.
47782
47783 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47784
47785 [BZ #16414]
47786 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47787 implementation.
47788 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47789
47790 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47791
47792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47793
47794 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47795
47796 [BZ #16408]
47797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47798 for large positive arguments.
47799
47800 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47801
47802 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47803
47804 * math/auto-libm-test-in: Mark various tests with
47805 xfail-rounding:ldbl-128ibm.
47806 * math/auto-libm-test-out: Regenerated.
47807
47808 [BZ #16407]
47809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47810 Increase overflow threshold.
47811
47812 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47813
47814 [BZ #14286]
47815 * stdio-common/vfprintf.c: Check for integer overflow.
47816
47817 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47818
47819 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47820 the first argument and return value of __tls_get_addr_internal.
47821
47822 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47823
47824 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47825 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47826
47827 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47828
47829 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47830 * sysdeps/s390/rtld-global-offsets.sym: New file.
47831 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47832 GLIBC_2.19 symbol.
47833 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47835 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47836 ... this.
47837 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47838 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47839 ... this.
47840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47841 Regenerate.
47842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47843 Regenerate.
47844 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47845 halfs of GPRs for high_gprs contexts.
47846 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47847 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47848 field.
47849 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47850 uc_flags field.
47851 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47852 64 bit versions:
47853 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47854 for high GPRs (uc_high_gprs) and for future extensions
47855 (__reserved).
47856 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47857 for future extensions (__reserved).
47858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47859 64 bit versions:
47860 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47861 SC_HIGHGPRS offset definition.
47862 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47863 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47864
47865 * Versions.def: Add GLIBC_2.19 for libpthread.
47866 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47867 siglongjmp for libpthread with GLIBC_2.19 symver.
47868 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47869 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47870 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47871 * sysdeps/s390/__longjmp.c: New file.
47872 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47873 * sysdeps/s390/longjmp.c: New file.
47874 * sysdeps/s390/setjmp.S: New file.
47875 * sysdeps/s390/sigjmp.S: New file.
47876 * sysdeps/s390/v1-longjmp.c: New file.
47877 * sysdeps/s390/v1-setjmp.h: New file.
47878 * sysdeps/s390/v1-sigjmp.c: New file.
47879 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47880 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47881 GLIBC_2.19 version.
47882 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47883 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47884 versioned symbols for ____longjmp_chk.
47885 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47886 Likewise.
47887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47888 Regenerate.
47889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47890 Regenerate.
47891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47892 Regenerate.
47893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47894 Regenerate.
47895 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47896 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47897 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47898 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47899 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47900 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47901 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47902 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47903 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47904 * sysdeps/s390/rtld-__longjmp.c: New file.
47905 * sysdeps/s390/rtld-setjmp.S: New file.
47906
47907 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47908
47909 [BZ #16400]
47910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47911 Return -__logl (x) for small positive arguments without evaluating
47912 a polynomial.
47913
47914 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47915
47916 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47917 Rename to ...
47918 (__ptrace_peeksiginfo_args): ... this.
47919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47922
47923 2014-01-06 Allan McRae <allan@archlinux.org>
47924
47925 * inet/netinet/in.h: Fix typo in comment.
47926
47927 2014-01-05 Andreas Jaeger <aj@suse.de>
47928
47929 * sysdeps/i386/fpu/libm-test-ulps: Update.
47930
47931 2014-01-05 Allan McRae <allan@archlinux.org>
47932
47933 * po/libc.pot: Regenerated.
47934
47935 * malloc/memusagestat.c: Fix gettext call formatting.
47936
47937 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47938
47939 * nscd/nscd.c: Improve usage() output.
47940
47941 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47942
47943 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47944 * sysdeps/unix/sysv/linux/configure: Regenerated.
47945 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47946 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47947
47948 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47949
47950 [BZ #16390]
47951 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47952 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47953
47954 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47955
47956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47957 extra tokens at end of #undef directive.
47958 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47959 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47961
47962 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47963
47964 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47965
47966 * math/auto-libm-test-in: Mark various tests with
47967 xfail-rounding:ldbl-128ibm.
47968 * math/auto-libm-test-out: Regenerated.
47969
47970 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47971
47972 [BZ #16386]
47973 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47974 numbers with subnormal high part when calculating exponent.
47975
47976 [BZ #16385]
47977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47978 fabs.
47979
47980 [BZ #16384]
47981 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47982 M_LN2l.
47983 (__ieee754_acoshl): Use __log1pl not __log1p.
47984
47985 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47986
47987 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47988 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47989 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47990 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47991 (reused_arena, arena_get2): Convert to GNU style.
47992 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47993 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47994 (memalign_check, __malloc_set_state): Likewise.
47995 * malloc/mallocbug.c (main): Likewise.
47996 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47997 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47998 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47999 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48000 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48001 (__posix_memalign, malloc_info): Likewise.
48002 * malloc/malloc.h: Likewise.
48003 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48004 (mallochook, memalignhook, reallochook, mabort): Likewise.
48005 * malloc/mcheck.h: Likewise.
48006 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48007 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48008 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48009 * malloc/morecore.c (__default_morecore): Likewise.
48010 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48011 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48012 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48013 (print_and_abort): Likewise.
48014 * malloc/obstack.h: Likewise.
48015 * malloc/set-freeres.c (__libc_freeres): Likewise.
48016 * malloc/tst-mallocstate.c (main): Likewise.
48017 * malloc/tst-mtrace.c (main): Likewise.
48018 * malloc/tst-realloc.c (do_test): Likewise.
48019
48020 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48021
48022 [BZ #16366]
48023 * nscd/netgroupcache.c (do_notfound): New function.
48024 (addgetnetgrentX): Use it.
48025
48026 [BZ # 16365]
48027 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48028 NSS_STATUS_NOTFOUND.
48029
48030 2014-01-01 Joseph Myers <joseph@codesourcery.com>
48031
48032 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48034
48035 2014-01-01 Allan McRae <allan@archlinux.org>
48036
48037 * scripts/update-copyrights: Update configure input file suffix.
48038
48039 * NEWS: Update copyright year.
48040 * catgets/gencat.c: Likewise.
48041 * csu/version.c: Likewise.
48042 * debug/catchsegv.sh: Likewise.
48043 * debug/pcprofiledump.c: Likewise.
48044 * debug/xtrace.sh: Likewise.
48045 * elf/ldconfig.c: Likewise.
48046 * elf/ldd.bash.in: Likewise.
48047 * elf/pldd.c: Likewise.
48048 * elf/sotruss.ksh: Likewise.
48049 * elf/sprof.c: Likewise.
48050 * iconv/iconv_prog.c: Likewise.
48051 * iconv/iconvconfig.c: Likewise.
48052 * locale/programs/locale.c: Likewise.
48053 * locale/programs/localedef.c: Likewise.
48054 * login/programs/pt_chown.c: Likewise.
48055 * malloc/memusage.sh: Likewise.
48056 * malloc/memusagestat.c: Likewise.
48057 * malloc/mtrace.pl: Likewise.
48058 * manual/libc.texinfo: Likewise.
48059 * nscd/nscd.c: Likewise.
48060 * nss/getent.c: Likewise.
48061 * nss/makedb.c: Likewise.
48062 * posix/getconf.c: Likewise.
48063 * scripts/test-installation.pl: Likewise.
48064
48065 * All files with FSF copyright notices: Update copyright dates
48066 using scripts/update-copyrights.
48067 * intl/plural.c: Regenerated.
48068 * locale/programs/charmap-kw.h: Likewise.
48069 * locale/programs/locfile-kw.h: Likewise.
48070
48071 2013-12-31 Mike Frysinger <vapier@gentoo.org>
48072
48073 * sysdeps/unix/sysv/linux/configure: Regenerated.
48074 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48075 the linux/fanotify.h header.
48076 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48077 HAVE_LINUX_FANOTIFY_H is defined.
48078
48079 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48080
48081 * benchtests/cos-inputs: New inputs.
48082 * benchtests/sin-inputs: Likewise.
48083
48084 * benchtests/atan-inputs: New inputs. Fix name of multiple
48085 precision fallback inputs.
48086
48087 * benchtests/atanh-inputs: New inputs.
48088 * benchtests/tanh-inputs: Likewise.
48089
48090 * benchtests/acosh-inputs: New inputs.
48091 * benchtests/asinh-inputs: Likewise.
48092
48093 * benchtests/cosh-inputs: New inputs.
48094 * benchtests/sinh-inputs: Likewise.
48095
48096 * benchtests/acos-inputs: Add more inputs.
48097 * benchtests/asin-inputs: Likewise.
48098
48099 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
48100
48101 [BZ #16375]
48102 * manual/arith.texi: Fix spelling.
48103 * manual/charset.texi: Likewise.
48104 * manual/errno.texi: Likewise.
48105 * manual/filesys.texi: Likewise.
48106 * manual/lang.texi: Likewise.
48107 * manual/llio.texi: Likewise.
48108 * manual/locale.texi: Likewise.
48109 * manual/message.texi: Likewise.
48110 * manual/resource.texi: Likewise.
48111 * manual/search.texi: Likewise.
48112 * manual/setjmp.texi: Likewise.
48113 * manual/stdio.texi: Likewise.
48114 * manual/string.texi: Likewise.
48115 * manual/sysinfo.texi: Likewise.
48116 * manual/time.texi: Likewise.
48117
48118 2013-12-27 Carlos O'Donell <carlos@redhat.com>
48119
48120 * po/sl.po: New file.
48121
48122 2013-12-27 Mike Frysinger <vapier@gentoo.org>
48123
48124 * .gitignore: Add core/.gdbinit/.gdb_history.
48125
48126 2013-12-27 Allan McRae <allan@archlinux.org>
48127
48128 [BZ #16369]
48129 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48130 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48131
48132 2013-12-24 Brooks Moses <bmoses@google.com>
48133
48134 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48135 all compilers that claim C++98 compliance, not just GCC.
48136 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48137 Likewise.
48138
48139 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48140
48141 * NEWS: Restore accidentally deleted bug-fix entries.
48142
48143 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48144 Ondřej Bílka <neleai@seznam.cz>
48145
48146 [BZ #15073]
48147 * malloc/malloc.c (_int_free): Perform sanity check only if we
48148 have_lock.
48149
48150 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
48151
48152 [BZ #12986]
48153 * manual/stdio.texi (String Input Conversions): Clarify that character
48154 classes are not supported.
48155
48156 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48157
48158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48159
48160 2013-12-22 Joseph Myers <joseph@codesourcery.com>
48161
48162 [BZ #16337]
48163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48164 Calculate results for small negative arguments directly rather
48165 than using reflection formula with special underflow handling.
48166
48167 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48168 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48169 sysdeps/unix/bsd/bsd4.4/syscalls.list.
48170 (fchflags): Likewise.
48171 (revoke): Likewise.
48172 (setlogin): Likewise.
48173 (sigaltstack): Likewise.
48174 (wait4): Likewise.
48175 (sigblock): Remove.
48176 (sigsetmask): Likewise.
48177 (wait3): Likewise.
48178 (waitpid): Likewise.
48179 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48180 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48181 file.
48182 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48183 * sysdeps/unix/bsd/Makefile: ... here.
48184 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48185 * sysdeps/unix/bsd/Versions: ... here.
48186 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48187 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48188 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48189 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48190 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48191 * sysdeps/unix/bsd/sigblock.c: ... here.
48192 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48193 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48194 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48195 * sysdeps/unix/bsd/sigvec.c: ... here.
48196 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48197 * sysdeps/unix/bsd/tcdrain.c: ... here.
48198 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48199 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48200 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48201 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48202 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48203 * sysdeps/unix/bsd/wait.c: ... here.
48204 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48205 * sysdeps/unix/bsd/wait3.c: ... here.
48206 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48207 * sysdeps/unix/bsd/waitpid.c: ... here.
48208
48209 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48210
48211 [BZ #16356]
48212 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48213 round-to-nearest for [!USE_AS_EXPM1L].
48214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48215 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48216 more tests of exp and exp10. Expect some exp10 tests to miss
48217 exceptions or fail in directed rounding modes.
48218 * math/auto-libm-test-out: Regenerated.
48219 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48220 (exp10_test_tonearest): New function.
48221 (exp10_towardzero_test_data): New array.
48222 (exp10_test_towardzero): New function.
48223 (exp10_downward_test_data): New array.
48224 (exp10_test_downward): New function.
48225 (exp10_upward_test_data): New array.
48226 (exp10_test_upward): New function.
48227 (main): Call the new functions.
48228 * sysdeps/i386/fpu/libm-test-ulps: Update.
48229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48230
48231 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48232
48233 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48234 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48235 * math/auto-libm-test-out: Regenerated.
48236 * math/libm-test.inc (acosh_test_data): Add more tests.
48237 (atanh_test_data): Likewise.
48238 (ceil_test_data): Likewise.
48239 (copysign_test_data): Likewise.
48240 * sysdeps/i386/fpu/libm-test-ulps: Update.
48241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48242
48243 * timezone/checktab.awk: Update from tzcode 2013i.
48244 * timezone/private.h: Likewise.
48245 * timezone/scheck.c: Likewise.
48246 * timezone/tzfile.h: Likewise.
48247 * timezone/tzselect.ksh: Likewise.
48248 * timezone/zdump.c: Likewise.
48249 * timezone/zic.c: Likewise.
48250
48251 * math/auto-libm-test-in: Add tests of cpow.
48252 * math/auto-libm-test-out: Regenerated.
48253 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48255 mpc_cc_c.
48256 (func_calc_desc): Add mpc_cc_c union field.
48257 (test_functions): Add cpow.
48258 (special_fill_2pi): New function.
48259 (special_real_inputs): Add 2pi.
48260 (calc_generic_results): Handle mpc_cc_c.
48261 * sysdeps/i386/fpu/libm-test-ulps: Update.
48262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48263
48264 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48265 csqrt, ctan and ctanh.
48266 * math/auto-libm-test-out: Regenerated.
48267 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48268 (TEST_COND_x86): Likewise.
48269 (ccos_test_data): Use AUTO_TESTS_c_c.
48270 (ccosh_test_data): Likewise.
48271 (cexp_test_data): Likewise.
48272 (clog_test_data): Likewise.
48273 (csqrt_test_data): Likewise.
48274 (ctan_test_data): Likewise.
48275 (ctan_tonearest_test_data): Likewise.
48276 (ctan_towardzero_test_data): Likewise.
48277 (ctan_downward_test_data): Likewise.
48278 (ctan_upward_test_data): Likewise.
48279 (ctanh_test_data): Likewise.
48280 (ctanh_tonearest_test_data): Likewise.
48281 (ctanh_towardzero_test_data): Likewise.
48282 (ctanh_downward_test_data): Likewise.
48283 (ctanh_upward_test_data): Likewise.
48284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48285 mpc_c_c.
48286 (func_calc_desc): Add mpc_c_c union field.
48287 (FUNC_mpc_c_c): New macro.
48288 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48289 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48290 ctanh.
48291 (special_fill_min_subnorm_p120): New function.
48292 (special_real_inputs): Add min_subnorm_p120.
48293 (calc_generic_results): Handle mpc_c_c.
48294 * sysdeps/i386/fpu/libm-test-ulps: Update.
48295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48296
48297 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48298
48299 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48300 (do_sin_slow): New functions.
48301 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48302 (cslow2, csloww1, csloww2): Use the new functions.
48303
48304 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48305 Use M to change sign of result instead of X. Assume X is
48306 positive.
48307 (csloww1): Likewise.
48308 (__sin): Adjust.
48309 (__cos): Adjust.
48310
48311 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48312 arguments A and DA.
48313 (__sin): Adjust.
48314 (__cos): Likewise.
48315
48316 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48317 (__cos): Likewise.
48318 (sloww1): Don't adjust sign of DX.
48319 (csloww1): Likewise.
48320 (sloww2): Use X directly and don't adjust sign of DX.
48321 (csloww2): Likewise.
48322
48323 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48324
48325 * math/auto-libm-test-in: Add tests of cabs and carg.
48326 * math/auto-libm-test-out: Regenerated.
48327 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48328 (carg_test_data): Likewise.
48329 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48330 mpc_c_f.
48331 (func_calc_desc): Add mpc_c_f union field.
48332 (test_functions): Add cabs and carg.
48333 (calc_generic_results): Handle mpc_c_f.
48334
48335 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48336 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48337 as a macro and a compat symbol.
48338 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48339 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48340 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48341 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48342 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48343 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48344 not use .hidden.
48345 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48346 Likewise.
48347 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48348 Likewise.
48349 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48350 Likewise.
48351 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48352 Likewise.
48353 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48354 Likewise.
48355 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48356 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48357 from GLIBC_2.3.2.
48358
48359 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48360
48361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48362
48363 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48364
48365 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48366 trailing whitespace removed.
48367 * scripts/config.guess: Update to version 2013-11-29.
48368 * scripts/config.sub: Update to version 2013-10-01.
48369
48370 * math/auto-libm-test-in: Add tests of sincos.
48371 * math/auto-libm-test-out: Regenerated.
48372 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48373 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48374 mpfr_f_11.
48375 (func_calc_desc): Add mpfr_f_11 union field.
48376 (test_functions): Add sincos.
48377 (calc_generic_results): Handle mpfr_f_11.
48378 * sysdeps/i386/fpu/libm-test-ulps: Update.
48379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48380
48381 2013-12-19 Andreas Schwab <schwab@suse.de>
48382
48383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48384 CALL_MCOUNT.
48385 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48387 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48388
48389 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48390
48391 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48392 * sysdeps/i386/fpu/libm-test-ulps: Update.
48393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48394
48395 [BZ #16293]
48396 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48397 round-to-nearest mode when using frndint.
48398 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48399 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48401 Likewise.
48402 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48403 sinh test to fail.
48404 * math/auto-libm-test-out: Regenerated.
48405 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48406 (TEST_COND_x86): Likewise.
48407 (expm1_tonearest_test_data): New array.
48408 (expm1_test_tonearest): New function.
48409 (expm1_towardzero_test_data): New array.
48410 (expm1_test_towardzero): New function.
48411 (expm1_downward_test_data): New array.
48412 (expm1_test_downward): New function.
48413 (expm1_upward_test_data): New array.
48414 (expm1_test_upward): New function.
48415 (main): Run the new test functions.
48416 * sysdeps/i386/fpu/libm-test-ulps: Update.
48417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48418
48419 * include/features.h: Update comment documenting feature test
48420 macros. Mention _DEFAULT_SOURCE in comment.
48421 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48422 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48423 _BSD_SOURCE and _SVID_SOURCE.
48424 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48425 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48426 !_SVID_SOURCE]: Likewise.
48427 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48428 (__USE_POSIX_IMPLICITLY): Define.
48429 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48430 (_POSIX_SOURCE): Undefine and redefine.
48431 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48432 (_POSIX_C_SOURCE): Likewise.
48433 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48434 (Feature Test Macros): Update documentation of default features.
48435
48436 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48437
48438 * benchtests/Makefile: Add bench-strtok.
48439 * benchtests/bench-strtok.c: New file: strtok benchtest.
48440
48441 2013-12-19 Allan McRae <allan@archlinux.org>
48442
48443 * manual/install.texi: Suppress menu for plain text output.
48444 * INSTALL: Regenerated.
48445
48446 2013-12-18 Brooks Moses <bmoses@google.com>
48447
48448 [BZ #15846]
48449 * misc/getauxval.c: Include errno.h.
48450 (__getauxval): Set errno to ENOENT if the requested type is not
48451 found.
48452 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48453 don't declare with __attribute_const__.
48454 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48455 * manual/startup.texi: Document that getauxval sets errno.
48456
48457 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48458
48459 * math/auto-libm-test-in: Add tests of jn and yn.
48460 * math/auto-libm-test-out: Regenerated.
48461 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48462 (yn_test_data): Likewise.
48463 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48464 mpfr_if_f.
48465 (func_calc_desc): Add mpfr_if_f union field.
48466 (FUNC_mpfr_if_f): New macro.
48467 (test_functions): Add jn and yn.
48468 (calc_generic_results): Assert type of second input for
48469 mpfr_ff_f. Handle mpfr_if_f.
48470 (output_for_one_input_case): Disable all checking for arguments
48471 fitting floating-point types in case of an integer argument.
48472 * sysdeps/i386/fpu/libm-test-ulps: Update.
48473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48474
48475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48476 Don't expect fegetround reference in libm.so.
48477
48478 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48479
48480 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48481 $(config-cflags-nofma).
48482
48483 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48484
48485 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48486 * math/auto-libm-test-out: Regenerated.
48487
48488 [BZ #16338]
48489 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48490 to determine exponent and adjust argument to have exponent of -1.
48491 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48492 log2.
48493 * math/auto-libm-test-out: Regenerated.
48494 * sysdeps/i386/fpu/libm-test-ulps: Update.
48495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48496
48497 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48498
48499 * manual/probes.texi: Remove cases when per-thread arenas are
48500 disabled.
48501
48502 2013-12-18 Andreas Schwab <schwab@suse.de>
48503
48504 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48505 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48506 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48507 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48508 * sysdeps/i386/i686/multiarch/Makefile: Update.
48509 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48510
48511 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48512
48513 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48514 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48515
48516 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48517
48518 [BZ #15968]
48519 Support TZ transition times < 00:00:00.
48520 This is needed for version-3 tz-format files; it supports time
48521 stamps past 2037 for America/Godthab (the only entry in the tz
48522 database for which this change is relevant).
48523 * manual/time.texi (TZ Variable): Document transition times
48524 from -167:59:59 through -00:00:01.
48525 * time/tzset.c (tz_rule): Time of day is now signed.
48526 (__tzset_parse_tz): Parse negative time of day.
48527
48528 Document TZ transition times >= 25:00:00.
48529 * manual/time.texi (TZ Variable): Document transition times from
48530 25:00:00 through 167:59:59. These are already supported, and this
48531 support will help with version-3 tz-format files.
48532
48533 * manual/time.texi (TZ Variable): Modernize North America example
48534 to reflect current (i.e., 2007-and-later) daylight saving rules.
48535
48536 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48537
48538 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48539
48540 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48541 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48544 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48545 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48546 * sysdeps/unix/bsd/clock.c: Likewise.
48547 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48548 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48549 * sysdeps/unix/bsd/init-posix.c: Likewise.
48550 * sysdeps/unix/bsd/poll.c: Likewise.
48551 * sysdeps/unix/bsd/ptsname.c: Likewise.
48552 * sysdeps/unix/bsd/seekdir.c: Likewise.
48553 * sysdeps/unix/bsd/setegid.c: Likewise.
48554 * sysdeps/unix/bsd/seteuid.c: Likewise.
48555 * sysdeps/unix/bsd/setgid.c: Likewise.
48556 * sysdeps/unix/bsd/setrgid.c: Likewise.
48557 * sysdeps/unix/bsd/setruid.c: Likewise.
48558 * sysdeps/unix/bsd/setsid.c: Likewise.
48559 * sysdeps/unix/bsd/setuid.c: Likewise.
48560 * sysdeps/unix/bsd/sigaction.c: Likewise.
48561 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48562 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48563 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48564 * sysdeps/unix/bsd/telldir.c: Likewise.
48565 * sysdeps/unix/bsd/times.c: Likewise.
48566 * sysdeps/unix/bsd/usleep.c: Likewise.
48567
48568 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48569 ($(objpfx)libbsd-compat.a): Remove rule.
48570
48571 * include/features.h (__FAVOR_BSD): Do not define.
48572 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48573 features conflicting with POSIX.
48574 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48575 (_BSD_SOURCE): Remove description of not being a subset of other
48576 feature test macros.
48577 * manual/job.texi (getpgrp): Do not document BSD version.
48578 (getpgid): Do not document by reference to BSD getpgrp.
48579 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48580 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48581 * signal/signal.h [__FAVOR_BSD]: Likewise.
48582 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48583 instead of making contents conditional on [__FAVOR_BSD].
48584 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48585
48586 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48587
48588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48589
48590 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48591
48592 [BZ #16314]
48593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48594 values below 2**-450, not 2**-500.
48595 * math/auto-libm-test-in: Don't allow spurious underflow from
48596 hypot.
48597 * math/auto-libm-test-out: Regenerated.
48598
48599 [BZ #16316]
48600 [BZ #16330]
48601 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48602 values of ha and hb and sort them after adjusting subnormal
48603 arguments.
48604 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48605 Likewise.
48606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48607 values of ea and eb and sort them after adjusting subnormal
48608 arguments.
48609 * math/auto-libm-test-in: Do not expect some hypot tests of
48610 subnormals to fail. Add more hypot tests.
48611 * math/auto-libm-test-out: Regenerated.
48612
48613 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48614
48615 [BZ #13304]
48616 * sysdeps/sh/s_fma.c: New file.
48617 * sysdeps/sh/s_fmaf.c: New file.
48618 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48619 version.
48620 * sysdeps/sh/Implies: Add sh/soft-fp.
48621
48622 2013-12-16 Roland McGrath <roland@hack.frob.com>
48623
48624 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48625 level of indirection to members `objname', `errstring', `malloced'.
48626 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48627 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48628 it as the __longjmp argument (just pass 1 instead).
48629 (_dl_catch_error): Initialize C with argument pointers and address of
48630 volatile local ERRCODE rather than copying values out of C at return.
48631
48632 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48633
48634 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48635 * math/auto-libm-test-out: Regenerated.
48636 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48637 (hypot_test_data): Likewise.
48638 (pow_test_data): Likewise.
48639 (pow_tonearest_test_data): Likewise.
48640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48641 mpfr_ff_f.
48642 (func_calc_desc): Add mpfr_ff_f union field.
48643 (FUNC_mpfr_ff_f): New macro.
48644 (test_functions): Add atan2, hypot and pow.
48645 (special_fill_min): New function.
48646 (special_fill_minus_min): Likewise.
48647 (special_fill_min_subnorm): Likewise.
48648 (special_fill_minus_min_subnorm): Likewise.
48649 (special_real_inputs): Add min, -min, min_subnorm and
48650 -min_subnorm.
48651 (calc_generic_results): Handle mpfr_ff_f.
48652 * sysdeps/i386/fpu/libm-test-ulps: Update.
48653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48654
48655 2013-12-16 Will Newton <will.newton@linaro.org>
48656
48657 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48658 (Aligned Memory Blocks): Add documentation for aligned_alloc
48659 and suggest it as an alternative to posix_memalign.
48660 (Hooks for Malloc): Document __memalign_hook is also called
48661 for aligned_alloc. (Summary of Malloc): Add summary for
48662 aligned alloc. Document __memalign_hook is also called
48663 for aligned_alloc.
48664
48665 2013-12-16 Will Newton <will.newton@linaro.org>
48666
48667 * manual/memory.texi (Malloc Examples): Clarify default
48668 alignment documentation. Suggest posix_memalign rather
48669 than memalign or valloc.
48670 (Aligned Memory Blocks): Remove suggestion to use memalign
48671 or valloc. Remove obsolete comment about BSD.
48672 Document memalign errno values and mark the function obsolete.
48673 Document posix_memalign returned error codes. Mark valloc
48674 as obsolete. (Hooks for Malloc): __memalign_hook is also
48675 called for posix_memalign and valloc.
48676 (Summary of Malloc): Add posix_memalign to function summary.
48677 __memalign_hook is also called for posix_memalign and valloc.
48678
48679 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48680
48681 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48682 TAYLOR_SIN.
48683 (__sin): Adjust.
48684 (__cos): Likewise.
48685 (sloww): Use mynumber union. Expand ternary operator into
48686 if-else statements.
48687 (cslow): use mynumber union.
48688
48689 2013-12-16 Allan McRae <allan@archlinux.org>
48690
48691 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48692 * configure: Regenerated.
48693
48694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48695
48696 [BZ #14120]
48697 * configure.ac: Added --enable-maintainer-mode. Check for
48698 autoconf when enabled.
48699 * configure: Regenerated.
48700
48701 * nscd/nscd.service: New file.
48702 * nscd/nscd.tmpfiles: New file.
48703
48704 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48705
48706 [BZ #12100]
48707 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48708 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48709 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48710 (strstr): Add __strstr_sse2_unaligned ifunc.
48711 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48712 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48713 (strcasestr): Remove __strcasestr_sse42 ifunc.
48714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48717
48718 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48719
48720 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48721 * sysdeps/sh/bits/fenv.h: ... here.
48722 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48723
48724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48725
48726 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48727
48728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48729 hypotf multiarch implementations.
48730 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48731 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48732 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48733 multiarch hypot for PPC64.
48734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48735 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48736 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48737 multiarch hypotf for PPC64.
48738
48739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48740 modff multiarch implementations.
48741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48744 multiarch modf for PPC64.
48745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48748 multiarch modff for PPC64.
48749
48750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48751 and logl multiarch implementations.
48752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48755 multiarch logb for PPC64.
48756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48759 multiarch logb for PPC64.
48760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48763 multiarch logb for PPC64.
48764
48765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48766 isinff multiarch implementation.
48767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48768 file.
48769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48771 multiarch isinf for PPC64.
48772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48773 file.
48774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48775 multiarch isinff for PPC64.
48776
48777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48778 finitef multiarch implementation.
48779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48780 file.
48781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48783 multiarch finite for PPC64.
48784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48785 file.
48786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48787 multiarch finitef for PPC64.
48788
48789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48790 lrint multiarch implementation.
48791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48792 file.
48793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48795 multiarch llrint for PPC64.
48796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48797 multiarch lrint for PPC64.
48798
48799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48800 copysignf multiarch implementation.
48801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48802 file.
48803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48804 file.
48805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48806 multiarch copysign for PPC64.
48807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48808 multiarch copysignf for PPC64.
48809
48810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48811 multiarch implementation.
48812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48813 file.
48814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48815 file.
48816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48817 file.
48818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48819 file.
48820 multiarch llround for PPC64.
48821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48822 multiarch trunc for PPC64.
48823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48824 multiarch truncf for PPC64.
48825
48826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48827 multiarch implementation.
48828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48829 file.
48830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48831 file.
48832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48833 file.
48834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48835 file.
48836 multiarch llround for PPC64.
48837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48838 multiarch round for PPC64.
48839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48840 multiarch roundf for PPC64.
48841
48842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48843 multiarch implementation.
48844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48845 file.
48846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48847 file.
48848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48849 file.
48850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48851 file.
48852 multiarch llround for PPC64.
48853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48854 multiarch floor for PPC64.
48855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48856 multiarch floorf for PPC64.
48857
48858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48859 multiarch implementation.
48860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48861 file.
48862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48863 file.
48864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48865 file.
48866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48867 file.
48868 multiarch llround for PPC64.
48869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48870 multiarch ceil for PPC64.
48871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48872 multiarch ceilf for PPC64.
48873
48874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48875 multiarch implementation.
48876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48877 file.
48878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48879 file.
48880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48881 file.
48882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48883 multiarch llround for PPC64.
48884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48885 multiarch lround for PPC64.
48886
48887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48888 multiarch implementation.
48889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48892 file.
48893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48896 multiarch isnan for PPC64.
48897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48898 multiarch isnanf for PPC64.
48899
48900 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48901 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48902 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48903 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48904 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48906
48907 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48908 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48911
48912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48913 multiarch implementations.
48914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48915 (__libc_ifunc_impl_list): Likewise.
48916 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48917 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48918 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48919 multiarch stpcpy for PPC64.
48920
48921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48922 multiarch implementations.
48923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48924 (__libc_ifunc_impl_list): Likewise.
48925 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48927 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48928 multiarch strcpy for PPC64.
48929
48930 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48931 redefine function name.
48932 (_wordcopy_fwd_dest_aligned): Likewise.
48933 (_wordcopy_bwd_aligned): Likewise.
48934 (_wordcopy_bwd_dest_aligned): Likewise.
48935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48936 multiarch implementations.
48937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48938 (__libc_ifunc_impl_list): Likewise.
48939 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48940 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48941 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48942 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48943 multiarch wcscpy for PPC64.
48944
48945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48946 multiarch implementations.
48947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48948 (__libc_ifunc_impl_list): Likewise.
48949 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48950 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48951 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48953 multiarch wcscpy for PPC64.
48954
48955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48956 multiarch implementations.
48957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48958 (__libc_ifunc_impl_list): Likewise.
48959 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48960 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48961 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48962 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48963 multiarch wcsrchr for PPC64.
48964
48965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48966 multiarch implementations.
48967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48968 (__libc_ifunc_impl_list): Likewise.
48969 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48970 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48971 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48972 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48973 multiarch wcschr for PPC64.
48974
48975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48976 multiarch implementations.
48977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48978 (__libc_ifunc_impl_list): Likewise.
48979 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48980 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48981 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48982 multiarch strchrnul for PPC64.
48983
48984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48985 implementations.
48986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48987 (__libc_ifunc_impl_list): Likewise.
48988 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48989 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48990 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48991 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48992 strchr for PPC64.
48993
48994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48995 implementations.
48996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48997 (__libc_ifunc_impl_list): Likewise.
48998 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48999 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49000 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49001 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49002 strncmp for PPC64.
49003
49004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49005 multiarch implementations.
49006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49007 (__libc_ifunc_impl_list): Likewise.
49008 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49009 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49010 strncasecmp for PPC64.
49011 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49012 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49013 multiarch strncasecmp_l for PPC64.
49014
49015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49016 multiarch implementations.
49017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49018 (__libc_ifunc_impl_list): Likewise.
49019 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49020 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49021 multiarch strcasecmp for PPC64.
49022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49023 file.
49024 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49025 multiarch strcasecmp_l for PPC64.
49026
49027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49028 implementations.
49029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49030 (__libc_ifunc_impl_list): Likewise.
49031 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49032 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49033 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49034 strnlen for PPC64.
49035
49036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49037 implementations.
49038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49039 (__libc_ifunc_impl_list): Likewise.
49040 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49041 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49042 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49043 strlen for PPC64.
49044
49045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49046 implementations.
49047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49048 (__libc_ifunc_impl_list): Likewise.
49049 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49050 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49051 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49052 rawmemrchr for PPC64.
49053
49054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49055 implementation.
49056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49057 (__libc_ifunc_impl_list): Likewise.
49058 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49059 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49060 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49061 memrchr for PPC64.
49062
49063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49064 implementation.
49065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49066 (__libc_ifunc_impl_list): Likewise.
49067 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49068 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49069 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49070 memchr for PPC64.
49071
49072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49073 implementation.
49074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49075 (__libc_ifunc_impl_list): Likewise.
49076 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49077 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49078 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49079 mempcpy for PPC64.
49080
49081 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49082 avoid cretion of __bzero symbol.
49083 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49084 Likewise.
49085 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49086 Likewise.
49087 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49088 Likewise.
49089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49090 multiarch implementations.
49091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49092 (__libc_ifunc_impl_list): Likewise.
49093 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49094 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49095 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49096 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49097 bzero for PPC32.
49098 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49099 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49100 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49101 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49102 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49103 memset for PPC64.
49104 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49105
49106 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49108 implementations.
49109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49110 (__libc_ifunc_impl_list): Likewise.
49111 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49112 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49113 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49114 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49115 memcmp for PPC64.
49116
49117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49118 multiarch for POWER/PPC64.
49119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49120 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49121 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49122 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49123 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49124 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49125 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49126 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49127 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49128 memcpy for PPC64.
49129
49130 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49131 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49132 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49133 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49134 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49135 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49136 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49137 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49138 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49139 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49140 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49141 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49142 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49143 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49144 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49152
49153 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49154
49155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49156
49157 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49158
49159 * benchtests/Makefile (bench): Add exp2 and log2.
49160 (LDLIBS-bench-exp2): Add -lm.
49161 (LDLIBS-bench-log2): Likewise.
49162 * benchtests/exp2-inputs: New inputs file.
49163 * benchtests/log2-inputs: New inputs file.
49164 * benchtests/log-inputs: Add new inputs.
49165 * benchtests/tan-inputs: Likewise.
49166
49167 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49168
49169 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49170 definition...
49171 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49172 (csloww2): ... from here.
49173
49174 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49175 instead of structures.
49176 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49177 (POLYNOMIAL): Likewise.
49178 (TAYLOR_SLOW): Likewise.
49179 (__sin): Likewise.
49180 (__cos): Likewise.
49181 (slow1): Likewise.
49182 (slow2): Likewise.
49183 (sloww): Likewise.
49184 (sloww1); Likewise.
49185 (sloww2): Likewise.
49186 (bsloww1): Likewise.
49187 (bsloww2): Likewise.
49188 (cslow2): Likewise.
49189 (csloww): Likewise.
49190 (csloww1): Likewise.
49191 (csloww2): Likewise.
49192
49193 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49194
49195 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49196 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49197 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49198 * malloc/hooks.c (realloc_check): Likewise.
49199
49200 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49201 * malloc/arena.c: Remove PER_THREAD conditional.
49202 [!PER_THREAD]: Remove code.
49203 (ptmalloc_unlock_all2): Likewise.
49204 (ptmalloc_init): Likewise.
49205 (_int_new_arena): Likewise.
49206 (arena_get2): Likewise.
49207 * malloc/hooks.c (__malloc_get_state): Likewise.
49208 (__malloc_set_state): Likewise.
49209 * malloc/malloc.c: Likewise.
49210 (struct malloc_state): Likewise.
49211 (struct malloc_par): Likewise.
49212 (__libc_realloc): Likewise.
49213 (__libc_mallopt): Likewise.
49214
49215 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49216
49217 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49218
49219 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49220
49221 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49222 macro to a function. Check for zero perturb_byte.
49223 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49224
49225 * malloc/malloc.c: (force_reg): Remove.
49226 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49227 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49228 force_reg by atomic_forced_read.
49229 * malloc/arena.c (ptmalloc_init): Likewise.
49230 * malloc/hooks.c (top_check): Likewise.
49231
49232 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49233
49234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49235
49236 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49237
49238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49239
49240 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49241
49242 * math/auto-libm-test-in: Add tests of lgamma.
49243 * math/auto-libm-test-out: Regenerated.
49244 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49245 (M_LOG_2_SQRT_PIl): Likewise.
49246 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49247 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49248 mpfr_f_f1.
49249 (func_calc_desc): Add mpfr_f_f1 union field.
49250 (ARGS1): New macro.
49251 (ARGS2): Likewise.
49252 (ARGS3): Likewise.
49253 (ARGS4): Likewise.
49254 (RET1): Likewise.
49255 (RET2): Likewise.
49256 (CALC): Likewise.
49257 (FUNC): Likewise.
49258 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49259 (test_functions): Add lgamma.
49260 (calc_generic_results): Handle mpfr_f_f1.
49261 * sysdeps/i386/fpu/libm-test-ulps: Update.
49262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49263
49264 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49265
49266 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49267 __mpn_add_n for PowerPC64/POWER7.
49268 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49269 __mpn_sub_n for PowerPC64/POWER7.
49270
49271 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49272 __mpn_addmul_1 for PowerPC64.
49273 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49274 __mpn_submul_1 for PowerPC64.
49275 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49276 for PowerPC64.
49277 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49278 for PowerPC64.
49279
49280 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49281
49282 [BZ #15089]
49283 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49284
49285 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49286
49287 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49288
49289 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49290 add multiarch folders.
49291 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49292 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49293 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49294 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49295 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49296 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49297 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49298 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49299 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49300 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49301 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49308
49309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49310 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49312 New file.
49313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49314 New file.
49315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49316 multiarch __ieee754_hypot for PowerPC32.
49317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49318 New file.
49319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49320 New file.
49321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49322 multiarch __ieee754_hypotf for PowerPC32.
49323
49324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49325 long_double_symbol only if __logbl is defined.
49326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49327 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49329 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49331 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49333 path for implementation.
49334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49335 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49337 logb, and logbl multiarch implementations for PowerPC32.
49338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49339 file.
49340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49341 file.
49342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49343 multiarch logb for PowerPC32.
49344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49345 file.
49346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49347 file.
49348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49349 multiarch logbf for PowerPC32.
49350 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49352 file.
49353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49354 multiarch logbl implementation for PowerPC32.
49355
49356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49357 and modff multiarch implementations.
49358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49359 New file.
49360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49361 New file.
49362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49363 multiarch modf for PowerPC32.
49364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49365 New file.
49366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49367 New file.
49368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49369 multiarch modff for PowerPC32.
49370
49371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49372 and lrintf multiarch implementations.
49373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49374 New file.
49375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49376 New file.
49377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49378 multiarch lrint for PowerPC32.
49379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49380 file: multiarch lrintf for PowerPC32.
49381
49382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49383 and lroundf multiarch implementations.
49384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49385 New file.
49386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49387 New file.
49388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49389 New file.
49390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49391 multiarch lround for PowerPC32.
49392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49393 file: multiarch lroundf for PowerPC32.
49394
49395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49396 copysign and copysignf multiarch implementations.
49397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49398 New file.
49399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49400 New file.
49401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49402 file: multiarch copysign for PowerPC32.
49403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49404 file: multiarch copysignf for PowerPC32.
49405
49406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49407 and truncf multiarch implementations.
49408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49409 New file.
49410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49411 file.
49412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49413 multiarch trunc for PowerPC32.
49414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49415 New file.
49416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49417 New file.
49418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49419 multiarch truncf for PowerPC32.
49420
49421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49422 and roundf multiarch implementations.
49423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49424 New file.
49425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49426 file.
49427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49428 multiarch round for PowerPC32.
49429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49430 New file.
49431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49432 New file.
49433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49434 multiarch roundf for PowerPC32.
49435
49436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49437 and floorf multiarch implementations.
49438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49439 New file.
49440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49441 file.
49442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49443 multiarch floor for PowerPC32.
49444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49445 New file.
49446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49447 New file.
49448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49449 multiarch floorf for PowerPC32.
49450
49451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49452 and ceilf multiarch implementations.
49453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49454 New file.
49455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49456 file.
49457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49458 multiarch ceil for PowerPC32.
49459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49460 New file.
49461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49462 file.
49463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49464 multiarch ceilf for PowerPC32.
49465
49466 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49467 is defined.
49468 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49469 FINITEF is defined.
49470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49471 and finitef multiarch implementations.
49472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49473 New file.
49474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49475 file.
49476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49477 multiarch finite for PowerPC32.
49478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49479 New file.
49480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49481 file: multiarch finitef for PowerPC32.
49482
49483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49484 and isinff multiarch implementations.
49485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49486 file.
49487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49488 file.
49489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49490 multiarch isinf for PowerPC32.
49491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49492 New file.
49493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49494 multiarch isinff for PowerPC32.
49495
49496 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49497 alias when __isnan is defined.
49498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49499 and isnanf multiarch implementations.
49500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49501 file.
49502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49503 file.
49504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49505 file.
49506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49507 file.
49508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49509 multiarch isnan for PowerPC32.
49510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49511 New file.
49512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49513 New file.
49514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49515 multiarch isnanf for PowerPC32.
49516
49517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49518 and sqrtf multiarch implementations.
49519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49520 file.
49521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49522 file.
49523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49524 multiarch sqrt for PowerPC32.
49525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49526 file.
49527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49528 file.
49529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49530 multiarch sqrtf for PowerPC32.
49531
49532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49533 and llroundf multiarch implementations.
49534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49535 New file.
49536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49537 New file.
49538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49539 New file.
49540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49541 file: multiarch llround for PowerPC32.
49542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49543 file: multiarch llroundf for PowerPC32.
49544
49545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49546 multiarch PowerPC32 fpu implementations.
49547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49548 New file.
49549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49550 New file.
49551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49552 multiarch llrint for PowerPC32.
49553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49554 New file.
49555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49556 New file.
49557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49558 file.
49559
49560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49561
49562 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49563 file.
49564 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49565 file.
49566 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49567 file.
49568 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49569 multiarch wordcopy for PPC32.
49570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49571 wordcopy objects.
49572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49573 (__libc_ifunc_impl_list): Likewise.
49574 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49575 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49577 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49579 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49580
49581 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49583 file.
49584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49585 file.
49586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49587 file.
49588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49589 multiarch wcscpy for PPC32.
49590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49591 multiarch objects.
49592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49593 (__libc_ifunc_impl_list): Likewise.
49594 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49595 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49596 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49597 sysdeps/powerpc/power6/wcscpy.c.
49598
49599 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49601 file.
49602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49603 file.
49604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49605 file.
49606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49607 multiarch wcsrchr for PPC32.
49608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49609 multiarch objects.
49610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49611 (__libc_ifunc_impl_list): Likewise.
49612 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49613 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49614 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49615 sysdeps/powerpc/power6/wcsrchr.c.
49616
49617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49618 file.
49619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49620 file.
49621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49623 multiarch wcschr for PPc32.
49624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49625 multiarch objects.
49626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49627 (__libc_ifunc_impl_list): Likewise.
49628 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49629 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49630 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49631 sysdeps/powerpc/power6/wcschr.c.
49632
49633 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49634 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49635 file.
49636 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49637 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49638 file: multiarch strchr for PPC32.
49639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49640 multiarch objects.
49641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49642 (__libc_ifunc_impl_list): Likewise.
49643
49644 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49645 name.
49646 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49647 file.
49648 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49649 file.
49650 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49651 multiarch strchrnul for PPC32.
49652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49653 multiarch objects.
49654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49655 (__libc_ifunc_impl_list): Likewise.
49656
49657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49658 file.
49659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49660 multiarch strncasecmp for PPC32.
49661 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49662 file.
49663 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49664 multiarch strncasecmp_l for PPC32.
49665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49666 strncasecmp multiarch objects.
49667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49668 (__libc_ifunc_impl_list): Likewise.
49669
49670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49671 file.
49672 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49673 multiarch strncasecmp for PPC32.
49674 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49675 New file.
49676 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49677 multiarch strcasecmp_l for PPC32.
49678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
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/strncmp-power7.S: New
49684 file.
49685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49686 file.
49687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49688 multiarch strncmp for PPC32.
49689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49690 multiarch objects.
49691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49692 (__libc_ifunc_impl_list): Likewise.
49693
49694 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49695 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49696 file.
49697 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49698 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49700 multiarch objects.
49701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49702 (__libc_ifunc_impl_list): Likewise.
49703
49704 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49705 file.
49706 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49707 file.
49708 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
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/rawmemchr-power7.S: New
49715 file.
49716 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49717 file.
49718 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49719 multiarch rawmemchr for PPC32.
49720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49721 multiarch objects.
49722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49723 (__libc_ifunc_impl_list): Likewise.
49724
49725 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49726 file.
49727 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49728 file.
49729 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49730 file: memrchr multiarch for PPC32.
49731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49732 multiarch objects.
49733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49734 (__libc_ifunc_impl_list): Likewise.
49735
49736 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49737 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49738 file.
49739 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49740 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49741 multiarch memchr for PPC32.
49742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49743 multiarch objects.
49744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49745 (__libc_ifunc_impl_list): Likewise.
49746
49747 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49748 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49749 file.
49750 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49751 file.
49752 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49753 file: multiarch mempcpy for PPC32.
49754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49755 multiarch objects.
49756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49757 (__libc_ifunc_impl_list): Likewise.
49758
49759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49760 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49761 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49763 multiarch bzero for PPC32.
49764 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49765 file.
49766 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49767 file.
49768 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49769 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49770 file: multiarch memset for PPC32.
49771 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49773 memset 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/memcmp-power7.S: New
49778 file.
49779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49781 memcmp for PPC32.
49782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49784 multiarch objects.
49785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49786 (__libc_ifunc_impl_list): Likewise.
49787
49788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49791 file.
49792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49793 file.
49794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49795 file.
49796 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49797 multiarch memcpy for PPC32.
49798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49799 multiarch objects.
49800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49801 (__libc_ifunc_impl_list): Likewise.
49802
49803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49804 support multiarch for POWER/PPC32.
49805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49806 Likewise.
49807 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49809 Implies file to make multiarch folder appers before the fpu and
49810 default folder for power4 configuration.
49811
49812 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49813
49814 * scripts/bench.pl: Append volatile keyword to type.
49815
49816 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49817
49818 * sysdeps/sh/sotruss-lib.c: New file.
49819 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49820
49821 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49822
49823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49824
49825 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49826
49827 [BZ #6810]
49828 * math/w_tgamma.c: Include <errno.h>.
49829 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49830 * math/w_tgammaf.c: Include <errno.h>.
49831 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49832 * math/w_tgammal.c: Include <errno.h>.
49833 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49834 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49835 underflow. Add more tgamma tests.
49836 * math/auto-libm-test-out: Regenerated.
49837 * sysdeps/i386/fpu/libm-test-ulps: Update.
49838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49839
49840 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49841 sin, sinh, tan, tanh, tgamma, y0 and y1.
49842 * math/auto-libm-test-out: Regenerated.
49843 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49844 (TEST_COND_x86): Likewise.
49845 (M_E2l): Remove macro.
49846 (M_E3l): Likewise.
49847 (M_2_SQRT_PIl): Likewise.
49848 (M_SQRT_PIl): Likewise.
49849 (M_1_DIV_El): Likewise.
49850 (log_test_data): Use AUTO_TESTS_f_f.
49851 (log10_test_data): Likewise.
49852 (log1p_test_data): Likewise.
49853 (log2_test_data): Likewise.
49854 (sin_test_data): Likewise.
49855 (sin_tonearest_test_data): Likewise.
49856 (sin_towardzero_test_data): Likewise.
49857 (sin_downward_test_data): Likewise.
49858 (sin_upward_test_data): Likewise.
49859 (sinh_test_data): Likewise.
49860 (sinh_tonearest_test_data): Likewise.
49861 (sinh_towardzero_test_data): Likewise.
49862 (sinh_downward_test_data): Likewise.
49863 (sinh_upward_test_data): Likewise.
49864 (tan_test_data): Likewise.
49865 (tan_tonearest_test_data): Likewise.
49866 (tan_towardzero_test_data): Likewise.
49867 (tan_downward_test_data): Likewise.
49868 (tan_upward_test_data): Likewise.
49869 (tanh_test_data): Likewise.
49870 (tgamma_test_data): Likewise.
49871 (y0_test_data): Likewise.
49872 (y1_test_data): Likewise.
49873 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49874 (special_real_inputs): Add pi/4.
49875 * sysdeps/i386/fpu/libm-test-ulps: Update.
49876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49877
49878 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49879
49880 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49881 "longjmp_target" static probes.
49882 (__longjmp): Rename to __longjmp_symbol.
49883 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49884 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49885 on which longjmp to generate.
49886 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49887 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49888 probe.
49889 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49890 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49891 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49892 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49893 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49894 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49896 __longjmp_symbol based on which __longjmp to generate.
49897 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49898 probe.
49899 (setjmp): Rename to setjmp_symbol.
49900 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49901 (_setjmp): Rename to _setjmp_symbol.
49902 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49903 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49904 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49905 which setjmp to generate.
49906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49907 "longjmp_target" static probes.
49908
49909 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49910
49911 * benchtests/README: Add note about output arguments.
49912 * benchtests/bench-sincos.c: Remove file.
49913 * benchtests/sincos-inputs: New file.
49914 * scripts/bench.pl: Identify output arguments and define
49915 static variables for them.
49916
49917 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49918
49919 [BZ #15941]
49920 * Makefile (INSTALL): Add install-plain.texi as the primary
49921 dependency.
49922 * manual/install-plain.texi: New file.
49923 * manual/install.texi: Include node directive only for
49924 non-plaintext output.
49925
49926 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49927
49928 * stdlib/longlong.h: Update from GCC.
49929
49930 [BZ #6807]
49931 [BZ #15901]
49932 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49933 * math/w_j0f.c (y0f): Likewise.
49934 * math/w_j0l.c (__y0l): Likewise.
49935 * math/w_j1.c (y1): Likewise.
49936 * math/w_j1f.c (y1f): Likewise.
49937 * math/w_j1l.c (__y1l): Likewise.
49938 * math/w_jn.c (yn): Likewise.
49939 * math/w_jnf.c (ynf): Likewise.
49940 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49941 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49942 value for Bessel function domain errors outside _SVID_ mode.
49943 Adjust sign of return value for yn (negative integer, 0).
49944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49945 by zero in return for negative x and set sign appropriately for
49946 negative n.
49947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49949 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49950 expectations in error cases.
49951 (y1_test_data): Likewise.
49952 (yn_test_data): Likewise.
49953 * sysdeps/i386/fpu/libm-test-ulps: Update.
49954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49955
49956 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49957
49958 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49959 "64" to "64-v1". Add "64-v2".
49960 (abi-64-options): Rename to ...
49961 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49962 (abi-64-condition): Rename to ...
49963 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49964 (abi-64-ld-soname): Rename to ...
49965 (abi-64-v1-ld-soname): ... this.
49966 (abi-64-v2-options): Define.
49967 (abi-64-v2-condition): Likewise.
49968 (abi-64-v2-ld-soname): Likewise.
49969 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49970 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49974
49975 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49976 Alan Modra <amodra@gmail.com>
49977
49978 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49979 New versions for use with the ELFv2 ABI.
49980 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49981 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49982 declaration.
49983 (struct La_ppc64v2_retval): Likewise.
49984 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49985 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49986 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49987 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49988 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49989 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49990 Do not save or restore CR.
49991 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49992 (_dl_profile_resolve): Do no save or restore CR. Support extended
49993 return values for ELFv2 ABI. Fix location of FPR return registers.
49994 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49995 updated values for _CALL_ELF == 2.
49996 (La_regs, La_retval, int_retval): Likewise.
49997
49998 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49999
50000 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50001 (FRAME_MIN_SIZE_PARM): Likewise.
50002 (FRAME_BACKCHAIN): Likewise.
50003 (FRAME_CR_SAVE): Likewise.
50004 (FRAME_LR_SAVE): Likewise.
50005 (FRAME_TOC_SAVE): Likewise.
50006 (FRAME_PARM_SAVE): Likewise.
50007 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50008 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50009 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50010 (call_mcount_parm_offset): New macro.
50011 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50012 (PROF): Use symbolic stack frame offsets.
50013 (TAIL_CALL_SYSCALL_ERROR): Likewise.
50014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50015 Redefine in terms of FRAME_MIN_SIZE.
50016 (_dl_runtime_resolve): Use symbolic stack frame offsets.
50017 (_dl_profile_resolve): Likewise. Update comment.
50018 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50019 symbols stack frame offsets.
50020 (__sigsetjmp): Likewise.
50021 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50022 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50023 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50024 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50025
50026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50027 (FRAME_BACKCHAIN): Remove.
50028 (FRAME_CR_SAVE): Likewise.
50029 (FRAME_LR_SAVE): Likewise.
50030 (FRAME_COMPILER_DW): Likewise.
50031 (FRAME_LINKER_DW): Likewise.
50032 (FRAME_TOC_SAVE): Likewise.
50033 (FRAME_PARM_SAVE): Likewise.
50034 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50035 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50036 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50038 (CHECK_SP): Use symbolic stack frame offsets.
50039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50040 zone" instead of caller's parameter save area for temp storage.
50041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50042 Likewise. Also, use symbolic stack frame offsets.
50043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50044 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50045 our own stack frame instead of the caller's.
50046 (__socket): Use symbolic stack frame offsets.
50047
50048 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50049 Alan Modra <amodra@gmail.com>
50050
50051 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50052 Define.
50053 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50054 (PPC64_LOCAL_ENTRY_OFFSET): Define.
50055 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50056 New function.
50057 (elf_machine_fixup_plt): Call it.
50058 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
50059 reloc arguments.
50060 (elf_machine_rela): Update call to elf_machine_plt_conflict.
50061 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50062 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50063 r2 before calling target.
50064
50065 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50066 Alan Modra <amodra@gmail.com>
50067
50068 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50069 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50070 versions of macros to support ELFv2 ABI.
50071 (LOCALENTRY): New macro.
50072 (ENTRY, EALIGN): Use it.
50073 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50074 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50075 fall through into ENTRY entry point.
50076 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50077 Only define if _CALL_ELF != 2.
50078
50079 (elf_machine_matches_host): Verify ABI version matches.
50080 (RTLD_START): Use LOCALENTRY.
50081 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50082 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50083 (PLT_ENTRY_WORDS): New macro.
50084 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50085 (elf_machine_runtime_setup): Support ELFv2 ABI.
50086 (elf_machine_fixup_plt): Likewise.
50087 (elf_machine_plt_conflict): Likewise.
50088 (resolve_ifunc): Likewise.
50089 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50091 Likewise.
50092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50093 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50095 (makecontext): Support ELFv2 ABI.
50096 * elf/elf.h (EF_PPC64_ABI): Define.
50097
50098 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50099
50100 * sysdeps/powerpc/powerpc64/sysdep.h
50101 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50102 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50103 (ENTRY) [ASSEMBLER]: ... but instead here ...
50104 (EALIGN) [ASSEMBLER]: ... and here.
50105 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50106 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50107 (ENTRY_2) [!ASSEMBLER]: Use it.
50108 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50109 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
50110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50111 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50112 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50114 Use PPC64_LOAD_FUNCPTR.
50115
50116 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50117
50118 2013-12-04 Alan Modra <amodra@gmail.com>
50119
50120 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50121 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50122 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50123 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50124
50125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50126 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50127 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50128 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50129 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50130 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50131
50132 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50133
50134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50135 (__makecontext): Fix incorrect CFI when backtracing out of
50136 context created via makecontext.
50137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50138 (__setcontext): Fix incorrect CFI during switch to new context.
50139 (__novec_setcontext): Likewise.
50140
50141 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50142
50143 [BZ #4772]
50144 * time/strptime_l.c (__strptime_internal): Allow modifiers
50145 in strptime.
50146 * time/tst-strptime.c (day_tests): Add testcase.
50147
50148 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50149
50150 * scripts/bench.pl: Skip over blank lines.
50151
50152 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
50153
50154 [BZ #926]
50155 * manual/time.texi (Calendar Time): Clarify what timezone functions
50156 use.
50157
50158 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50159
50160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50161
50162 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50163
50164 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50165 implementation.
50166 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50167 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50168 * debug/memset_chk.c (__memset_chk): Likewise.
50169 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50170 * debug/strncpy_chk.c: Likewise.
50171
50172 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50173
50174 [BZ #15268]
50175 [BZ #15425]
50176 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50177 (__ieee754_exp): For possibly underflowing results, check size of
50178 result and force underflow exception if required.
50179 * math/auto-libm-test-in: Add more tests of exp.
50180 * math/auto-libm-test-out: Regenerated.
50181 * sysdeps/i386/fpu/libm-test-ulps: Update.
50182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50183
50184 [BZ #16283]
50185 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50186 * math/w_exp2f.c (__exp2f): Likewise.
50187 * math/w_exp2l.c (__exp2l): Likewise.
50188 * math/auto-libm-test-in: Do not allow missing errno on exp2
50189 underflow.
50190 * math/auto-libm-test-out: Regenerated.
50191
50192 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50193
50194 [BZ #16274]
50195 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50196 handle filename validation.
50197 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50198 (do_open): Delete.
50199
50200 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50201
50202 [BZ #6786]
50203 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50204 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50205 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50206 <float.h>.
50207 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50208 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50209 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50211 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50212 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50213 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50214 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50215 Add more erfc tests.
50216 * math/auto-libm-test-out: Regenerated.
50217 * sysdeps/i386/fpu/libm-test-ulps: Update.
50218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50219
50220 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50221 exp2, expm1, j0 and j1.
50222 * math/auto-libm-test-out: Regenerated.
50223 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50224 (erfc_test_data): Likewise.
50225 (exp_test_data): Likewise.
50226 (exp_tonearest_test_data): Likewise.
50227 (exp_towardzero_test_data): Likewise.
50228 (exp_downward_test_data): Likewise.
50229 (exp_upward_test_data): Likewise.
50230 (exp10_test_data): Likewise.
50231 (exp2_test_data): Likewise.
50232 (expm1_test_data): Likewise.
50233 (j0_test_data): Likewise.
50234 (j1_test_data): Likewise.
50235 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50236 (input_flag_type): Add flag_xfail_rounding.
50237 (input_flags): Add xfail-rounding.
50238 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50239 (output_for_one_input_case): Handle flag_xfail_rounding.
50240 * sysdeps/i386/fpu/libm-test-ulps: Update.
50241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50242
50243 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50244
50245 [BZ #16289]
50246 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50247 division by 0.
50248
50249 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50250
50251 [BZ #16195]
50252 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50253 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50254 (STAP_PROBE0): New macro.
50255 (STAP_PROBE1): Likewise.
50256 (STAP_PROBE2): Likewise.
50257 (STAP_PROBE3): Likewise.
50258 (STAP_PROBE4): Likewise.
50259
50260 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50261
50262 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50263
50264 2013-12-02 Steve Ellcey <sellcey@mips.com>
50265
50266 * benchtests/Makefile (bench): Add sqrt.
50267 (LDLIBS-bench-sqrt): New.
50268 * benchtests/sqrt-input: New.
50269
50270 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50271
50272 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50273 (GAIH_EAI): Likewise.
50274 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50275 (gaih_inet): Likewise.
50276 (getaddrinfo): Don't use GAIH_EAI.
50277
50278 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50279 (struct gaih): Remove definition.
50280
50281 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50282
50283 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50284 Use HERRNOP directly.
50285
50286 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50287
50288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50289
50290 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50291
50292 * math/gen-auto-libm-tests.c (test_functions): Add more
50293 single-argument functions.
50294 (special_fill_pi_2): New function.
50295 (special_fill_minus_pi_2): Likewise.
50296 (special_fill_pi_6): Likewise.
50297 (special_fill_minus_pi_6): Likewise.
50298 (special_fill_pi_3): Likewise.
50299 (special_fill_2pi_3): Likewise.
50300 (special_fill_e): Likewise.
50301 (special_fill_1_e): Likewise.
50302 (special_fill_e_minus_1): Likewise.
50303 (special_real_inputs): Add more special inputs.
50304 (output_for_one_input_case): Do not require ERANGE on underflow to
50305 zero if round-to-nearest result does not underflow to zero, unless
50306 exact results required.
50307 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50308 atan, atanh, cbrt, cos and cosh.
50309 * math/auto-libm-test-out: Regenerated.
50310 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50311 (acos_tonearest_test_data): Likewise.
50312 (acos_towardzero_test_data): Likewise.
50313 (acos_downward_test_data): Likewise.
50314 (acos_upward_test_data): Likewise.
50315 (acosh_test_data): Likewise.
50316 (asin_test_data): Likewise.
50317 (asin_tonearest_test_data): Likewise.
50318 (asin_towardzero_test_data): Likewise.
50319 (asin_upward_test_data): Likewise.
50320 (asinh_test_data): Likewise.
50321 (atan_test_data): Likewise.
50322 (atanh_test_data): Likewise.
50323 (cbrt_test_data): Likewise.
50324 (cos_test_data): Likewise.
50325 (cos_tonearest_test_data): Likewise.
50326 (cos_towardzero_test_data): Likewise.
50327 (cos_downward_test_data): Likewise.
50328 (cos_upward_test_data): Likewise.
50329 (cosh_test_data): Likewise.
50330 (cosh_tonearest_test_data): Likewise.
50331 (cosh_towardzero_test_data): Likewise.
50332 (cosh_downward_test_data): Likewise.
50333 (cosh_upward_test_data): Likewise.
50334 * sysdeps/i386/fpu/libm-test-ulps: Update.
50335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50336
50337 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50338
50339 [BZ #6787]
50340 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50341 * math/w_exp10f.c (__exp10f): Likewise.
50342 * math/w_exp10l.c (__exp10l): Likewise.
50343 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50344 errno settings in existing tests.
50345
50346 [BZ #14032]
50347 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50348 precision control set to double precision.
50349 * sysdeps/i386/fpu/w_sqrt.c: New file.
50350 * math/auto-libm-test-in: Add more tests.
50351 * math/auto-libm-test-out: Update.
50352
50353 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50354 (sqrt_test_tonearest): New function.
50355 (sqrt_towardzero_test_data): New variable.
50356 (sqrt_test_towardzero): New function.
50357 (sqrt_downward_test_data): New variable.
50358 (sqrt_test_downward): New function.
50359 (sqrt_upward_test_data): New variable.
50360 (sqrt_test_upward): New function.
50361 (main): Call the new functions.
50362
50363 * math/gen-auto-libm-tests.c: New file.
50364 * math/auto-libm-test-in: Likewise.
50365 * math/auto-libm-test-out: New generated file.
50366 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50367 variables.
50368 (%beautify): Add generated representations of zero.
50369 (top level): Set $auto_input and call parse_auto_input.
50370 (beautify): Remove trailing "f" from hex float constants.
50371 (parse_args): Handle XFAIL_TEST.
50372 (convert_condition): New function.
50373 (or_value): Likewise.
50374 (or_cond_value): Likewise.
50375 (generate_testfile): Handle AUTO_TESTS_* lines.
50376 (parse_auto_input): New function.
50377 * math/libm-test.inc (XFAIL_TEST): New macro.
50378 (ERRNO_UNCHANGED): Update value.
50379 (ERRNO_EDOM): Likewise.
50380 (ERRNO_ERANGE): Likewise.
50381 (IGNORE_RESULT): Likewise.
50382 (TEST_COND_flt_32): New macro.
50383 (TEST_COND_dbl_64): Likewise.
50384 (TEST_COND_ldbl_96_intel): Likewise.
50385 (TEST_COND_ldbl_96_m68k): Likewise.
50386 (TEST_COND_ldbl_128): Likewise.
50387 (TEST_COND_ldbl_128ibm): Likewise.
50388 (TEST_COND_long32): Likewise.
50389 (TEST_COND_long64): Likewise.
50390 (TEST_COND_before_rounding): Likewise.
50391 (TEST_COND_after_rounding): Likewise.
50392 (enable_test): Handle XFAIL_TEST flag.
50393 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50394 with finite results.
50395 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50396 auto-libm-test-out.
50397
50398 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50399 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50400
50401 [BZ #16214]
50402 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50403 __tls_get_addr_internal instead of __tls_get_offset in order to
50404 avoid GOT pointer dependency. Make rtld export
50405 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50406 __tls_get_addr since we are a __tls_get_offset platform.
50407 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50408 GOT pointer being set up before.
50409 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50410
50411 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50412
50413 * manual/math.texi (Errors in Math Functions): Document accuracy
50414 goals.
50415
50416 [BZ #15004]
50417 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50418 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50425 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50426 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50427 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50430 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50432 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50433
50434 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50435 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50436 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50437 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50438 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50439 Likewise.
50440 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50441 Likewise.
50442 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50443 Likewise.
50444 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50445 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50446 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50447 atomic-feupdateenv and flt-rounds.
50448 * sysdeps/powerpc/nofpu/Versions (libc): Add
50449 __atomic_feholdexcept, __atomic_feclearexcept,
50450 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50451 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50452 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50453 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50454 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50455 here.
50456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50457 Update.
50458
50459 * manual/arith.texi (FP Exceptions): Document that exceptions may
50460 not be raised when matherr is used.
50461 (Math Error Reporting): Document overflow in directed rounding
50462 modes. Document that errno may not be set when finite values are
50463 returned on overflow. Document intent to set errno on underflow
50464 only for underflow to zero.
50465
50466 [BZ #16271]
50467 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50468 round-to-nearest then adjust result for other rounding modes.
50469 * include/fenv.h (fegetround): Use libm_hidden_proto.
50470 * math/fegetround.c (fegetround): Use libm_hidden_def.
50471 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50472 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50473 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50475 Likewise.
50476 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50477 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50478 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50479 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50480
50481 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50482
50483 [BZ #16077]
50484 * nss/Versions (libnss_files): Add
50485 _nss_files_gethostbyname3_r.
50486 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50487 New function.
50488 (HOST_DB_LOOKUP): Remove macro.
50489 (_nss_files_gethostbyname_r): Implement function without the
50490 HOST_DB_LOOKUP macro.
50491 (_nss_files_gethostbyname2_r): Likewise.
50492
50493 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50494
50495 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50496
50497 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50498
50499 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50500 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50501 warning.
50502
50503 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50504
50505 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50506 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50508 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50509 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50510 __fe_nomask_env_priv and attribute_hidden.
50511 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50512 (libc_feupdateenv_test_ppc): Likewise.
50513 (libc_feresetround_ppc): Likewise.
50514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50515 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50516 compat_symbol macro.
50517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50518 (__fe_nomask_env): Likewise.
50519 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50520
50521 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50522
50523 * string/Makefile: Remove ifunc tests.
50524 * string/test-string.h: Define TEST_IFUNC.
50525 * string/test-bcopy-ifunc.c: Remove.
50526 * string/test-bzero-ifunc.c: Likewise.
50527 * string/test-memccpy-ifunc.c: Likewise.
50528 * string/test-memchr-ifunc.c: Likewise.
50529 * string/test-memcmp-ifunc.c: Likewise.
50530 * string/test-memcpy-ifunc.c: Likewise.
50531 * string/test-memmem-ifunc.c: Likewise.
50532 * string/test-memmove-ifunc.c: Likewise.
50533 * string/test-mempcpy-ifunc.c: Likewise.
50534 * string/test-memrchr-ifunc.c: Likewise.
50535 * string/test-memset-ifunc.c: Likewise.
50536 * string/test-rawmemchr-ifunc.c: Likewise.
50537 * string/test-stpcpy-ifunc.c: Likewise.
50538 * string/test-stpncpy-ifunc.c: Likewise.
50539 * string/test-strcasecmp-ifunc.c: Likewise.
50540 * string/test-strcasestr-ifunc.c: Likewise.
50541 * string/test-strcat-ifunc.c: Likewise.
50542 * string/test-strchr-ifunc.c: Likewise.
50543 * string/test-strchrnul-ifunc.c: Likewise.
50544 * string/test-strcmp-ifunc.c: Likewise.
50545 * string/test-strcpy-ifunc.c: Likewise.
50546 * string/test-strcspn-ifunc.c: Likewise.
50547 * string/test-strlen-ifunc.c: Likewise.
50548 * string/test-strncasecmp-ifunc.c: Likewise.
50549 * string/test-strncat-ifunc.c: Likewise.
50550 * string/test-strncmp-ifunc.c: Likewise.
50551 * string/test-strncpy-ifunc.c: Likewise.
50552 * string/test-strnlen-ifunc.c: Likewise.
50553 * string/test-strpbrk-ifunc.c: Likewise.
50554 * string/test-strrchr-ifunc.c: Likewise.
50555 * string/test-strspn-ifunc.c: Likewise.
50556 * string/test-strstr-ifunc.c: Likewise.
50557
50558 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50559
50560 * benchtests/Makefile: Remove ifunc tests.
50561 * benchtests/bench-string.h: Define TEST_IFUNC.
50562 * benchtests/bench-bcopy-ifunc.c: Remove.
50563 * benchtests/bench-bzero-ifunc.c: Likewise.
50564 * benchtests/bench-memccpy-ifunc.c: Likewise.
50565 * benchtests/bench-memchr-ifunc.c: Likewise.
50566 * benchtests/bench-memcmp-ifunc.c: Likewise.
50567 * benchtests/bench-memcpy-ifunc.c: Likewise.
50568 * benchtests/bench-memmem-ifunc.c: Likewise.
50569 * benchtests/bench-memmove-ifunc.c: Likewise.
50570 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50571 * benchtests/bench-memrchr-ifunc.c: Likewise.
50572 * benchtests/bench-memset-ifunc.c: Likewise.
50573 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50574 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50575 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50576 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50577 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50578 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50579 * benchtests/bench-strcat-ifunc.c: Likewise.
50580 * benchtests/bench-strchr-ifunc.c: Likewise.
50581 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50582 * benchtests/bench-strcmp-ifunc.c: Likewise.
50583 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50584 * benchtests/bench-strcpy-ifunc.c: Likewise.
50585 * benchtests/bench-strcspn-ifunc.c: Likewise.
50586 * benchtests/bench-strlen-ifunc.c: Likewise.
50587 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50588 * benchtests/bench-strncat-ifunc.c: Likewise.
50589 * benchtests/bench-strncmp-ifunc.c: Likewise.
50590 * benchtests/bench-strncpy-ifunc.c: Likewise.
50591 * benchtests/bench-strnlen-ifunc.c: Likewise.
50592 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50593 * benchtests/bench-strrchr-ifunc.c: Likewise.
50594 * benchtests/bench-strsep-ifunc.c: Likewise.
50595 * benchtests/bench-strspn-ifunc.c: Likewise.
50596 * benchtests/bench-strstr-ifunc.c: Likewise.
50597
50598 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50599
50600 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50601
50602 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50603
50604 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50605 * rt/aio.h: Likewise.
50606 * sysdeps/gnu/bits/utmp.h: Likewise.
50607 * sysdeps/gnu/bits/utmpx.h: Likewise.
50608 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50609 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50610 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50611 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50612 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50613 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50614 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50615 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50616 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50617 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50618 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50619 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50620 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50622 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50623 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50624 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50625 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50626 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50627 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50628 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50629 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50630 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50631 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50632 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50634 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50635 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50636 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50637 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50638 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50639 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50640 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50641 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50642 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50643 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50644 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50645 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50646 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50647 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50648 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50649 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50650
50651 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50652
50653 [BZ #16245]
50654 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50655 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50656
50657 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50658
50659 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50660 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50661 Likewise.
50662
50663 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50664
50665 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50666 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50667 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50668 (__fesetround): Remove define.
50669 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50670 rounding and exceptions handling.
50671 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50672 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50673 (__fe_nomask_env): Likewise.
50674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50675 __fegetround instead of fegetround.
50676 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50677 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50678
50679 2013-11-21 Roland McGrath <roland@hack.frob.com>
50680
50681 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50682 it's there.
50683
50684 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50685
50686 2013-11-21 Meador Inge <meadori@codesourcery.com>
50687
50688 [BZ #11157]
50689 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50690 (encrypt_r): Likewise.
50691 * malloc/obstack.h (obstack_free): Likewise.
50692 * posix/unistd.h (encrypt): Likewise.
50693
50694 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50695
50696 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50697 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50698 DL_CALL_DT_FINI() that call the functions directly.
50699 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50700 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50701 * elf/dl-fini.c: Likewise.
50702
50703 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50704
50705 * malloc/hooks.c (memalign_check): Add alignment rounding.
50706 * malloc/malloc.c (_mid_memalign): New function.
50707 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50708 Implement by calling _mid_memalign.
50709 * manual/probes.texi (Memory Allocation Probes): Remove
50710 memory_valloc_retry and memory_pvalloc_retry.
50711
50712 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50713
50714 * locale/programs/locarchive.c (open_archive): Add const
50715 qualifier to ARCHIVEFNAME and copy default fname to
50716 DEFAULT_FNAME.
50717
50718 [BZ #15601]
50719 * libio/tst-widetext.input: Rename Oriya to Odia.
50720 * locale/iso-639.def: Likewise.
50721
50722 * manual/probes.texi (Mathematical Function Probes): Add
50723 documentation for sin, cos, asin and acos probes.
50724 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50725 (__sin32): Add slowasin probe.
50726 (__cos32): Add slowacos probe.
50727 (__mpsin): Add slowsin probe.
50728 (__mpcos): Add slowcos probe.
50729
50730 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50731
50732 [BZ #15483]
50733 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50734 thread-local __sim_exceptions_thread and global
50735 __sim_exceptions_global.
50736 (__sim_disabled_exceptions): Change to thread-local
50737 __sim_disabled_exceptions_thread and global
50738 __sim_disabled_exceptions_global.
50739 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50740 and global __sim_round_mode_global.
50741 (__simulate_exceptions): Use thread-local floating-point state and
50742 set global state from it as needed.
50743 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50744 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50745 __sim_round_mode_thread.
50746 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50747 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50748 and global __sim_exceptions_global.
50749 (__sim_disabled_exceptions): Change to thread-local
50750 __sim_disabled_exceptions_thread and global
50751 __sim_disabled_exceptions_global.
50752 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50753 and global __sim_round_mode_global.
50754 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50755 (SIM_SET_GLOBAL): Likewise.
50756 * sysdeps/powerpc/soft-fp/sfp-machine.h
50757 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50758 __sim_round_mode_thread.
50759 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50760 __sim_disabled_exceptions_thread.
50761 (__sim_exceptions): Change to __sim_exceptions_thread.
50762 (__sim_disabled_exceptions): Change to
50763 __sim_disabled_exceptions_thread.
50764 (__sim_round_mode): Change to __sim_round_mode_thread.
50765 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50766 thread-local floating-point state and set global state from it as
50767 needed.
50768 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50769 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50770 (__sim_disabled_exceptions): Remove extern declaration.
50771 (feenableexcept): Use thread-local floating-point state and set
50772 global state from it as needed.
50773 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50774 extern declaration.
50775 (__sim_disabled_exceptions): Likewise.
50776 (__sim_round_mode): Likewise.
50777 (__fegetenv): Use thread-local floating-point state.
50778 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50779 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50780 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50781 floating-point state and set global state from it as needed.
50782 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50783 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50784 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50785 Likewise.
50786 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50787 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50788 Likewise.
50789 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50790 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50791 Use __sim_round_mode_thread.
50792 * math/test-fenv-tls.c: New file.
50793 * math/Makefile (tests): Add test-fenv-tls.
50794 ($(objpfx)test-fenv-tls): Depend on
50795 $(common-objpfx)nptl/libpthread.so.
50796
50797 2013-11-19 Andreas Schwab <schwab@suse.de>
50798
50799 * locale/programs/locale.c (show_info): Decode wordarray elements.
50800 * locale/categories.def (LC_MONETARY): Add element for
50801 _NL_MONETARY_CRNCYSTR.
50802 * locale/C-monetary.c (conversion_rate): New variable.
50803 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50804 element.
50805
50806 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50807
50808 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50809 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50810
50811 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50812
50813 * elf/Makefile (tst-auxv): New test.
50814 * elf/tst-auxv.c: New
50815 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50816
50817 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50818
50819 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50820 (hidden_proto): Caller changed.
50821 (hidden_tls_proto): New macro.
50822 (libc_hidden_tls_proto): Likewise.
50823 (rtld_hidden_tls_proto): Likewise.
50824 (libm_hidden_tls_proto): Likewise.
50825 (libresolv_hidden_tls_proto): Likewise.
50826 (librt_hidden_tls_proto): Likewise.
50827 (libdl_hidden_tls_proto): Likewise.
50828 (libnss_files_hidden_tls_proto): Likewise.
50829 (libnsl_hidden_tls_proto): Likewise.
50830 (libnss_nisplus_hidden_tls_proto): Likewise.
50831 (libutil_hidden_tls_proto): Likewise.
50832
50833 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50834
50835 [BZ #10253]
50836 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50837 (decompose_rpath): Defer expansion to fillin_rpath.
50838 (_dl_init_paths): Pass linkmap to fillin_rpath.
50839
50840 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50841
50842 * benchtests/Makefile: Add strsep.
50843 * benchtests/bench-strsep.c: New file: strsep benchtest.
50844 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50845
50846 2013-11-18 Andreas Schwab <schwab@suse.de>
50847
50848 * locale/programs/locale.c (show_info) [case byte]: Check for
50849 '\377' instead of '\177'.
50850 * locale/C-monetary.c (not_available): Always use "\377".
50851 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50852 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50853 detect unavailable sign_posn locale elements.
50854 * locale/localeconv.c (__localeconv): For grouping and
50855 mon_grouping handle "\177" and "\377" like no grouping.
50856 (INT_ELEM): New macro. Use it to set all numeric members.
50857 * locale/programs/ld-monetary.c (monetary_read)
50858 <tok_mon_grouping>: Normalize single -1 to the empty string.
50859 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50860 Likewise.
50861
50862 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50863
50864 [BZ #16055]
50865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50866 when we match (nil).
50867 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50868
50869 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50870
50871 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50872 (NO_TEST_INLINE): Update value.
50873 (ERRNO_UNCHANGED): Likewise.
50874 (ERRNO_EDOM): Likewise.
50875 (ERRNO_ERANGE): Likewise.
50876 (IGNORE_RESULT): Likewise.
50877 (check_float_internal): Check signs of NaN results if
50878 TEST_NAN_SIGN used.
50879 (check_complex): Pass TEST_NAN_SIGN flag through to second
50880 check_float_internal call.
50881 (copysign_test_data): Add tests with quiet NaNs as second
50882 argument. Use TEST_NAN_SIGN.
50883 (fabs_test_data): Add test of negative quiet NaN argument. Use
50884 TEST_NAN_SIGN.
50885 (signbit_test_data): Add tests of quiet NaN argument.
50886 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50887
50888 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50889 $ignore_result.
50890 (parse_args): Handle function results specified as IGNORE.
50891 * math/libm-test.inc (IGNORE_RESULT): New macro.
50892 (check_float_internal): Do not check numerical result if flag
50893 IGNORE_RESULT set.
50894 (check_complex): Pass through IGNORE_RESULT to second
50895 check_float_internal call.
50896 (check_int): Do not check numerical result if flag IGNORE_RESULT
50897 set.
50898 (check_long): Likewise.
50899 (check_bool): Likewise.
50900 (check_longlong): Likewise.
50901 (lrint_test_data): Add tests of infinite and NaN arguments.
50902 (lrint_tonearest_test_data): Likewise.
50903 (lrint_towardzero_test_data): Likewise.
50904 (lrint_downward_test_data): Likewise.
50905 (lrint_upward_test_data): Likewise.
50906 (llrint_test_data): Likewise.
50907 (llrint_tonearest_test_data): Likewise.
50908 (llrint_towardzero_test_data): Likewise.
50909 (llrint_downward_test_data): Likewise.
50910 (llrint_upward_test_data): Likewise.
50911 (lround_test_data): Likewise.
50912 (llround_test_data): Likewise.
50913
50914 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50915 (ERRNO_UNCHANGED): Update value.
50916 (ERRNO_EDOM): Likewise.
50917 (ERRNO_ERANGE): Likewise.
50918 (NO_TEST_INLINE_FLOAT): New macro.
50919 (NO_TEST_INLINE_DOUBLE): Likewise.
50920 (enable_test): New function.
50921 (RUN_TEST_f_f): Check enable_test before running test.
50922 (RUN_TEST_2_f): Likewise.
50923 (RUN_TEST_fff_f): Likewise.
50924 (RUN_TEST_c_f): Likewise.
50925 (RUN_TEST_f_f1): Likewise.
50926 (RUN_TEST_fF_f1): Likewise.
50927 (RUN_TEST_fI_f1): Likewise.
50928 (RUN_TEST_ffI_f1): Likewise.
50929 (RUN_TEST_c_c): Likewise.
50930 (RUN_TEST_cc_c): Likewise.
50931 (RUN_TEST_f_i): Likewise.
50932 (RUN_TEST_f_i_tg): Likewise.
50933 (RUN_TEST_ff_i_tg): Likewise.
50934 (RUN_TEST_f_b): Likewise.
50935 (RUN_TEST_f_b_tg): Likewise.
50936 (RUN_TEST_f_l): Likewise.
50937 (RUN_TEST_f_L): Likewise.
50938 (RUN_TEST_fFF_11): Likewise.
50939 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50940 conditionals.
50941 (cosh_test_data): Likewise.
50942 (exp_test_data): Likewise.
50943 (expm1_test_data): Likewise.
50944 (hypot_test_data): Likewise.
50945 (pow_test_data): Likewise.
50946 (sinh_test_data): Likewise.
50947 (tanh_test_data): Likewise.
50948 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50949 flags argument.
50950
50951 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50952 tests with quiet NaN input and output.
50953 (acosh_test_data): Likewise.
50954 (asin_test_data): Likewise.
50955 (asinh_test_data): Likewise.
50956 (atan_test_data): Likewise.
50957 (atanh_test_data): Likewise.
50958 (atan2_test_data): Likewise.
50959 (cbrt_test_data): Likewise.
50960 (cos_test_data): Likewise.
50961 (cosh_test_data): Likewise.
50962 (erf_test_data): Likewise.
50963 (erfc_test_data): Likewise.
50964 (exp_test_data): Likewise.
50965 (exp10_test_data): Likewise.
50966 (exp2_test_data): Likewise.
50967 (expm1_test_data): Likewise.
50968 (hypot_test_data): Likewise.
50969 (j0_test_data): Likewise.
50970 (j1_test_data): Likewise.
50971 (jn_test_data): Likewise.
50972 (lgamma_test_data): Likewise.
50973 (log_test_data): Likewise.
50974 (log10_test_data): Likewise.
50975 (log1p_test_data): Likewise.
50976 (log2_test_data): Likewise.
50977 (pow_test_data): Likewise.
50978 (scalb_test_data): Likewise.
50979 (sin_test_data): Likewise.
50980 (sincos_test_data): Likewise.
50981 (sinh_test_data): Likewise.
50982 (tan_test_data): Likewise.
50983 (tanh_test_data): Likewise.
50984 (tgamma_test_data): Likewise.
50985 (y0_test_data): Likewise.
50986 (y1_test_data): Likewise.
50987 (yn_test_data): Likewise.
50988
50989 [BZ #16167]
50990 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50991 argument being NaN and avoid computations with second argument in
50992 that case.
50993 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50994 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50995 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50996
50997 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50998
50999 * locale/iso-639.def: Add Chitwani Tharu (the).
51000
51001 2013-11-14 Andreas Schwab <schwab@suse.de>
51002
51003 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51004 word instead of empty string.
51005
51006 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51007
51008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51009 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51011 (__fe_nomask_env): Likewise.
51012
51013 2013-11-13 Steve Ellcey <sellcey@mips.com>
51014
51015 * benchtests/bench-timing.h: Include time.h.
51016
51017 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
51018
51019 [BZ #15997]
51020 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51021 to 3.4.0 for x32.
51022 * sysdeps/unix/sysv/linux/configure: Regenerated.
51023
51024 2013-11-13 Joseph Myers <joseph@codesourcery.com>
51025
51026 [BZ #16151]
51027 * stdlib/strtod_l.c (round_and_return): Do not consider
51028 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51029 exponent one less than half the least subnormal exponent.
51030 * stdlib/test-strtod-round-data: Add more tests.
51031 * stdlib/tst-strtod-round.c (tests): Regenerated.
51032
51033 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51034
51035 [BZ #14143]
51036 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51037 (__fe_mask_env): Likewise.
51038 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51039 libm_hidden_proto and add function prototype.
51040 (__fe_mask_env): Add function prototype.
51041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51042 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51044 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51046 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51047
51048 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51049
51050 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51051 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51052
51053 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51054
51055 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51056 of htab_find_slot().
51057
51058 2013-11-11 David S. Miller <davem@davemloft.net>
51059
51060 [BZ #16150]
51061 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51062 symbol in the non-vis3 case in static builds.
51063 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51064 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51065 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51067
51068 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
51069
51070 [BZ #387]
51071 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51072 it is empty.
51073
51074 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51075
51076 * benchtests/Makefile: Add bench-strtod.
51077 * benchtests/bench-strtod.c: New file: strtod benchtest
51078
51079 2013-11-11 Andreas Schwab <schwab@suse.de>
51080
51081 [BZ #16153]
51082 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51083 terminating NUL in key length.
51084
51085 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51086
51087 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51088 Add artificial ODP entry for vDSO symbol for PPC64.
51089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51090 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51091
51092 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51093
51094 [BZ #15374]
51095 * nss/getent.c (services_keys): Recognize services starting with digit.
51096
51097 2013-11-06 David S. Miller <davem@davemloft.net>
51098
51099 [BZ #15985]
51100 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51101 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51102
51103 2013-11-06 Will Newton <will.newton@linaro.org>
51104
51105 * manual/memory.texi (Malloc Examples): Remove register
51106 keyword from examples.
51107
51108 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
51109
51110 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51111
51112 2013-11-04 Joseph Myers <joseph@codesourcery.com>
51113
51114 [BZ #6981]
51115 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51116 depending on [__GCC_IEC_559 > 0].
51117 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51118 depending on [__GCC_IEC_559_COMPLEX > 0].
51119
51120 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
51121
51122 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51123 to iso-639.def.
51124
51125 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
51126
51127 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51128
51129 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
51130
51131 [BZ #16112]
51132 * malloc/malloc (malloc_info): Do not handle first bin as
51133 special case.
51134
51135 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
51136
51137 * locale/iso-639.def: Add Central Nahuatl (nhn).
51138
51139 2013-11-01 Bruno Haible <bruno@clisp.org>
51140
51141 [BZ #7003]
51142 * manual/math.texi (BSD Random): Specify range upper bound as
51143 in POSIX.
51144
51145 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
51146
51147 * locale/iso-639.def: Add Meadow Mari (mhr).
51148
51149 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
51150
51151 [BZ #14752], [BZ #15763]
51152 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51153 Validate name.
51154 * rt/tst_shm.c: Add test for escaping directory.
51155
51156 2013-10-31 Andreas Schwab <schwab@suse.de>
51157
51158 [BZ #15917]
51159 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51160 followed by 'x' as part of digit sequence.
51161 * stdio-common/tst-sscanf.c (double_tests2): New tests.
51162
51163 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51164
51165 [BZ #16037]
51166 * configure.ac: allow GNU Make 4.0 and greater.
51167 * configure: Regenerated.
51168
51169 2013-10-30 Will Newton <will.newton@linaro.org>
51170
51171 [BZ #16038]
51172 * malloc/hooks.c (memalign_check): Limit alignment to the
51173 maximum representable power of two.
51174 * malloc/malloc.c (__libc_memalign): Likewise.
51175 * malloc/tst-memalign.c (do_test): Add test for very
51176 large alignment values.
51177 * malloc/tst-posix_memalign.c (do_test): Likewise.
51178
51179 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51180
51181 [BZ #11087]
51182 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51183 (munmap_chunk): Likewise.
51184 (mremap_chunk): Likewise.
51185
51186 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51187
51188 [BZ #15799]
51189 * stdlib/div.c (div): Remove obsolete code.
51190 * stdlib/ldiv.c (ldiv): Likewise.
51191 * stdlib/lldiv.c (lldiv): Likewise.
51192
51193 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51194
51195 [BZ #16071]
51196 * nss/nss_files/files-XXX.c (get_contents_ret): New
51197 enumerator.
51198 (get_contents): New function.
51199 (internal_getent): Use it. Expand size of LINEBUFLEN.
51200
51201 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51202
51203 * configure.in: Moved to ...
51204 * configure.ac: ... here. Change reference to configure.in
51205 to configure.ac.
51206 * sysdeps/arm/preconfigure.ac: ... here.
51207 configure.in to configure.ac.
51208 * sysdeps/gnu/configure.in: Moved to ...
51209 * sysdeps/gnu/configure.ac: ... here.
51210 * sysdeps/i386/configure.in: Moved to ...
51211 * sysdeps/i386/configure.ac: ... here.
51212 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51213 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51214 * sysdeps/mach/configure.in: Moved to ...
51215 * sysdeps/mach/configure.ac: ... here.
51216 * sysdeps/mach/hurd/configure.in: Moved to ...
51217 * sysdeps/mach/hurd/configure.ac: ... here.
51218 * sysdeps/powerpc/configure.in: Moved to ...
51219 * sysdeps/powerpc/configure.ac: ... here.
51220 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51221 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51222 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51223 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51224 * sysdeps/s390/s390-32/configure.in: Moved to ...
51225 * sysdeps/s390/s390-32/configure.ac: ... here.
51226 * sysdeps/s390/s390-64/configure.in: Moved to ...
51227 * sysdeps/s390/s390-64/configure.ac: ... here.
51228 * sysdeps/sh/configure.in: Moved to ...
51229 * sysdeps/sh/configure.ac: ... here.
51230 * sysdeps/sparc/configure.in: Moved to ...
51231 * sysdeps/sparc/configure.ac: ... here.
51232 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51233 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51234 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51235 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51236 * sysdeps/x86_64/configure.in: Moved to ...
51237 * sysdeps/x86_64/configure.ac: ... here.
51238 * sysdeps/x86_64/preconfigure.in: Moved to ...
51239 * sysdeps/x86_64/preconfigure.ac: ... here.
51240 * aclocal.m4: Change reference to configure.in to configure.ac.
51241 * config.h.in: Likewise.
51242 * manual/install.texi: Likewise.
51243 * manual/maint.texi: Likewise.
51244 * Makefile: Likewise.
51245 * malloc/Makefile: Likewise.
51246 * nscd/Makefile: Likewise.
51247 * Makeconfig: Change reference to configure.in and
51248 preconfigure.in to configure.ac and preconfigure.ac
51249 respectively.
51250 * INSTALL: Regenerated.
51251 * configure: Likewise.
51252 * sysdeps/gnu/configure: Likewise.
51253 * sysdeps/i386/configure: Likewise.
51254 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51255 * sysdeps/mach/configure: Likewise.
51256 * sysdeps/mach/hurd/configure: Likewise.
51257 * sysdeps/powerpc/configure: Likewise.
51258 * sysdeps/powerpc/powerpc32/configure: Likewise.
51259 * sysdeps/powerpc/powerpc64/configure: Likewise.
51260 * sysdeps/s390/s390-32/configure: Likewise.
51261 * sysdeps/s390/s390-64/configure: Likewise.
51262 * sysdeps/sh/configure: Likewise.
51263 * sysdeps/sparc/configure: Likewise.
51264 * sysdeps/unix/sysv/linux/configure: Likewise.
51265 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51266 * sysdeps/x86_64/configure: Likewise.
51267 * sysdeps/x86_64/preconfigure: Likewise.
51268
51269 2013-10-29 Andreas Schwab <schwab@suse.de>
51270
51271 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51272
51273 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51274
51275 * benchtests/pow-inputs: Add new inputs.
51276
51277 * benchtests/exp-inputs: Add new inputs.
51278
51279 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51280 conditional check for return value.
51281 (__cos32): Likewise.
51282
51283 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51284
51285 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51286 to provide a boost for large inputs with word alignment.
51287 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51288 implementation based on optimized PPC64 strcpy.
51289 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51290 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51291 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51292 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51293
51294 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51295
51296 [BZ #2801]
51297 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51298
51299 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51300
51301 [BZ #14876]
51302 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51303 * time/tst-strptime.c (day_tests): Add testcase.
51304
51305 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51306
51307 [BZ #14029]
51308 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51309
51310 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51311
51312 [BZ #16074]
51313 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51314 MAP_FAILED on error.
51315
51316 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51317
51318 [BZ #16072]
51319 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51320 heap for large requests.
51321
51322 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51323
51324 [BZ #9954]
51325 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51326 result if the result has no associated interface.
51327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51328 interface for all 127.X.Y.Z addresses.
51329
51330 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51331
51332 * locale/iso-639.def: Add Ligurian (lij)
51333
51334 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51335
51336 [BZ #15825]
51337 * sunrpc/rpc_main.c: Document rpcgen -5.
51338
51339 2013-10-19 Michael Stahl <mstahl@redhat.com>
51340
51341 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51342
51343 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51344
51345 [BZ #10278]
51346 * posix/glob.c: Match only directories when trailing slash is present.
51347 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51348 (main): Add testcase.
51349
51350 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51351
51352 [BZ #15670]
51353 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51354
51355 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51356
51357 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51358 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51359 AUTH_DES and cindex for FIPS 140-2.
51360 (DES Encryption): Add cindex FIPS 46-3.
51361
51362 * locale/locarchive.h (struct locarhandle): Add fname.
51363 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51364 if an optional argument was specified to --list-archive,
51365 otherwise NULL.
51366 * locale/programs/locarchive.c (show_archive_content): Take new
51367 argument fname and pass it via ah.fname to open_archive.
51368 * locale/programs/localedef.h: Update decl.
51369 (open_archive): If AH->fname is non-null, open that file
51370 rather than the default file name, and don't ignore ENOENT.
51371 (create_archive): Set AH.fname to NULL.
51372 (delete_locales_from_archive): Likewise.
51373 (add_locales_to_archive): Likewise.
51374 * locale/programs/locfile.c (write_all_categories): Likewise.
51375
51376 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51377 Aldy Hernandez <aldyh@redhat.com>
51378
51379 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51380 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51381 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51382 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51383 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51384 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51385 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51386 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51387 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51388 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51389 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51390 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51391 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51392 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51393 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51394 Likewise.
51395 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51396 Likewise.
51397 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51398 Likewise.
51399 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51400 Likewise.
51401 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51402 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51403 Likewise.
51404 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51405 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51406 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51407 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51408 Likewise.
51409 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51410 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51411 * sysdeps/powerpc/preconfigure: Likewise.
51412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51413 Likewise.
51414 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51415 Replace contents of file by #include of <fenv_libc.h>.
51416 * sysdeps/powerpc/soft-fp/sfp-machine.h
51417 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51418 and <sys/prctl.h>.
51419 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51426 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51427 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51428 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51432 Allow copysignl PLT reference to be missing.
51433
51434 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51435 Joseph Myers <joseph@codesourcery.com
51436
51437 [BZ #15948]
51438 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51439 single character.
51440 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51441
51442 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51443
51444 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51445 * elf/tst-tls1.c: Likewise.
51446 * elf/tst-tls10.h: Likewise.
51447 * elf/tst-tls14.c: Likewise.
51448 * elf/tst-tls2.c: Likewise.
51449 * elf/tst-tls3.c: Likewise.
51450 * elf/tst-tls4.c: Likewise.
51451 * elf/tst-tls5.c: Likewise.
51452 * elf/tst-tls6.c: Likewise.
51453 * elf/tst-tls7.c: Likewise.
51454 * elf/tst-tls8.c: Likewise.
51455 * elf/tst-tls9.c: Likewise.
51456 * elf/tst-tlsmod1.c: Likewise.
51457 * elf/tst-tlsmod13.c: Likewise.
51458 * elf/tst-tlsmod13a.c: Likewise.
51459 * elf/tst-tlsmod14a.c: Likewise.
51460 * elf/tst-tlsmod16a.c: Likewise.
51461 * elf/tst-tlsmod16b.c: Likewise.
51462 * elf/tst-tlsmod2.c: Likewise.
51463 * elf/tst-tlsmod3.c: Likewise.
51464 * elf/tst-tlsmod4.c: Likewise.
51465 * elf/tst-tlsmod5.c: Likewise.
51466 * elf/tst-tlsmod6.c: Likewise.
51467
51468 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51469
51470 [BZ #12486]
51471 * malloc/malloc.c: remove checks for statistics.
51472
51473 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51474
51475 [BZ #15277]
51476 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51477 * inet/tst-network.c: Add testcase.
51478
51479 2013-10-17 Andreas Schwab <schwab@suse.de>
51480
51481 [BZ #15218]
51482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51483 to determine canonical name.
51484
51485 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51486
51487 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51488 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51500 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51511 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51515 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51520 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51521 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51522 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51523 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51524 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51525 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51526 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51527 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51528 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51531 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51532 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51533 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51534 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51535 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51536 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51537 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51539 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51540 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51544 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51545
51546 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51547
51548 [BZ #16041]
51549 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51550 make result into a quiet NaN.
51551
51552 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51553
51554 * soft-fp/adddf3.c: Fix horizontal whitespace.
51555 * soft-fp/addsf3.c: Likewise.
51556 * soft-fp/addtf3.c: Likewise.
51557 * soft-fp/divdf3.c: Likewise.
51558 * soft-fp/divsf3.c: Likewise.
51559 * soft-fp/divtf3.c: Likewise.
51560 * soft-fp/double.h: Likewise.
51561 * soft-fp/eqdf2.c: Likewise.
51562 * soft-fp/eqsf2.c: Likewise.
51563 * soft-fp/eqtf2.c: Likewise.
51564 * soft-fp/extenddftf2.c: Likewise.
51565 * soft-fp/extended.h: Likewise.
51566 * soft-fp/extendsfdf2.c: Likewise.
51567 * soft-fp/extendsftf2.c: Likewise.
51568 * soft-fp/extendxftf2.c: Likewise.
51569 * soft-fp/fixdfdi.c: Likewise.
51570 * soft-fp/fixdfsi.c: Likewise.
51571 * soft-fp/fixdfti.c: Likewise.
51572 * soft-fp/fixsfdi.c: Likewise.
51573 * soft-fp/fixsfsi.c: Likewise.
51574 * soft-fp/fixsfti.c: Likewise.
51575 * soft-fp/fixtfdi.c: Likewise.
51576 * soft-fp/fixtfsi.c: Likewise.
51577 * soft-fp/fixtfti.c: Likewise.
51578 * soft-fp/fixunsdfdi.c: Likewise.
51579 * soft-fp/fixunsdfsi.c: Likewise.
51580 * soft-fp/fixunsdfti.c: Likewise.
51581 * soft-fp/fixunssfdi.c: Likewise.
51582 * soft-fp/fixunssfsi.c: Likewise.
51583 * soft-fp/fixunssfti.c: Likewise.
51584 * soft-fp/fixunstfdi.c: Likewise.
51585 * soft-fp/fixunstfsi.c: Likewise.
51586 * soft-fp/fixunstfti.c: Likewise.
51587 * soft-fp/floatdidf.c: Likewise.
51588 * soft-fp/floatdisf.c: Likewise.
51589 * soft-fp/floatditf.c: Likewise.
51590 * soft-fp/floatsidf.c: Likewise.
51591 * soft-fp/floatsisf.c: Likewise.
51592 * soft-fp/floatsitf.c: Likewise.
51593 * soft-fp/floattidf.c: Likewise.
51594 * soft-fp/floattisf.c: Likewise.
51595 * soft-fp/floattitf.c: Likewise.
51596 * soft-fp/floatundidf.c: Likewise.
51597 * soft-fp/floatundisf.c: Likewise.
51598 * soft-fp/floatunditf.c: Likewise.
51599 * soft-fp/floatunsidf.c: Likewise.
51600 * soft-fp/floatunsisf.c: Likewise.
51601 * soft-fp/floatunsitf.c: Likewise.
51602 * soft-fp/floatuntidf.c: Likewise.
51603 * soft-fp/floatuntisf.c: Likewise.
51604 * soft-fp/floatuntitf.c: Likewise.
51605 * soft-fp/fmadf4.c: Likewise.
51606 * soft-fp/fmasf4.c: Likewise.
51607 * soft-fp/fmatf4.c: Likewise.
51608 * soft-fp/gedf2.c: Likewise.
51609 * soft-fp/gesf2.c: Likewise.
51610 * soft-fp/getf2.c: Likewise.
51611 * soft-fp/ledf2.c: Likewise.
51612 * soft-fp/lesf2.c: Likewise.
51613 * soft-fp/letf2.c: Likewise.
51614 * soft-fp/muldf3.c: Likewise.
51615 * soft-fp/mulsf3.c: Likewise.
51616 * soft-fp/multf3.c: Likewise.
51617 * soft-fp/negdf2.c: Likewise.
51618 * soft-fp/negsf2.c: Likewise.
51619 * soft-fp/negtf2.c: Likewise.
51620 * soft-fp/op-1.h: Likewise.
51621 * soft-fp/op-2.h: Likewise.
51622 * soft-fp/op-4.h: Likewise.
51623 * soft-fp/op-8.h: Likewise.
51624 * soft-fp/op-common.h: Likewise.
51625 * soft-fp/quad.h: Likewise.
51626 * soft-fp/single.h: Likewise.
51627 * soft-fp/soft-fp.h: Likewise.
51628 * soft-fp/sqrtdf2.c: Likewise.
51629 * soft-fp/sqrtsf2.c: Likewise.
51630 * soft-fp/sqrttf2.c: Likewise.
51631 * soft-fp/subdf3.c: Likewise.
51632 * soft-fp/subsf3.c: Likewise.
51633 * soft-fp/subtf3.c: Likewise.
51634 * soft-fp/truncdfsf2.c: Likewise.
51635 * soft-fp/trunctfdf2.c: Likewise.
51636 * soft-fp/trunctfsf2.c: Likewise.
51637 * soft-fp/trunctfxf2.c: Likewise.
51638 * soft-fp/unorddf2.c: Likewise.
51639 * soft-fp/unordsf2.c: Likewise.
51640 * soft-fp/unordtf2.c: Likewise.
51641
51642 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51643
51644 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51645 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51646
51647 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51648
51649 * elf/dl-libc.c: Clear initfini list after freeing.
51650
51651 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51652
51653 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51654 * soft-fp/addsf3.c: Likewise.
51655 * soft-fp/addtf3.c: Likewise.
51656 * soft-fp/divdf3.c: Likewise.
51657 * soft-fp/divsf3.c: Likewise.
51658 * soft-fp/divtf3.c: Likewise.
51659 * soft-fp/double.h: Likewise.
51660 * soft-fp/eqdf2.c: Likewise.
51661 * soft-fp/eqsf2.c: Likewise.
51662 * soft-fp/eqtf2.c: Likewise.
51663 * soft-fp/extenddftf2.c: Likewise.
51664 * soft-fp/extended.h: Likewise.
51665 * soft-fp/extendsfdf2.c: Likewise.
51666 * soft-fp/extendsftf2.c: Likewise.
51667 * soft-fp/extendxftf2.c: Likewise.
51668 * soft-fp/fixdfdi.c: Likewise.
51669 * soft-fp/fixdfsi.c: Likewise.
51670 * soft-fp/fixdfti.c: Likewise.
51671 * soft-fp/fixsfdi.c: Likewise.
51672 * soft-fp/fixsfsi.c: Likewise.
51673 * soft-fp/fixsfti.c: Likewise.
51674 * soft-fp/fixtfdi.c: Likewise.
51675 * soft-fp/fixtfsi.c: Likewise.
51676 * soft-fp/fixtfti.c: Likewise.
51677 * soft-fp/fixunsdfdi.c: Likewise.
51678 * soft-fp/fixunsdfsi.c: Likewise.
51679 * soft-fp/fixunsdfti.c: Likewise.
51680 * soft-fp/fixunssfdi.c: Likewise.
51681 * soft-fp/fixunssfsi.c: Likewise.
51682 * soft-fp/fixunssfti.c: Likewise.
51683 * soft-fp/fixunstfdi.c: Likewise.
51684 * soft-fp/fixunstfsi.c: Likewise.
51685 * soft-fp/fixunstfti.c: Likewise.
51686 * soft-fp/floatdidf.c: Likewise.
51687 * soft-fp/floatdisf.c: Likewise.
51688 * soft-fp/floatditf.c: Likewise.
51689 * soft-fp/floatsidf.c: Likewise.
51690 * soft-fp/floatsisf.c: Likewise.
51691 * soft-fp/floatsitf.c: Likewise.
51692 * soft-fp/floattidf.c: Likewise.
51693 * soft-fp/floattisf.c: Likewise.
51694 * soft-fp/floattitf.c: Likewise.
51695 * soft-fp/floatundidf.c: Likewise.
51696 * soft-fp/floatundisf.c: Likewise.
51697 * soft-fp/floatunsidf.c: Likewise.
51698 * soft-fp/floatunsisf.c: Likewise.
51699 * soft-fp/floatuntidf.c: Likewise.
51700 * soft-fp/floatuntisf.c: Likewise.
51701 * soft-fp/floatuntitf.c: Likewise.
51702 * soft-fp/fmadf4.c: Likewise.
51703 * soft-fp/fmasf4.c: Likewise.
51704 * soft-fp/fmatf4.c: Likewise.
51705 * soft-fp/gedf2.c: Likewise.
51706 * soft-fp/gesf2.c: Likewise.
51707 * soft-fp/getf2.c: Likewise.
51708 * soft-fp/ledf2.c: Likewise.
51709 * soft-fp/lesf2.c: Likewise.
51710 * soft-fp/letf2.c: Likewise.
51711 * soft-fp/muldf3.c: Likewise.
51712 * soft-fp/mulsf3.c: Likewise.
51713 * soft-fp/multf3.c: Likewise.
51714 * soft-fp/negdf2.c: Likewise.
51715 * soft-fp/negsf2.c: Likewise.
51716 * soft-fp/negtf2.c: Likewise.
51717 * soft-fp/op-1.h: Likewise.
51718 * soft-fp/op-2.h: Likewise.
51719 * soft-fp/op-4.h: Likewise.
51720 * soft-fp/op-8.h: Likewise.
51721 * soft-fp/op-common.h: Likewise.
51722 * soft-fp/quad.h: Likewise.
51723 * soft-fp/single.h: Likewise.
51724 * soft-fp/soft-fp.h: Likewise.
51725 * soft-fp/sqrtdf2.c: Likewise.
51726 * soft-fp/sqrtsf2.c: Likewise.
51727 * soft-fp/sqrttf2.c: Likewise.
51728 * soft-fp/subdf3.c: Likewise.
51729 * soft-fp/subsf3.c: Likewise.
51730 * soft-fp/subtf3.c: Likewise.
51731 * soft-fp/truncdfsf2.c: Likewise.
51732 * soft-fp/trunctfdf2.c: Likewise.
51733 * soft-fp/trunctfsf2.c: Likewise.
51734 * soft-fp/trunctfxf2.c: Likewise.
51735 * soft-fp/unorddf2.c: Likewise.
51736 * soft-fp/unordsf2.c: Likewise.
51737 * soft-fp/unordtf2.c: Likewise.
51738
51739 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51740
51741 [BZ #15672]
51742 * misc/error.c (error_tail): Fix possible buffer overflow.
51743
51744 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51745
51746 [BZ #13028]
51747 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51748 address.
51749
51750 2013-10-14 P. J. McDermott <pj@pehjota.net>
51751
51752 [BZ #832]
51753 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51754 testing pipefail option.
51755
51756 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51757
51758 * soft-fp/double.h: Indent preprocessor directives inside #if.
51759 * soft-fp/extended.h: Likewise.
51760 * soft-fp/op-2.h: Likewise.
51761 * soft-fp/op-4.h: Likewise.
51762 * soft-fp/op-common.h: Likewise.
51763 * soft-fp/quad.h: Likewise.
51764 * soft-fp/single.h: Likewise.
51765 * soft-fp/soft-fp.h: Likewise.
51766
51767 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51768
51769 * iconv/iconv_prog.c: Fix typos.
51770 * stdio-common/psiginfo-data.h: Likewise.
51771
51772 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51773
51774 [BZ #15764]
51775 * locale/setlocale.c: Fix typo.
51776
51777 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51778
51779 [BZ #16036]
51780 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51781 signaling NaN arguments.
51782 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51783 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51784
51785 [BZ #14910]
51786 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51787 unordered operands.
51788 * soft-fp/gesf2.c (__gesf2): Likewise.
51789 * soft-fp/getf2.c (__getf2): Likewise.
51790 * soft-fp/ledf2.c (__ledf2): Likewise.
51791 * soft-fp/lesf2.c (__lesf2): Likewise.
51792 * soft-fp/letf2.c (__letf2): Likewise.
51793
51794 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51795 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51796 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51797 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51798 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51799 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51800 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51801 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51802 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51803 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51804 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51805 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51806 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51807 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51808 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51809 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51810 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51811 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51812 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51813 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51814 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51815 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51816 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51817 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51818 * soft-fp/floattidf.c (__floattidf): Likewise.
51819 * soft-fp/floattisf.c (__floattisf): Likewise.
51820 * soft-fp/floattitf.c (__floattitf): Likewise.
51821 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51822 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51823 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51824 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51825 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51826 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51827 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51828 * soft-fp/gesf2.c (__gesf2): Likewise.
51829 * soft-fp/getf2.c (__getf2): Likewise.
51830 * soft-fp/ledf2.c (__ledf2): Likewise.
51831 * soft-fp/lesf2.c (__lesf2): Likewise.
51832 * soft-fp/letf2.c (__letf2): Likewise.
51833
51834 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51835 Undefine and redefine.
51836 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51837 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51838 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51839 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51840 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51841 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51842 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51843 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51844 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51845 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51846 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51847 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51848 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51849 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51850 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51851
51852 [BZ #16032]
51853 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51854 without decrementing exponent if mantissa >= that for the
51855 denominator, not >.
51856 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51857 denominator, not >. Decrement exponent in < case instead of
51858 incrementing in >= case.
51859 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51860 without decrementing exponent if mantissa >= that for the
51861 denominator, not >.
51862
51863 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51864 computing saturated result for unsigned overflow.
51865
51866 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51867 Jeff Law <law@redhat.com>
51868
51869 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51870 (atan2Mp): Add systemtap probe marker.
51871 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51872 (__ieee754_log): Add systemtap probe marker.
51873 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51874 (atanMp): Add systemtap probe marker.
51875 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51876 (tanMp): Add systemtap probe marker.
51877 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51878 (__slowexp): Add systemtap probe marker.
51879 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51880 (__slowpow): Add systemtap probe marker.
51881 * manual/probes.texi: Document probes.
51882
51883 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51884
51885 [BZ #15362]
51886 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51887 written.
51888 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51889 written.
51890 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51891 written to buffer but not flushed.
51892 * libio/iofwrite_u.c: Likewise.
51893 * libio/iopadn.c: Return bytes returned even if EOF was
51894 encountered.
51895 * libio/iowpadn.c: Likewise.
51896 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51897 if _IO_padn does not write the whole buffer.
51898 [!COMPILE_WPRINTF] (PAD): Likewise.
51899
51900 2013-10-10 David S. Miller <davem@davemloft.net>
51901
51902 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51903 directory block.
51904
51905 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51906
51907 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51908 instead of FSF address.
51909 * soft-fp/fixdfti.c: Likewise.
51910 * soft-fp/fixsfti.c: Likewise.
51911 * soft-fp/fixtfti.c: Likewise.
51912 * soft-fp/fixunsdfti.c: Likewise.
51913 * soft-fp/fixunssfti.c: Likewise.
51914 * soft-fp/fixunstfti.c: Likewise.
51915 * soft-fp/floattidf.c: Likewise.
51916 * soft-fp/floattisf.c: Likewise.
51917 * soft-fp/floattitf.c: Likewise.
51918 * soft-fp/floatuntidf.c: Likewise.
51919 * soft-fp/floatuntisf.c: Likewise.
51920 * soft-fp/floatuntitf.c: Likewise.
51921 * soft-fp/trunctfxf2.c: Likewise.
51922
51923 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51924 * soft-fp/fixdfti.c: Likewise.
51925 * soft-fp/fixsfti.c: Likewise.
51926 * soft-fp/fixtfti.c: Likewise.
51927 * soft-fp/fixunsdfti.c: Likewise.
51928 * soft-fp/fixunssfti.c: Likewise.
51929 * soft-fp/fixunstfti.c: Likewise.
51930 * soft-fp/floattidf.c: Likewise.
51931 * soft-fp/floattisf.c: Likewise.
51932 * soft-fp/floattitf.c: Likewise.
51933 * soft-fp/floatuntidf.c: Likewise.
51934 * soft-fp/floatuntisf.c: Likewise.
51935 * soft-fp/floatuntitf.c: Likewise.
51936 * soft-fp/trunctfxf2.c: Likewise.
51937
51938 2013-10-10 David S. Miller <davem@davemloft.net>
51939
51940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51941
51942 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51943
51944 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51945 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51946 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51947 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51948 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51949 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51950 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51951
51952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51953 for NaNs before doing comparisons on argument.
51954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51955 Likewise.
51956
51957 2013-10-10 Will Newton <will.newton@linaro.org>
51958
51959 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51960 passed to _int_memalign does not overflow.
51961
51962 2013-10-10 Torvald Riegel <triegel@redhat.com>
51963
51964 * scripts/bench.pl: Add include-sources directive.
51965 * benchtests/README: Update documentation.
51966
51967 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51968
51969 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51970 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51971 instead of FP_INIT_ROUNDMODE.
51972 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51973 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51974
51975 [BZ #16034]
51976 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51977 copy class of input value.
51978 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51979 not handle exceptions.
51980 * soft-fp/negsf2.c (__negsf2): Likewise.
51981 * soft-fp/negtf2.c (__negtf2): Likewise.
51982 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51983
51984 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51985
51986 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51987 semicolon. From Linux kernel.
51988
51989 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51990
51991 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51992
51993 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51994
51995 [BZ #156]
51996 * manual/socket.texi: Added statement about buffer
51997 for gethostbyname2_r.
51998
51999 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
52000
52001 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52002 Use .p2align directive instead, throughout.
52003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52004 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52005 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52008 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52009 * sysdeps/x86_64/strchr.S: Likewise.
52010 * sysdeps/x86_64/strrchr.S: Likewise.
52011
52012 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52013
52014 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52015
52016 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52017
52018 * sysdeps/generic/math_private.h (__mpsin1): Remove
52019 declaration.
52020 (__mpcos1): Likewise.
52021 (__mpsin): New argument __range_reduce.
52022 (__mpcos): Likewise.
52023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52024 (slow): Use __mpsin and __mpcos.
52025 (slow1): Likewise.
52026 (slow2): Likewise.
52027 (sloww): Likewise.
52028 (sloww1): Likewise.
52029 (sloww2): Likewise.
52030 (bsloww): Likewise.
52031 (bsloww1): Likewise.
52032 (bsloww2): Likewise.
52033 (cslow2): Likewise.
52034 (csloww): Likewise.
52035 (csloww1): Likewise.
52036 (csloww2): Likewise.
52037 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52038 range_reduce. Merge in __mpsin1.
52039 (__mpcos): Likewise.
52040 (__mpsin1): Remove.
52041 (__mpcos1): Likewise.
52042
52043 2013-10-07 Joseph Myers <joseph@codesourcery.com>
52044
52045 * locale/loadlocale.c (_nl_intern_locale_data): Use
52046 LOCFILE_ALIGNED_P.
52047 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52048 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52049 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52050 obstack data is appropriately aligned.
52051 (obstack_int32_grow_fast): Likewise.
52052 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52053 * locale/programs/locfile.c (add_locale_uint32): Likewise.
52054 (add_locale_uint32_array): Likewise.
52055
52056 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52057
52058 * benchtests/Makefile: Remove ARGLIST and RET variables.
52059 ($(objpfx)bench-%.c): Pass only function name to the script.
52060 * benchtests/README: Update documentation.
52061 * benchtests/acos-inputs: Add new directives.
52062 * benchtests/acosh-inputs: Likewise.
52063 * benchtests/asin-inputs: Likewise.
52064 * benchtests/asinh-inputs: Likewise.
52065 * benchtests/atan-inputs: Likewise.
52066 * benchtests/atanh-inputs: Likewise.
52067 * benchtests/cos-inputs: Likewise.
52068 * benchtests/cosh-inputs: Likewise.
52069 * benchtests/exp-inputs: Likewise.
52070 * benchtests/log-inputs: Likewise.
52071 * benchtests/pow-inputs: Likewise.
52072 * benchtests/rint-inputs: Likewise.
52073 * benchtests/sin-inputs: Likewise.
52074 * benchtests/sinh-inputs: Likewise.
52075 * benchtests/tan-inputs: Likewise.
52076 * benchtests/tanh-inputs: Likewise.
52077 * scripts/bench.pl: Add support for new directives.
52078
52079 2013-10-07 Alan Modra <amodra@gmail.com>
52080
52081 * README: Fix careless merge.
52082
52083 2013-10-05 Alan Modra <amodra@gmail.com>
52084
52085 * NEWS: Mention powerpc64le support and bugs fixed.
52086 * README: Both big-endian and little-endian powerpc64 supported.
52087
52088 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52089
52090 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52091 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52092 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52093 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52094
52095 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
52096
52097 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52098 match prototype.
52099
52100 2013-10-04 Joseph Myers <joseph@codesourcery.com>
52101
52102 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52103 Move -mhard-float appending from
52104 ports/sysdeps/powerpc/powerpc32/Makefile.
52105 [$(with-fp) = yes] (ASFLAGS): Likewise.
52106 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52107 * sysdeps/powerpc/nofpu: Move directory from
52108 ports/sysdeps/powerpc/nofpu.
52109 * sysdeps/powerpc/soft-fp: Move directory from
52110 ports/sysdeps/powerpc/soft-fp.
52111 * sysdeps/powerpc/powerpc32/405: Move directory from
52112 ports/sysdeps/powerpc/powerpc32/405.
52113 * sysdeps/powerpc/powerpc32/440: Move directory from
52114 ports/sysdeps/powerpc/powerpc32/440.
52115 * sysdeps/powerpc/powerpc32/464: Move directory from
52116 ports/sysdeps/powerpc/powerpc32/464.
52117 * sysdeps/powerpc/powerpc32/476: Move directory from
52118 ports/sysdeps/powerpc/powerpc32/476.
52119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52120 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52122 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52124 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52126 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52128 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52129 * README: Update for powerpc-*-linux-gnu software floating point
52130 support in libc.
52131
52132 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52133 case to powerpc/powerpc32*.
52134 * sysdeps/unix/sysv/linux/configure: Regenerated.
52135
52136 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52137 (_FPU_MASK_OM): Define as 0x04.
52138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52140 0x00c10080.
52141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52142 0x0000003c.
52143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52144
52145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52146 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52147 getcontext_e500.
52148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52149 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52150 setcontext_e500.
52151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52152 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52153 and setcontext_e500.
52154
52155 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
52156
52157 * locale/iso-3166.def: Update iso-1366.def and related occurrences
52158
52159 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52160
52161 * manual/threads.texi (Default Thread Attributes): Fix typo.
52162
52163 2013-10-04 Will Newton <will.newton@linaro.org>
52164
52165 * malloc/Makefile: Add tst-memalign.
52166 * malloc/tst-memalign.c: New file.
52167
52168 * malloc/tst-posix_memalign.c: Add comments.
52169 (do_test): Add comments and call free on all potentially
52170 allocated pointers. Add space after cast.
52171
52172 * malloc/tst-pvalloc.c: Add comments.
52173 (do_test): Add comments and call free on all potentially
52174 allocated pointers. Remove duplicate check for NULL pointer.
52175 Add space after cast.
52176
52177 * malloc/tst-valloc.c: Add comments.
52178 (do_test): Add comments and call free on all potentially
52179 allocated pointers. Remove duplicate check for NULL pointer.
52180 Add space after cast.
52181
52182 2013-10-04 Alan Modra <amodra@gmail.com>
52183
52184 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52185 Use stdint types in rather than __attribute__((mode())).
52186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52187
52188 2013-10-04 Alan Modra <amodra@gmail.com>
52189
52190 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52191 Correct handling of unaligned relocs for little-endian.
52192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52193
52194 2013-10-04 Alan Modra <amodra@gmail.com>
52195
52196 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52197 * configure: Regenerate.
52198 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52199 * shlib-versions: Likewise.
52200
52201 2013-10-04 Alan Modra <amodra@gmail.com>
52202
52203 * string/tester.c (test_memrchr): Increment reported test cycle.
52204
52205 2013-10-04 Alan Modra <amodra@gmail.com>
52206
52207 * string/test-memcpy.c (do_one_test): When reporting errors, print
52208 string address and don't overrun end of string.
52209
52210 2013-10-04 Alan Modra <amodra@gmail.com>
52211
52212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52213 insrdi. Make better use of reg selection to speed exit slightly.
52214 Schedule entry path a little better. Remove useless "are we done"
52215 checks on entry to main loop. Handle wrapping around zero address.
52216 Correct main loop count. Handle single left-over word from main
52217 loop inline rather than by using loop_small. Remove extra word
52218 case in loop_small caused by wrong loop count. Add little-endian
52219 support.
52220 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52222 cache hint.
52223 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52224 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52225 support. Avoid rlwimi.
52226 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52227
52228 2013-10-04 Alan Modra <amodra@gmail.com>
52229
52230 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52231 insrdi. Formatting.
52232 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52233 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52234 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52235 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52236 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52237 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52238
52239 2013-10-04 Alan Modra <amodra@gmail.com>
52240
52241 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52243 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52244 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52245 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52246 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52248 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52249 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52250 use of regs. Use power7 mtocrf. Tidy function tails.
52251
52252 2013-10-04 Alan Modra <amodra@gmail.com>
52253
52254 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52255 Formatting. Consistently use rXXX register defines or rN defines.
52256 Use early exit labels that avoid restoring unused non-volatile regs.
52257 Make cr field use more consistent with rWORDn compares. Rename
52258 regs used as shift registers for unaligned loop, using rN defines
52259 for short lifetime/multiple use regs.
52260 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52262 addi 1,1,64 to pop stack frame. Simplify return value code.
52263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52264
52265 2013-10-04 Alan Modra <amodra@gmail.com>
52266
52267 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52268 support. Correct typos, formatting. Optimize tail. Use insrdi
52269 rather than rlwimi.
52270 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52271 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52272 little-endian support. Correct typos.
52273 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52274 rather than rlwimi.
52275 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52276 in loop and entry code to keep "and." results.
52277 (strchr): Add little-endian support. Comment. Move cntlzd
52278 earlier in tail.
52279 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52280
52281 2013-10-04 Alan Modra <amodra@gmail.com>
52282
52283 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52284 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52285 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52286 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52287
52288 2013-10-04 Alan Modra <amodra@gmail.com>
52289
52290 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52291 (rTMP): Define as r11.
52292 (strcmp): Add little-endian support. Optimise tail.
52293 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52294 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52295 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52296 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52297 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52299 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52300
52301 2013-10-04 Alan Modra <amodra@gmail.com>
52302
52303 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52304 little-endian support. Remove unnecessary "are we done" tests.
52305 Handle "s" wrapping around zero and extremely large "size".
52306 Correct main loop count. Handle single left-over word from main
52307 loop inline rather than by using small_loop. Correct comments.
52308 Delete "zero" tail, use "end_max" instead.
52309 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52310
52311 2013-10-04 Alan Modra <amodra@gmail.com>
52312
52313 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52314 support. Don't branch over align.
52315 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52316 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52317 support. Rearrange tmp reg use to suit. Comment.
52318 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52319
52320 2013-10-04 Alan Modra <amodra@gmail.com>
52321
52322 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52323
52324 2013-10-04 Alan Modra <amodra@gmail.com>
52325
52326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52327 conditional form of branch and link when obtaining pc.
52328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52329
52330 2013-10-04 Alan Modra <amodra@gmail.com>
52331
52332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52333 HIWORD/LOWORD.
52334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52336
52337 2013-10-04 Alan Modra <amodra@gmail.com>
52338
52339 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52340 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52341 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52342 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52343 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52345 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52346 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52347 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52348 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52349
52350 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52351 Alistair Popple <alistair@ozlabs.au.ibm.com>
52352 Alan Modra <amodra@gmail.com>
52353
52354 [BZ #15723]
52355 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52357 _dl_hwcap access for little-endian.
52358 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52359 destroy vmx regs when saving unaligned.
52360 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52361 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52362 destroy vmx regs when saving unaligned.
52363
52364 2013-10-04 Alan Modra <amodra@gmail.com>
52365
52366 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52367 Don't use a union to pack hi/low value.
52368
52369 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52370
52371 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52372 for little-endian.
52373 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52375 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52376 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52377 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52378
52379 2013-10-04 Alan Modra <amodra@gmail.com>
52380
52381 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52382 constants to usual value for .cst8 section, and remove redundant
52383 high address load.
52384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52385 constant for 0x1p52. Load little-endian words of double from
52386 correct stack offsets.
52387
52388 2013-10-04 Alan Modra <amodra@gmail.com>
52389
52390 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52391 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52392 words of double from correct stack offsets.
52393 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52394 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52395 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52398 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52399 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52400 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52401 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52402 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52403 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52404 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52405 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52406 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52407 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52408 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52409 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52410
52411 2013-10-04 Alan Modra <amodra@gmail.com>
52412
52413 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52414 64-bit int/double union.
52415 (_FPU_SETCW): Likewise.
52416 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52417 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52418
52419 2013-10-04 Alan Modra <amodra@gmail.com>
52420
52421 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52422 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52423
52424 2013-10-04 Alan Modra <amodra@gmail.com>
52425
52426 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52427 use vector int constants.
52428 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52429
52430 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52431
52432 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52433 array with long long.
52434 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52435 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52436 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52437 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52438 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52439 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52440 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52441 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52442 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52443 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52444 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52445 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52446 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52447
52448 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52449
52450 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52451 (__signbit): Likewise. Correct for little-endian.
52452 (__signbitl): Call __signbit.
52453 (lrint): Correct for little-endian.
52454 (lrintf): Call lrint.
52455
52456 2013-10-04 Alan Modra <amodra@gmail.com>
52457
52458 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52459 union 32-bit int array member with 64-bit int array.
52460 (t515, tm256): Double rather than long double.
52461 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52462
52463 2013-10-04 Alan Modra <amodra@gmail.com>
52464
52465 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52466 Delete.
52467 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52469 version of math_ldbl.h.
52470
52471 2013-10-04 Alan Modra <amodra@gmail.com>
52472
52473 [BZ #15734], [BZ #15735]
52474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52475 all uses of ieee875 long double macros and unions. Simplify test
52476 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52477 ldbl_extract_mantissa value for ix,iy exponents. Properly
52478 normalize after ldbl_extract_mantissa, and don't add hidden bit
52479 already handled. Don't treat low word of ieee854 mantissa like
52480 low word of IBM long double and mask off bit when testing for
52481 zero.
52482 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52483 all uses of ieee875 long double macros and unions. Simplify tests
52484 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52485 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52486 two1022, instead use their values. Recognise that tests for large
52487 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52489 Rewrite all uses of ieee875 long double macros and unions. Simplify
52490 test for 0.0L and nan. Correct negation.
52491 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52492 ieee875 long double macros and unions. Correct output for large
52493 magnitude x. Correct absolute value calculation.
52494 (__erfcl): Likewise.
52495 * math/libm-test.inc: Add tests for errors discovered in IBM long
52496 double versions of fmodl, remainderl, erfl and erfcl.
52497
52498 2013-10-04 Alan Modra <amodra@gmail.com>
52499
52500 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52501 all uses of ieee854 long double macros and unions. Simplify tests
52502 for long doubles that are fully specified by the high double.
52503 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52504 Likewise.
52505 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52506 Remove dead code too.
52507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52508 (__ieee754_ynl): Likewise.
52509 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52510 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52511 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52512 Remove dead code too.
52513 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52514 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52515 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52516 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52517 Simplify.
52518 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52519 Simplify.
52520 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52523 Comment on variable precision.
52524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52526 Likewise.
52527 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52529 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52531 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52532
52533 2013-10-04 Alan Modra <amodra@gmail.com>
52534
52535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52537 all uses of ieee854 long double macros and unions.
52538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52544 Likewise.
52545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52550 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52551 Simplify sign and nan test too.
52552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52553 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52554 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52555 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52556 Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52558 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52559 Likewise.
52560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52561 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52562 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52563 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52564 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52566
52567 2013-10-04 Alan Modra <amodra@gmail.com>
52568
52569 * stdio-common/printf_size.c (__printf_size): Don't use
52570 union ieee854_long_double in fpnum union.
52571 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52572 signbit macro to retrieve sign from long double.
52573 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52574 retrieve sign from long double.
52575 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52576 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52577 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52578 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52579 * math/test-misc.c (main): Don't use union ieee854_long_double.
52580
52581 2013-10-04 Alan Modra <amodra@gmail.com>
52582
52583 [BZ #15680]
52584 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52585 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52586 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52587 calculation. Remove unnecessary test for denormal exponent.
52588 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52589 Correct handling of denormals. Avoid undefined shift behaviour.
52590 Correct normalisation of low mantissa when low double is denormal.
52591 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52592 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52593 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52594 Correct normalisation of low mantissa. Test for overflow of high
52595 mantissa and normalise.
52596 (ldbl_nearbyint): Use more readable constant for two52.
52597 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52598 (__mpn_construct_long_double): Fix test for overflow of high
52599 mantissa and correct normalisation. Avoid undefined shift.
52600
52601 2013-10-04 Alan Modra <amodra@gmail.com>
52602
52603 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52604 (union ibm_extended_long_double): Define as an array of ieee754_double.
52605 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52606 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52607 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52608 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52610 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52612 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52613 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52614 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52615 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52616
52617 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52618
52619 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52620 page size instead of calling getpagesize.
52621
52622 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52623 (LOCFILE_ALIGN_MASK): Likewise.
52624 (LOCFILE_ALIGN_UP): Likewise.
52625 (LOCFILE_ALIGNED_P): Likewise.
52626 * locale/programs/ld-collate.c (collate_output): Use the new
52627 macros instead of __alignof__ (int32_t).
52628 * locale/weight.h (findidx): Likewise.
52629
52630 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52631
52632 [BZ #431]
52633 * manual/string.texi: Fix strncat and wcsncat.
52634
52635 2013-10-03 Brooks Moses <bmoses@google.com>
52636
52637 [BZ #15915]
52638 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52639 * Makerules: ...here, and adjust associated comments.
52640
52641 2013-10-02 Will Newton <will.newton@linaro.org>
52642
52643 * malloc/Makefile: Add tst-pvalloc.
52644 * malloc/tst-pvalloc.c: New file.
52645
52646 2013-10-02 Will Newton <will.newton@linaro.org>
52647
52648 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52649 improve test coverage.
52650
52651 2013-10-02 Will Newton <will.newton@linaro.org>
52652
52653 * malloc/Makefile: Add tst-posix_memalign.
52654 * malloc/tst-posix_memalign.c: New file.
52655
52656 2013-10-01 Eric Blake <eblake@redhat.com>
52657
52658 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52659 Use __THROWNL rather than __THROW on static functions.
52660
52661 2013-09-30 Petr Machata <pmachata@redhat.com>
52662
52663 * elf/elf.h (R_AARCH64_ABS16): New macro.
52664 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52665 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52666 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52667 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52668 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52669 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52670 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52671 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52672 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52673 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52674 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52675 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52676 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52677 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52678 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52679 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52680 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52681 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52682 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52683 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52684 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52685 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52686 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52687 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52688 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52689 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52690 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52691 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52692 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52693 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52694 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52695 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52696 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52697 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52698 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52699 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52700 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52701 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52702 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52703 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52704 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52705 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52706 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52707 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52708 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52709 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52710 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52711 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52712 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52713 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52714 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52715 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52716 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52717 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52718 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52719 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52720 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52721 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52722 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52723 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52724 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52725 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52726 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52727 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52728 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52729 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52730 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52731 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52732 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52733 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52734 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52735 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52736 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52737 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52738 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52739 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52740 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52741 (R_AARCH64_TLSDESC_LDR): Likewise.
52742 (R_AARCH64_TLSDESC_ADD): Likewise.
52743 (R_AARCH64_TLSDESC_CALL): Likewise.
52744
52745 2013-09-30 Andreas Schwab <schwab@suse.de>
52746
52747 [BZ #15048]
52748 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52749 the nss database lookup.
52750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52752
52753 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52754
52755 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52756
52757 2013-09-28 P. J. McDermott <pj@pehjota.net>
52758
52759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52760 ${Bash-specific parameter/pattern/string} parameter expansion.
52761 * sysdeps/unix/make-syscalls.sh: Likewise.
52762
52763 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52764
52765 * sysdeps/sh/stackguard-macros.h: New file.
52766
52767 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52768
52769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52771 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52772 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52773 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52774 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52775
52776 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52777
52778 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52779 Fix thread ID register.
52780
52781 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52782
52783 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52784 [POSIX || UNIX98]: Require rather than permitting all symbols from
52785 <time.h>.
52786 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52787 element of struct sched_param.
52788 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52789 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52790 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52791 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52792 constant.
52793
52794 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52795
52796 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52797 argument calculation.
52798
52799 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52800
52801 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52802 Expect macro.
52803 [POSIX] (pthread_attr_t): Do not require type.
52804 [POSIX] (pthread_cond_t): Likewise.
52805 [POSIX] (pthread_condattr_t): Likewise.
52806 [POSIX] (pthread_key_t): Likewise.
52807 [POSIX] (pthread_mutex_t): Likewise.
52808 [POSIX] (pthread_mutexattr_t): Likewise.
52809 [POSIX] (pthread_once_t): Likewise.
52810 [POSIX] (pthread_t): Likewise.
52811 [POSIX-based standards] (pthread_atfork): Expect function.
52812
52813 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52814 Richard Sandiford <richard@codesourcery.com>
52815
52816 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52817 (swap_endianness_p): New extern variable.
52818 (set_big_endian): New inline function.
52819 (maybe_swap_uint32): Likewise.
52820 (maybe_swap_uint32_array): Likewise.
52821 (maybe_swap_uint32_obstack): Likewise.
52822 * locale/programs/locfile.c: Include <stdbool.h>.
52823 (swap_endianness_p): New variable.
52824 (add_locale_uint32): Call maybe_swap_uint32.
52825 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52826 (write_locale_data): Call maybe_swap_uint32_array.
52827 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52828 maybe_swap_uint32.
52829 (obstack_int32_grow_fast): Likewise.
52830 (output_weightwc): Call maybe_swap_uint32_obstack.
52831 (collate_output): Likewise.
52832 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52833 (OPT_LITTLE_ENDIAN): Likewise.
52834 (options): Add --little-endian and --big-endian options.
52835 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52836 * locale/programs/locarchive.c: Include "locfile.h".
52837 (GET): New macro.
52838 (SET): Likewise.
52839 (INC): Likewise.
52840 (create_archive): Use the new macros to access fields of
52841 structures directly mapped from or written to locale archives.
52842 (oldlocrecentcmp): Likewise.
52843 (enlarge_archive): Likewise.
52844 (insert_name): Likewise.
52845 (add_alias): Likewise.
52846 (add_locale): Likewise.
52847 (delete_locales_from_archive): Likewise.
52848 (show_archive_content): Likewise.
52849 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52850 locale data.
52851
52852 2013-09-24 Roland McGrath <roland@hack.frob.com>
52853
52854 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52855 http://www.gnu.org/doc/freemanuals.texi.
52856 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52857
52858 2013-09-24 Will Newton <will.newton@linaro.org>
52859
52860 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52861 macro.
52862
52863 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52864
52865 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52866 unsigned char.
52867
52868 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52869
52870 * manual/threads.texi (POSIX Threads): Fix a typo.
52871
52872 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52873
52874 [BZ #14547]
52875 * string/tst-strcoll-overflow.c: New test case.
52876 * string/Makefile (xtests): Add tst-strcoll-overflow.
52877 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52878 cache if string sizes may cause integer overflow.
52879
52880 [BZ #14547]
52881 * string/strcoll_l.c (coll_seq): New members rule, idx,
52882 save_idx and back_us.
52883 (get_next_seq_nocache): New function.
52884 (do_compare_nocache): New function.
52885 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52886 when malloc fails.
52887
52888 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52889
52890 [BZ #15754]
52891 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52892 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52893 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52894
52895 [BZ #15754]
52896 * elf/Makefile (tests): Add tst-ptrguard1.
52897 (tests-static): Add tst-ptrguard1-static.
52898 (tst-ptrguard1-ARGS): Define.
52899 (tst-ptrguard1-static-ARGS): Define.
52900 * elf/tst-ptrguard1.c: New file.
52901 * elf/tst-ptrguard1-static.c: New file.
52902 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52903 * sysdeps/i386/stackguard-macros.h: Likewise.
52904 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52905 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52906 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52907 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52908 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52909 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52910
52911 2013-09-23 Hector Marco <hecmargi@upv.es>
52912 Ismael Ripoll <iripoll@disca.upv.es>
52913 Carlos O'Donell <carlos@redhat.com>
52914
52915 [BZ #15754]
52916 * sysdeps/generic/stackguard-macros.h: Define
52917 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52918 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52919 Define __pointer_chk_guard_local.
52920 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52921 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52922
52923 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52924
52925 [BZ #15859]
52926 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52927
52928 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52929
52930 * include/string.h (__ffs): Declare as hidden.
52931 * string/ffs.c (__ffs): Define as hidden.
52932 * sysdeps/i386/ffs.c (__ffs): Likewise.
52933 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52934 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52935 * sysdeps/s390/ffs.c (__ffs): Likewise.
52936 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52937
52938 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52939
52940 * NEWS: Mention malloc probes.
52941
52942 * malloc/arena.c (new_heap): New memory_heap_new probe.
52943 (grow_heap): New memory_heap_more probe.
52944 (shrink_heap): New memory_heap_less probe.
52945 (heap_trim): New memory_heap_free probe.
52946 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52947 (systrim): New memory_sbrk_less probe.
52948 * manual/probes.texi: Document them.
52949
52950 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52951 * manual/probes.texi: Document it.
52952
52953 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52954 (__libc_realloc): Add memory_realloc_retry probe.
52955 (__libc_memalign): Add memory_memalign_retry probe.
52956 (__libc_valloc): Add memory_valloc_retry probe.
52957 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52958 (__libc_calloc): Add memory_calloc_retry probe.
52959 * manual/probes.texi: Document them.
52960
52961 * malloc/arena.c (get_free_list): Add probe
52962 memory_arena_reuse_free_list.
52963 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52964 and memory_arena_reuse.
52965 (arena_get2) [!PER_THREAD]: Likewise.
52966 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52967 memory_arena_reuse_realloc.
52968 * manual/probes.texi: Document them.
52969
52970 * malloc/malloc.c (__libc_free): Add
52971 memory_mallopt_free_dyn_thresholds probe.
52972 (__libc_mallopt): Add multiple memory_mallopt probes.
52973 * manual/probes.texi: Document them.
52974
52975 * malloc/malloc.c: Include stap-probe.h.
52976 (__libc_mallopt): Add memory_mallopt probe.
52977 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52978 * manual/probes.texi: New.
52979 * manual/Makefile (chapters): Add probes.
52980 * manual/threads.texi: Set next node.
52981
52982 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52983
52984 [BZ #15963, #13985]
52985 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52986 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52987 Add `Chinese' to `nan' entry name.
52988
52989 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52990
52991 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52992 (POLYNOMIAL): Likewise.
52993 (TAYLOR_SINCOS): Likewise.
52994 (TAYLOR_SLOW): Likewise.
52995 (__sin): Use TAYLOR_SINCOS.
52996 (__cos): Likewise.
52997 (slow): Use TAYLOR_SLOW.
52998 (sloww): Likewise.
52999 (bsloww): Likewise.
53000 (csloww): Likewise.
53001
53002 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53003
53004 * stdlib/strtod_l.c: Fix buffer overrun.
53005
53006 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53007
53008 * benchtests/Makefile (bench): Add sincos.
53009 * benchtests/bench-sincos.c: New file.
53010
53011 * math/libm-test.inc (cos_test_data): New test inputs.
53012 (sin_test_data): Likewise.
53013
53014 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53015 macro.
53016 (__sin): Use it.
53017 (__cos): Likewise.
53018 (slow1): Likewise.
53019 (slow2): Likewise.
53020 (sloww1): Likewise.
53021 (sloww2): Likewise.
53022 (bsloww1): Likewise.
53023 (bsloww2): Likewise.
53024 (cslow2): Likewise.
53025 (csloww1): Likewise.
53026 (csloww2): Likewise.
53027
53028 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53029 function.
53030 (__sin): Use it.
53031 (__cos): Likewise.
53032
53033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53034 gotos.
53035 (__cos): Likewise.
53036
53037 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
53038
53039 * config.h.in (HAVE_MIPS_NAN2008): New macro.
53040 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53041 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53042 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53043 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53044 * elf/cache.c (print_entry): Handle the new cache flags.
53045
53046 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53047 Aldy Hernandez <aldyh@redhat.com>
53048
53049 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53050 Change condition to [_SOFT_FLOAT].
53051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53063 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53066 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53067 declaration.
53068
53069 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53070
53071 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53072 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53073 (__longjmp): Use LOAD_GP to load saved GPRs.
53074 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53075 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53076 (__sigsetjmp): Use SAVE_GP to save GPRs.
53077
53078 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53079 Do not append -msoft-float.
53080 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53081
53082 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53083
53084 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53085
53086 2013-09-17 Joseph Myers <joseph@codesourcery.com>
53087
53088 [BZ #15966]
53089 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53090 (_FPU_GETCW): Use initial "__" on variable and field names but not
53091 on macro parameter name.
53092 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
53093 parentheses around reference to macro parameter.
53094
53095 2013-09-13 Richard Sandiford <richard@codesourcery.com>
53096
53097 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53098 prototype.
53099 (ctype_startup): Use uint32_t in cast and sizeof for
53100 ctype->charnames.
53101
53102 2013-09-11 Jia Liu <proljc@gmail.com>
53103
53104 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53105 __daddr_t_defined.
53106 [__FreeBSD__]: Likewise.
53107
53108 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
53109
53110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53111 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53112 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53113 (strchr): Remove __strchr_sse42 ifunc selection.
53114 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53115 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53116
53117 2013-09-11 Will Newton <will.newton@linaro.org>
53118
53119 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53120 parameter to RES. Remove hardcoded 1000 value.
53121 * benchtests/bench-skeleton.c (main): Pass RES parameter
53122 to TIMING_INIT and multiply result by 1000.
53123
53124 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53125
53126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53127
53128 2013-09-11 Andreas Schwab <schwab@suse.de>
53129
53130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53131 if not defined.
53132 (O_TMPFILE) [__USE_GNU]: Define.
53133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53134 Define.
53135
53136 2013-09-11 Will Newton <will.newton@linaro.org>
53137
53138 [BZ #15857]
53139 * malloc/malloc.c (__libc_memalign): Check the value of bytes
53140 does not overflow.
53141
53142 2013-09-11 Will Newton <will.newton@linaro.org>
53143
53144 [BZ #15856]
53145 * malloc/malloc.c (__libc_valloc): Check the value of bytes
53146 does not overflow.
53147
53148 2013-09-11 Will Newton <will.newton@linaro.org>
53149
53150 [BZ #15855]
53151 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53152 does not overflow.
53153
53154 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
53155
53156 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53157 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53158 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53159 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53161
53162 2013-09-10 Allan McRae <allan@archlinux.org>
53163
53164 [BZ #15748]
53165 * manual/arith.texi (Parsing of Floats): Clarify
53166 cross-reference.
53167
53168 [BZ #15849]
53169 * manual/install.texi (Running make install): Mention
53170 --enable-pt-chown.
53171 * INSTALL: Regenerated.
53172
53173 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53174
53175 * csu/init-first.c (_init): Remove the !SHARED condition around
53176 FPU control word initialization.
53177 * elf/dl-support.c (_dl_fpu_control): New variable.
53178 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53179 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53180 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53181 * math/test-fpucw-static.c: New file.
53182 * math/test-fpucw-ieee.c: New file.
53183 * math/test-fpucw-ieee-static.c: New file.
53184 * math/Makefile (tests): Add `test-fpucw-ieee' and
53185 `$(tests-static)'.
53186 (tests-static): New variable.
53187 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53188 dependency to...
53189 [($(build-shared),yes)]
53190 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53191 ... this.
53192 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53193 New dependency.
53194
53195 2013-09-09 Allan McRae <allan@archlinux.org>
53196
53197 [BZ #15939]
53198 * manual/string.texi (Collation Functions): Fix typo in
53199 strcoll example.
53200 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53201
53202 [BZ #15893]
53203 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53204
53205 [BZ #15892]
53206 * libio/memstream.c (open_memstream): Fix memory leak.
53207 * libio/wmemstream.c (open_wmemstream): Likewise.
53208
53209 [BZ #15895]
53210 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53211
53212 2013-09-09 Will Newton <will.newton@linaro.org>
53213
53214 * malloc/Makefile: Add tst-realloc to tests.
53215 * malloc/tst-realloc.c: New file.
53216
53217 2013-09-09 Allan McRae <allan@archlinux.org>
53218
53219 [BZ #15844]
53220 * COPYING: Update from GNU website to fix FSF address.
53221 * COPYING.LIB: Likewise.
53222
53223 2013-09-06 David S. Miller <davem@davemloft.net>
53224
53225 * po/zh_TW.po: Update Chinese (traditional) translation from
53226 translation project.
53227
53228 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53229 Joseph Myers <joseph@codesourcery.com>
53230
53231 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53232 "localeinfo.h".
53233 (obstack_chunk_alloc): New macro.
53234 (obstack_chunk_free): Likewise.
53235 (record_offset): New function.
53236 (init_locale_data): Likewise.
53237 (align_locale_data): Likewise.
53238 (add_locale_empty): Likewise.
53239 (add_locale_raw_data): Likewise.
53240 (add_locale_raw_obstack): Likewise.
53241 (add_locale_string): Likewise.
53242 (add_locale_wstring): Likewise.
53243 (add_locale_uint32): Likewise.
53244 (add_locale_uint32_array): Likewise.
53245 (add_locale_char): Likewise.
53246 (start_locale_structure): Likewise.
53247 (end_locale_structure): Likewise.
53248 (start_locale_prelude): Likewise.
53249 (end_locale_prelude): Likewise.
53250 (write_locale_data): Take locale_file structure rather than an
53251 iovec.
53252 * locale/programs/locfile.h: Include "obstack.h".
53253 (struct locale_file): Change to store locale file contents instead
53254 of header.
53255 (init_locale_data): New prototype.
53256 (align_locale_data): Likewise.
53257 (add_locale_empty): Likewise.
53258 (add_locale_raw_data): Likewise.
53259 (add_locale_raw_obstack): Likewise.
53260 (add_locale_string): Likewise.
53261 (add_locale_wstring): Likewise.
53262 (add_locale_uint32): Likewise.
53263 (add_locale_uint32_array): Likewise.
53264 (add_locale_char): Likewise.
53265 (start_locale_structure): Likewise.
53266 (end_locale_structure): Likewise.
53267 (start_locale_prelude): Likewise.
53268 (end_locale_prelude): Likewise.
53269 (write_locale_data): Update prototype.
53270 * locale/programs/3level.h (struct TABLE): Remove result field.
53271 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53272 Use new locale_file interface.
53273 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53274 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53275 * locale/programs/ld-address.c (address_output): Use new
53276 locale_file interface.
53277 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53278 NO_ADD_LOCALE.
53279 (collate_finish): Don't call collseq_table_finalize.
53280 (collate_output): Use new locale_file interface.
53281 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53282 in file.
53283 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53284 (TABLE): Move defines earlier in file.
53285 (ELEMENT): Likewise.
53286 (DEFAULT): Likewise.
53287 (wctrans_table_add): Move macro and inline function earlier in
53288 file.
53289 (struct wctype_table): Move type earlier in file.
53290 (add_locale_wctype_table): New static prototype.
53291 (struct locale_ctype_t): Use logical types instead of struct iovec
53292 pointers for members.
53293 (ctype_output): Use new locale_file interface.
53294 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53295 new locale_file interface.
53296 (allocate_arrays): Update for use of new locale_file interface.
53297 * locale/programs/ld-identification.c (identification_output): Use
53298 new locale_file interface.
53299 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53300 * locale/programs/ld-messages.c (messages_output): Likewise.
53301 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53302 * locale/programs/ld-name.c (name_output): Likewise.
53303 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53304 * locale/programs/ld-paper.c (paper_output): Likewise.
53305 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53306 * locale/programs/ld-time.c (time_output): Likewise.
53307
53308 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53309
53310 * benchtests/Makefile: Add memrchr benchmark.
53311 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53312 benchmark as memrchr.
53313 * benchtests/bench-memrchr-ifunc.c: New file.
53314 * benchtests/bench-memrchr.c: New file.
53315
53316 2013-09-06 Will Newton <will.newton@linaro.org>
53317
53318 * benchtests/Makefile (string-bench): Add memcpy.
53319
53320 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53321 Cong Wang <amwang@redhat.com>
53322
53323 [BZ #15850]
53324 * sysdeps/unix/sysv/linux/bits/in.h
53325 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53326 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53327 before __USE_KERNEL_IPV6_DEFS uses.
53328 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53329 IPPROTO_BEETPH.
53330 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53331 sockaddr_in6, or ipv6_mreq.
53332
53333 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53334
53335 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53336 memory access for final bytes in some large inputs.
53337 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53338
53339 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53340
53341 * string/test-memrchr.c: New file.
53342 * string/test-memrchr-ifunc.c: New file.
53343 * string/Makefile: Add new memrchr testcase.
53344
53345 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53346
53347 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53348 fanotify_init returns EPERM.
53349
53350 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53351
53352 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53353 errors.
53354 (top level): Treat second token from macro or constant entries for
53355 allowed headers as allowed.
53356 * include/complex.h: Condition internal declarations on
53357 [!_ISOMAC].
53358 * include/fenv.h: Condition include of <stdbool.h> and internal
53359 declarations on [!_ISOMAC].
53360
53361 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53362
53363 [BZ #15923]
53364 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53365
53366 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53367
53368 * configure.in (--enable-versioning): Remove configure option.
53369 (libc_cv_asm_symver_directive): Remove configure test.
53370 (libc_cv_ld_version_script_option): Likewise.
53371 (VERSIONING): Remove variable and AC_SUBST.
53372 (DO_VERSIONING): Remove AC_DEFINE.
53373 * configure: Regenerated.
53374 * config.h.in (DO_VERSIONING): Remove macro.
53375 * Makerules [$(versioning) = yes]: Change conditionals to
53376 [$(build-shared) = yes].
53377 * config.make.in (versioning): Remove variable.
53378 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53379 [$(build-shared) = yes].
53380 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53381 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53382 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53383 [$(build-shared) = yes].
53384 * extra-lib.mk [$(versioning) = yes]: Likewise.
53385 * hurd/Makefile [$(versioning) = yes]: Likewise.
53386 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53387 [SHARED].
53388 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53389 [SHARED].
53390 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53391 [SHARED && !NO_HIDDEN].
53392 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53393 [SHARED].
53394 [SHARED && DO_VERSIONING]: Likewise..
53395 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53396 [$(build-shared) = yes].
53397 * manual/install.texi (--disable-versioning): Remove
53398 documentation.
53399 * INSTALL: Regenerated.
53400 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53401 to [SHARED].
53402 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53403 [$(build-shared) = yes].
53404 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53405 * sysdeps/i386/i686/multiarch/strstr-c.c
53406 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53407 [SHARED && !NO_HIDDEN].
53408 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53409 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53410 * sysdeps/powerpc/powerpc32/dl-machine.c
53411 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53412 * sysdeps/powerpc/powerpc32/sysdep.h
53413 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53414 to [SHARED && PIC && !NO_HIDDEN].
53415 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53416 conditional to [SHARED].
53417
53418 2013-09-04 Will Newton <will.newton@linaro.org>
53419
53420 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53421 * benchtests/bench-string.h: Include bench-timing.h instead
53422 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53423 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53424 call to HP_TIMING_DIFF_INIT.
53425 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53426 instead of hp-timing.h macros.
53427 * benchtests/bench-memchr.c: Likewise.
53428 * benchtests/bench-memcmp.c: Likewise.
53429 * benchtests/bench-memcpy.c: Likewise.
53430 * benchtests/bench-memmem.c: Likewise.
53431 * benchtests/bench-memmove.c: Likewise.
53432 * benchtests/bench-memset.c: Likewise.
53433 * benchtests/bench-rawmemchr.c: Likewise.
53434 * benchtests/bench-strcasecmp.c: Likewise.
53435 * benchtests/bench-strcasestr.c: Likewise.
53436 * benchtests/bench-strcat.c: Likewise.
53437 * benchtests/bench-strchr.c: Likewise.
53438 * benchtests/bench-strcmp.c: Likewise.
53439 * benchtests/bench-strcpy.c: Likewise.
53440 * benchtests/bench-strcpy_chk.c: Likewise.
53441 * benchtests/bench-strlen.c: Likewise.
53442 * benchtests/bench-strncasecmp.c: Likewise.
53443 * benchtests/bench-strncat.c: Likewise.
53444 * benchtests/bench-strncmp.c: Likewise.
53445 * benchtests/bench-strncpy.c: Likewise.
53446 * benchtests/bench-strnlen.c: Likewise.
53447 * benchtests/bench-strpbrk.c: Likewise.
53448 * benchtests/bench-strrchr.c: Likewise.
53449 * benchtests/bench-strspn.c: Likewise.
53450 * benchtests/bench-strstr.c: Likewise.
53451
53452 2013-09-04 Will Newton <will.newton@linaro.org>
53453
53454 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53455
53456 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53457
53458 [BZ #15427]
53459 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53460 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53461 * math/libm-test.inc (lgamma_test_data): Add more tests.
53462 * sysdeps/i386/fpu/libm-test-ulps: Update.
53463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53464
53465 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53466
53467 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53469 Add ifunc.
53470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53471 Add strcmp-sse2-unaligned
53472 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53473
53474 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53475
53476 * Versions.def (libc): Add GLIBC_2.19.
53477
53478 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53479
53480 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53481 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53482
53483 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53484
53485 [BZ #14155]
53486 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53487 intermediate calculations in recurrence.
53488 (__ieee754_ynf): Likewise.
53489 * math/libm-test.inc (jn_test_data): Do not allow spurious
53490 underflow exception. Add more tests.
53491 (yn_test_data): Add more tests.
53492 * sysdeps/i386/fpu/libm-test-ulps: Update.
53493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53494
53495 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53496
53497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53498
53499 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53500
53501 * csu/init-first.c: Fix then/than typos.
53502 * locale/programs/ld-collate.c: Likewise.
53503 * locale/programs/linereader.h: Likewise.
53504 * manual/charset.texi: Likewise.
53505 * manual/filesys.texi: Likewise.
53506 * manual/stdio.texi: Likewise.
53507 * manual/string.texi: Likewise.
53508 * stdlib/fmtmsg.c: Likewise.
53509 * sysdeps/i386/stpncpy.S: Likewise.
53510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53511 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53513 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53514
53515 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53516
53517 * elf/dl-open.c: Fix typos.
53518 * iconvdata/gbbig5.c: Likewise.
53519 * iconvdata/iso-2022-jp.c: Likewise.
53520 * iconv/gconv_int.h: Likewise.
53521 * iconv/loop.c: Likewise.
53522 * nis/rpcsvc/nis.h: Likewise.
53523 * resolv/ns_name.c: Likewise.
53524 * stdio-common/vfscanf.c: Likewise.
53525 * streams/stropts.h: Likewise.
53526 * sunrpc/rpc_thread.c: Likewise.
53527 * sysdeps/i386/strpbrk.S: Likewise.
53528 * sysdeps/ieee754/k_standard.c: Likewise.
53529 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53531 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53532 * sysdeps/mach/hurd/profil.c: Likewise.
53533 * sysdeps/s390/dl-procinfo.h: Likewise.
53534 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53535 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53536 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53537 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53539
53540 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53541
53542 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53544
53545 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53546
53547 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53548 aix specific files.
53549 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53550 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53551 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53552 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53553 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53554 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53555 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53556 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53557
53558 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53559 Roland McGrath <roland@hack.frob.com>
53560
53561 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53562 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53563
53564 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53565
53566 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53567 __executable_start symbol instead of _start.
53568
53569 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53570
53571 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53572 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53573 Move macros to...
53574 * sysdeps/gnu/ldsodefs.h: ... this new file.
53575
53576 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53577 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53578 instead of ELFOSABI_LINUX.
53579
53580 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53581 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53582 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53583 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53584 Likewise.
53585 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53586 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53587 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53588 Likewise.
53589 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53590 (ibm_extended_long_double): Add ieee_nan member.
53591 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53592 (do_test): New function.
53593
53594 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53595 TEST_TRUNC.
53596 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53597 functions, renamed from truncdfsf_test, trunctfsf_test,
53598 trunctfdf_test.
53599 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53600 functions.
53601 (do_test): Run all these.
53602
53603 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53604
53605 * argp/argp-help.c: Fix typos.
53606 * argp/argp-parse.c: Likewise.
53607 * debug/backtracesyms.c: Likewise.
53608 * elf/elf.h: Likewise.
53609 * malloc/malloc.c: Likewise.
53610 * nis/nis_print.c: Likewise.
53611 * resolv/res_comp.c: Likewise.
53612 * stdlib/stdlib.h: Likewise.
53613 * sunrpc/clnt_tcp.c: Likewise.
53614 * sunrpc/clnt_udp.c: Likewise.
53615 * sunrpc/clnt_unix.c: Likewise.
53616 * sysdeps/unix/bsd/ptsname.c: Likewise.
53617 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53620 Likewise.
53621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53622 Likewise.
53623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53624 Likewise.
53625 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53626
53627 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53628
53629 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53631
53632 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53633
53634 [BZ #15897]
53635 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53636 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53637 ($(objpfx)bug-dl-leaf): New rule.
53638 ($(objpfx)bug-dl-leaf.so): Likewise.
53639 ($(objpfx)bug-dl-leaf.out): Likewise.
53640 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53641 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53642 * dlfcn/bug-dl-leaf.c: New test.
53643 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53644 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53645 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53646 (dlclose): Likewise.
53647 (dlmopen): Likewise.
53648
53649 2013-08-27 Roland McGrath <roland@hack.frob.com>
53650
53651 * include/netdb.h [!_ISOMAC]:
53652 Don't include <tls.h>.
53653 (h_errno, __libc_h_errno): Move declaration and macros out of
53654 [_LIBC_REENTRANT].
53655
53656 * include/resolv.h [_RESOLV_H_]:
53657 Don't include <tls.h>.
53658 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53659 * resolv/res_libc.c: Don't include <tls.h>.
53660 (_res): Use __attribute__ ((nocommon)) in place of
53661 __attribute__ ((section (".bss"))).
53662
53663 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53664 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53665
53666 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53667
53668 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53669 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53670
53671 * resolv/res_mkquery.c: Include <sys/time.h>.
53672
53673 * inet/ifreq.c: Moved to ...
53674 * sysdeps/unix/ifreq.c: ... here.
53675 * inet/ifreq.c: New file, true stub version.
53676
53677 * socket/sa_len.c: New file.
53678 * socket/Makefile (aux): Add it.
53679 * sysdeps/unix/sysv/linux/Makefile
53680 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53681 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53682 and #include <socket/sa_len.c>.
53683 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53684 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53685
53686 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53687 * bits/socket.h: ... here.
53688
53689 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53690 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53691 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53692
53693 2013-08-27 Andreas Schwab <schwab@suse.de>
53694
53695 [BZ #15736]
53696 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53697 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53698 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53699 * string/test-strcasecmp.c (test_main): Run tests in several
53700 locales.
53701 * string/test-strncasecmp.c (test_main): Likewise.
53702
53703 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53704 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53705 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53707 (__strncasecmp_ssse3) [PIC]: Likewise.
53708
53709 2013-08-26 Roland McGrath <roland@hack.frob.com>
53710
53711 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53712
53713 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53714 instead of explicitly declaring xdecrypt.
53715 * nis/nss_nis/nis-publickey.c: Likewise.
53716
53717 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53718
53719 [BZ #15890]
53720 * nscd/aicache.c: Include res_hconf.h.
53721 (addhstaiX): Initialize res_hconf.
53722
53723 2013-08-26 Andreas Schwab <schwab@suse.de>
53724
53725 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53726 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53727
53728 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53729
53730 * nscd/aicache.c (addhstaiX): Fix indentation.
53731
53732 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53733
53734 * configure.ac: Quote $build_pt_chown test.
53735 * configure: Regenerated.
53736
53737 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53738
53739 [BZ #15532]
53740 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53741 * math/s_cexpf.c (__cexpf): Likewise.
53742 * math/s_cexpl.c (__cexpl): Likewise.
53743 * math/libm-test.inc (cexp_test_data): Correct expected return
53744 value for NaN + i0. Add another test.
53745
53746 2013-08-22 David S. Miller <davem@davemloft.net>
53747
53748 * po/ca.po: Update Catalan translation from translation project.
53749 * po/uk.po: Add Ukrainian translations from translation project.
53750
53751 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53752
53753 [BZ #15797]
53754 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53755 is infinite, not alongside NaN test.
53756 * math/s_fdimf.c (__fdimf): Likewise.
53757 * math/s_fdiml.c (__fdiml): Likewise.
53758 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53759 errno is unchanged.
53760
53761 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53762
53763 * argp/argp-help.c: Fix typos.
53764 * crypt/speeds.c: Likewise.
53765 * csu/check_fds.c: Likewise.
53766 * elf/dl-load.c: Likewise.
53767 * elf/dl-open.c: Likewise.
53768 * elf/reldep3.c: Likewise.
53769 * elf/reldep.c: Likewise.
53770 * elf/sprof.c: Likewise.
53771 * iconv/iconv_charmap.c: Likewise.
53772 * iconv/skeleton.c: Likewise.
53773 * iconv/strtab.c: Likewise.
53774 * io/lockf64.c: Likewise.
53775 * libio/libioP.h: Likewise.
53776 * resolv/gai_notify.c: Likewise.
53777 * resolv/ns_name.c: Likewise.
53778 * resolv/ns_samedomain.c: Likewise.
53779 * resolv/res_send.c: Likewise.
53780 * stdlib/random.c: Likewise.
53781 * sunrpc/rpc/xdr.h: Likewise.
53782 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53786 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53789 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53790 * sysdeps/mach/hurd/check_fds.c: Likewise.
53791 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53792 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53795 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53796 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53797 * sysdeps/pthread/aio_notify.c: Likewise.
53798 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53799 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53800 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53802 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53803
53804 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53805
53806 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53807 version if bit_Slow_SSE4_2 is set.
53808 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53810
53811 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53812
53813 [BZ #15867]
53814 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53815 trampoline stack frame information.
53816 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53818 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53819 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53820 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53821 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53822 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53823 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53824 sa_flags value.
53825 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53826 interrupting a syscall and set with option SA_SIGINFO.
53827
53828 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53829
53830 [BZ #15531]
53831 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53832 argument is infinite.
53833 * math/s_cprojf.c (__cprojf): Likewise.
53834 * math/s_cprojl.c (__cprojl): Likewise.
53835 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53836 * math/libm-test.inc (cproj_test_data): Add more tests.
53837
53838 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53839
53840 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53841 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53842 size. Use __ffs to determine corresponding shift.
53843
53844 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53845 Roland McGrath <roland@hack.frob.com>
53846
53847 * Makefile (INSTALL): Remove trailing blank lines from output of
53848 makeinfo.
53849
53850 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53851
53852 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53853 Align 32 bit compat elf_greg to 8 bytes.
53854
53855 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53856
53857 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53858
53859 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53860
53861 * string/strcoll_l.c (coll_seq): New structure.
53862 (get_next_seq_cached): New function.
53863 (get_next_seq): New function.
53864 (do_compare): New function.
53865 (STRCOLL): Use GNU style definition. Simplify implementation
53866 by using get_next_seq, get_next_seq_cached and do_compare.
53867
53868 2013-08-16 Florian Weimer <fweimer@redhat.com>
53869
53870 [BZ #14699]
53871 CVE-2013-4237
53872 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53873 member.
53874 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53875 member.
53876 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53877 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53878 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53879 conditional.
53880 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53881 GETDENTS_64BIT_ALIGNED.
53882 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53883 * manual/filesys.texi (Reading/Closing Directory): Document
53884 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53885 strongly.
53886 * manual/conf.texi (Limits for Files): Add portability note to
53887 NAME_MAX, PATH_MAX.
53888 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53889
53890 2013-08-13 Andreas Schwab <schwab@suse.de>
53891
53892 [BZ #15749]
53893 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53894 of fabs.
53895 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53896 LDBL_MAX_EXP >= 16384]: Add tests for it.
53897
53898 2013-08-12 David S. Miller <davem@davemloft.net>
53899
53900 * version.h (RELEASE): Set to "development".
53901 (VERSION): Set to "2.18.90".
53902 * NEWS: Add 2.19 section.
53903
53904 2013-08-03 David S. Miller <davem@davemloft.net>
53905
53906 * po/ko.po: Update Korean translation from translation project.
53907
53908 2013-08-01 David S. Miller <davem@davemloft.net>
53909
53910 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53911 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53912 Bilka.
53913
53914 2013-07-30 David S. Miller <davem@davemloft.net>
53915
53916 * po/fr.po: Update French translation from translation project.
53917
53918 2013-07-28 David S. Miller <davem@davemloft.net>
53919
53920 * po/cs.po: Update Czech translation from translation project.
53921
53922 * po/sv.po: Update Swedish translation from translation project.
53923
53924 2013-07-27 David S. Miller <davem@davemloft.net>
53925
53926 * po/eo.po: Update Esperanto translation from translation project.
53927
53928 * po/vi.po: Update Vietnamese translation from translation project.
53929
53930 * po/de.po: Update German translation from translation project.
53931
53932 2013-07-26 David S. Miller <davem@davemloft.net>
53933
53934 * po/bg.po: Update Bulgarian translation from translation project.
53935
53936 * po/nl.po: Update Dutch translation from translation project.
53937 * po/pl.po: Update Polish translation from translation project.
53938 * po/ru.po: Update Russian translation from translation project.
53939
53940 2013-07-24 David S. Miller <davem@davemloft.net>
53941
53942 * po/libc.pot: Update.
53943
53944 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53945
53946 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53947 variable page size.
53948 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53949 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53950 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53951
53952 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53953
53954 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53955
53956 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53957 Andreas Schwab <schwab@suse.de>
53958 Roland McGrath <roland@hack.frob.com>
53959 Joseph Myers <joseph@codesourcery.com>
53960 Carlos O'Donell <carlos@redhat.com>
53961
53962 [BZ #15755]
53963 * config.h.in: Define HAVE_PT_CHOWN.
53964 * config.make.in (build-pt-chown): New variable.
53965 * configure.in (--enable-pt_chown): New configure option.
53966 * configure: Regenerate.
53967 * login/Makefile: Include Makeconfig. Build pt_chown only if
53968 build-pt-chown is enabled.
53969 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53970 pt_chown to fix pty ownership.
53971 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53972 CLOSE_ALL_FDS.
53973 * manual/install.texi (Configuring and compiling): Mention
53974 --enable-pt_chown. Add @findex for grantpt.
53975 * INSTALL: Regenerate.
53976
53977 2013-07-20 David S. Miller <davem@davemloft.net>
53978
53979 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53980 difference between 32-bit and 64-bit.
53981
53982 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53983
53984 [BZ #15711]
53985 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53986 Avoid system header dependency with -ffreestanding.
53987 ($(objpfx)bits/syscall%d): Likewise.
53988
53989 2013-07-13 David S. Miller <davem@davemloft.net>
53990
53991 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53992 underflows from atanl/atan2l due to bug 15319.
53993 (casinh_test_data): Likewise.
53994
53995 2013-07-07 David S. Miller <davem@davemloft.net>
53996
53997 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53998
53999 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
54000
54001 * sysdeps/i386/fpu/libm-test-ulps: Update.
54002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54003
54004 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54005
54006 * configure.in (--enable-lock-elision): Fix message text.
54007 * INSTALL: Regenerate.
54008 * configure: Regenerate.
54009
54010 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54011
54012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54013
54014 2013-07-03 Andreas Jaeger <aj@suse.de>
54015
54016 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54017 define.
54018 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54019 (ptrace_peeksiginfo_args): Add.
54020 (__ptrace_peeksiginfo_flags): Add.
54021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54024
54025 2013-07-03 Allan McRae <allan@archlinux.org>
54026
54027 * sysdeps/i386/fpu/libm-test-ulps: Update.
54028
54029 2013-07-02 David S. Miller <davem@davemloft.net>
54030
54031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54032
54033 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
54034
54035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54036
54037 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54038
54039 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54041
54042 2013-07-02 Andi Kleen <ak@linux.intel.com>
54043
54044 * config.h.in (ENABLE_LOCK_ELISION): Add.
54045 * configure.in (--enable-lock-elision): Add option.
54046 * manual/install.texi: Document --enable lock elision.
54047 * configure: Regenerate
54048 * INSTALL: Regenerate.
54049
54050 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
54051
54052 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54053 SSE4.2 strcasecmp for libc.a.
54054 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54055
54056 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54057
54058 [BZ #13304]
54059 * soft-fp/op-common.h (_FP_FMA): New macro.
54060 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54061 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
54062 (_FP_MUL_MEAT_1_imm): ... here.
54063 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
54064 (_FP_MUL_MEAT_1_wide): ... here.
54065 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
54066 (_FP_MUL_MEAT_1_hard): ... here.
54067 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54068 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
54069 (_FP_MUL_MEAT_2_wide): ... here.
54070 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
54071 (_FP_MUL_MEAT_2_wide_3mul): ... here.
54072 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
54073 (_FP_MUL_MEAT_2_gmp): ... here.
54074 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54075 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
54076 (_FP_MUL_MEAT_4_wide): ... here.
54077 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
54078 (_FP_MUL_MEAT_4_gmp): ... here.
54079 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54080 (_FP_WFRACBITS_DW_S): Likewise.
54081 (_FP_WFRACXBITS_DW_S): Likewise.
54082 (_FP_HIGHBIT_DW_S): Likewise.
54083 (FP_FMA_S): Likewise.
54084 (_FP_FRAC_HIGH_DW_S): Likewise.
54085 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54086 (_FP_WFRACBITS_DW_D): Likewise.
54087 (_FP_WFRACXBITS_DW_D): Likewise.
54088 (_FP_HIGHBIT_DW_D): Likewise.
54089 (FP_FMA_D): Likewise.
54090 (_FP_FRAC_HIGH_DW_D): Likewise.
54091 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54092 (_FP_WFRACBITS_DW_E): Likewise.
54093 (_FP_WFRACXBITS_DW_E): Likewise.
54094 (_FP_HIGHBIT_DW_E): Likewise.
54095 (FP_FMA_E): Likewise.
54096 (_FP_FRAC_HIGH_DW_E): Likewise.
54097 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54098 (_FP_WFRACBITS_DW_Q): Likewise.
54099 (_FP_WFRACXBITS_DW_Q): Likewise.
54100 (_FP_HIGHBIT_DW_Q): Likewise.
54101 (FP_FMA_Q): Likewise.
54102 (_FP_FRAC_HIGH_DW_Q): Likewise.
54103 * soft-fp/fmasf4.c: New file.
54104 * soft-fp/fmadf4.c: Likewise.
54105 * soft-fp/fmatf4.c: Likewise.
54106
54107 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54108
54109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54110 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54111 Silvermont.
54112 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54113 macro.
54114 (index_Slow_SSE4_2): Likewise.
54115 (index_Prefer_PMINUB_for_stringop): Likewise.
54116 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54117 bit_Slow_SSE4_2 is set.
54118 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54120
54121 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54122
54123 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54124 rtld_global._dl_hwcap2.
54125 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54126 POWER8.
54127 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54128 POWER8 feature descriptions defined in _dl_hwcap2.
54129 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54130 string handling for POWER8 feature bits.
54131 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54132 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54133 _dl_powerpc_cap_flags.
54134 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54135 * sysdeps/powerpc/rtld-global-offsets.sym
54136 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54137 _dl_hwcap2 in the rtld_global_ro structure.
54138
54139 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54140
54141 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54142 hardware capabilities in support of AT_HWCAP2.
54143 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54144 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54145 GLRO(dl_hwcap2).
54146 (_dl_show_auxv): Add support for calling _dl_procinfo to display
54147 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
54148 explicitly the unknown a_type display mechanism is used.
54149 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54150 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54151 struct member.
54152 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54153 to macro prototype for AT_HWCAP2 support.
54154 * sysdeps/i386/dl-procinfo.h: Likewise.
54155 * sysdeps/s390/dl-procinfo.h: Likewise.
54156 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54157 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
54158 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
54159 return -1 for unknown a_type display fallback.
54160 * sysdeps/sparc/dl-procinfo.h: Likewise.
54161 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54162 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54163
54164 2013-06-28 Joseph Myers <joseph@codesourcery.com>
54165
54166 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54167 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54168
54169 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
54170
54171 [BZ #12492]
54172 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54173 mprotect making __stack_prot writable.
54174
54175 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54176 Joseph Myers <joseph@codesourcery.com>
54177
54178 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54179 as being properly aligned.
54180
54181 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54182
54183 * dlfcn/modstatic5.c: New file.
54184 * dlfcn/tststatic5.c: New file.
54185 * dlfcn/Makefile (tests): Add tststatic5.
54186 (tests-static): Likewise.
54187 (modules-names): Add modstatic5.
54188 (tststatic5-ENV): New variable.
54189 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54190
54191 [BZ #15022]
54192 * elf/dl-support.c (_dl_main_map): New variable.
54193 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54194 (_dl_nns, _dl_load_adds): Set to 1.
54195 (_dl_initial_searchlist): Refer to _dl_main_map.
54196 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54197 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54198 call to _dl_get_origin.
54199 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54200 around call_map.
54201 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54202 * dlfcn/modstatic3.c: New file.
54203 * dlfcn/tststatic3.c: New file.
54204 * dlfcn/tststatic4.c: New file.
54205 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54206 (tests-static): Likewise.
54207 (modules-names): Add modstatic3.
54208 (tststatic3-ENV, tststatic4-ENV): New variables.
54209 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54210 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54211
54212 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54213
54214 * configure.in (CC): Require GCC version 4.4 or later.
54215 * configure: Regenerated.
54216 * manual/install.texi (Tools for Compilation): Update GCC version
54217 requirement.
54218 * INSTALL: Regenerated.
54219
54220 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54221
54222 [BZ #15674]
54223 * string/test-memcmp.c (check2): New.
54224 (main): Call check2.
54225
54226 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54227
54228 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54229
54230 [BZ #15022]
54231 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54232 over to...
54233 (dl_open_worker) [!SHARED]: ... here.
54234
54235 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54236
54237 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54238
54239 2013-06-25 Richard Henderson <rth@redhat.com>
54240
54241 * locale/programs/locarchive.c: Include <libc-internal.h>
54242
54243 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54244
54245 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54246 trailing whitespace removed.
54247
54248 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54249
54250 [BZ #10283]
54251 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54252 * locale/programs/locarchive.c: Include libc-mmap.h.
54253 (prepare_address_space): Take two new outputs (the mmap base and len).
54254 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54255 values.
54256 (create_archive): Declare new mmap base and len values for
54257 prepare_address_space, and store the result in ah.
54258 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54259 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54260 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54261 Declare new mmap base and len values for
54262 prepare_address_space, and store the result in new_ah.
54263 (open_archive): Declare new mmap base and len values for
54264 prepare_address_space, and store the result in ah.
54265 (close_archive): If ah->mmap_base is not NULL, use that and
54266 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54267 * sysdeps/generic/libc-mmap.h: New file.
54268
54269 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54270
54271 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54272 (ALIGN_UP): Likewise.
54273 (PTR_ALIGN_DOWN): Likewise.
54274 (PTR_ALIGN_UP): Likewise.
54275
54276 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54277
54278 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54279 entry mapped to PPC_PLATFORM_POWER8.
54280 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54281 POWER8.
54282 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54283 (_dl_string_platform): Add case for exporting platform position for
54284 POWER8.
54285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54286 search path to sysdeps/powerpc/powerpc32/power8 directory.
54287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54288 search path to sysdeps/powerpc/powerpc64/power8 directory.
54289 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54290 power7 directories.
54291 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54292 power7 directories.
54293
54294 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54295
54296 * INSTALL: Regenerate.
54297
54298 * nscd/connections.c (nscd_init): Fix comment.
54299
54300 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54301
54302 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54303
54304 [BZ #15667]
54305 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54306 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54307
54308 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54309
54310 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54311 DL_DST_REQ_STATIC.
54312 (DL_DST_REQ_STATIC): Remove macro.
54313
54314 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54315
54316 [BZ #7006]
54317 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54318 with a shift of 0 bits.
54319
54320 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54321
54322 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54323 $(tststatic-ENV).
54324
54325 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54326
54327 [BZ #15655]
54328 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54329
54330 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54331
54332 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54333 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54334 accepts -fno-tree-loop-distribute-patterns.
54335 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54336 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54337 recursive call.
54338 * string/memset.c (memset): Likewise.
54339 * string/test-memmove.c (simple_memmove): Disable loop transformation
54340 to library calls.
54341 * string/test-memset.c (simple_memset): Likewise.
54342 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54343 * benchtests/bench-memset.c (simple_memset): Likewise.
54344 * configure: Regenerated.
54345
54346 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54347
54348 * math/test-misc.c (main): Ignore fesetround failure when failures
54349 of subsequent rounding tests would be ignored.
54350
54351 [BZ #15654]
54352 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54353 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54354 * math/fegetenv.c (__fegetenv): Return 0.
54355 * math/fegetexcept.c (fegetexcept): Return 0.
54356 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54357 FE_TONEAREST.
54358 * math/feholdexcpt.c (feholdexcept): Return 0.
54359 * math/fesetenv.c (__fesetenv): Return 0.
54360 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54361 argument FE_TONEAREST.
54362 * math/feupdateenv.c (__feupdateenv): Return 0.
54363 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54364
54365 2013-06-18 Roland McGrath <roland@hack.frob.com>
54366
54367 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54368 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54369 ($(objpfx)rtld-%.os rules): Use them.
54370
54371 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54372
54373 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54374 fields.
54375
54376 2013-06-17 Roland McGrath <roland@hack.frob.com>
54377
54378 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54379 length of target pattern, then descending length of dependency pattern.
54380 * configure.in (AWK): Require gawk 3.1.2 or newer.
54381 * manual/install.texi (Tools for Compilation): Say that we do.
54382 * configure: Regenerated.
54383
54384 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54385 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54386 * scripts/sysd-rules.awk: ... this new script.
54387 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54388 than a glob-style pattern.
54389
54390 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54391
54392 * math/test-misc.c (main): Do not treat incorrectly rounded
54393 conversions as failure unless ROUNDING_TESTS passes.
54394
54395 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54396
54397 [BZ #15631]
54398 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54399 restore exception state around main square root computation, then
54400 check for inexactness explicitly.
54401
54402 * math/libm-test.inc (fma_test_data): Add another test.
54403
54404 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54405
54406 * manual/threads.texi (Non-POSIX Extensions): New document
54407 node. Document pthread_getattr_default_np and
54408 pthread_setattr_default_np.
54409
54410 * Versions.def (libpthread): Add GLIBC_2.18.
54411 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54413 Likewise.
54414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54415 Likewise.
54416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54417 Likewise.
54418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54419 Likewise.
54420 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54421 Likewise.
54422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54423 Likewise.
54424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54425 Likewise.
54426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54427 Likewise.
54428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54429 Likewise.
54430
54431 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54432
54433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54434 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54435
54436 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54437 H.J. Lu <hjl.tools@gmail.com>
54438
54439 [BZ #15627]
54440 * sysdeps/x86_64/rtld-memset.c: Remove file.
54441 * sysdeps/x86_64/rtld-memset.S: New file.
54442
54443 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54444
54445 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54446 (test_in_one_mode): Take arguments for whether the rounding mode
54447 is supported for each floating-point type.
54448 (do_test): Pass new arguments to test_in_one_mode using
54449 ROUNDING_TESTS.
54450
54451 2013-06-13 Roland McGrath <roland@hack.frob.com>
54452
54453 * posix/tst-waitid.c (do_test): Distinguish different instances of
54454 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54455 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54456 before entering the kernel for waitpid.
54457
54458 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54459
54460 * NEWS: Fix note on clock function precision. Text by Roland
54461 McGrath.
54462
54463 2013-06-13 Roland McGrath <roland@hack.frob.com>
54464
54465 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54466 it into place only when and if the sanity check passes.
54467
54468 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54469
54470 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54471 output for whether conversion result is exact. Take argument
54472 indicating whether type is IBM long double.
54473 (round_for_all): Change need_exact field to ibm_ld.
54474 * stdlib/tst-strtod-round.c (struct exactness): New type.
54475 (struct test): Change bool ld_ok field to struct exactness exact.
54476 (TEST): Update all definitions for change to field.
54477 (tests): Regenerate array contents.
54478 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54479 field value. Check for IBM long double here.
54480 (do_test): Update calls to test_in_one_mode.
54481
54482 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54483
54484 [BZ #12515]
54485 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54486 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54487
54488 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54489
54490 [BZ #15605]
54491 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54492 generated by the compiler on loop optimizations.
54493 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54494 general definitions.
54495
54496 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54497
54498 * math/bug-nextafter.c: Include <math-tests.h>.
54499 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54500 the relevant type.
54501 * math/bug-nexttoward.c: Include <math-tests.h>.
54502 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54503 the relevant type.
54504 * math/test-misc.c: Include <math-tests.h>.
54505 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54506 the relevant type.
54507
54508 2013-06-12 Andreas Jaeger <aj@suse.de>
54509
54510 * po/ia.po: Update Interlingua translation from translation
54511 project.
54512
54513 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54514
54515 * include/fenv.h: Include stdbool.h.
54516 (struct rm_ctx): New structure.
54517 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54518 Define macro.
54519 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54520 (SET_RESTORE_ROUNDF): Likewise.
54521 (SET_RESTORE_ROUNDL): Likewise.
54522 (SET_RESTORE_ROUND_NOEX): Likewise.
54523 (SET_RESTORE_ROUND_NOEXF): Likewise.
54524 (SET_RESTORE_ROUND_NOEXL): Likewise.
54525 (SET_RESTORE_ROUND_53BIT): Likewise.
54526 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54527 (libc_feresetround_noexf_ctx): Likewise.
54528 (libc_feresetround_noexl_ctx): Likewise.
54529 (libc_feholdsetround_53bit_ctx): Likewise.
54530 (libc_feresetround_53bit_ctx): Likewise.
54531 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54532 (libc_feholdexcept_setround_sse_ctx): New function.
54533 (libc_fesetenv_sse_ctx): Likewise.
54534 (libc_feupdateenv_sse_ctx): Likewise.
54535 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54536 (libc_feholdexcept_setround_387_ctx): Likewise.
54537 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54538 (libc_feholdsetround_387_prec_ctx): Likewise.
54539 (libc_feholdsetround_387_ctx): Likewise.
54540 (libc_feholdsetround_387_53bit_ctx): Likewise.
54541 (libc_feholdsetround_sse_ctx): Likewise.
54542 (libc_feresetround_sse_ctx): Likewise.
54543 (libc_feresetround_387_ctx): Likewise.
54544 (libc_feupdateenv_387_ctx): Likewise.
54545 (libc_feholdexcept_setroundf_ctx): Define macro.
54546 (libc_fesetenvf_ctx): Likewise.
54547 (libc_feupdateenvf_ctx): Likewise.
54548 (libc_feholdsetroundf_ctx): Likewise.
54549 (libc_feresetroundf_ctx): Likewise.
54550 (libc_feholdexcept_setround_ctx): Likewise.
54551 (libc_fesetenv_ctx): Likewise.
54552 (libc_feupdateenv_ctx): Likewise.
54553 (libc_feholdsetround_ctx): Likewise.
54554 (libc_feresetround_ctx): Likewise.
54555 (libc_feholdexcept_setroundl_ctx): Likewise.
54556 (libc_feupdateenvl_ctx): Likewise.
54557 (libc_feholdsetroundl_ctx): Likewise.
54558 (libc_feresetroundl_ctx): Likewise.
54559 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54560 (libc_feresetround_53bit_ctx): Likewise.
54561
54562 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54563
54564 * locale/iso-639.def: Convert to UTF-8.
54565
54566 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54567
54568 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54569 (EXCEPTION_TESTS_double): Likewise.
54570 (EXCEPTION_TESTS_long_double): Likewise.
54571 (EXCEPTION_TESTS): Likewise.
54572 * math/libm-test.inc (test_exceptions): Only test exceptions if
54573 EXCEPTION_TESTS (FLOAT).
54574
54575 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54576
54577 * benchtests/Makefile (string-bench): Add strcpy_chk and
54578 stpcpy_chk.
54579 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54580 * benchtests/bench-stpcpy_chk.c: New file.
54581 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54582 * benchtests/bench-strcpy_chk.c: New file.
54583 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54584 code.
54585 (do_test): Likewise.
54586
54587 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54588
54589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54590 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54591 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54592 with tabs where appropriate.
54593 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54594 dl-procinfo.h.
54595 [PPC_PLATFORM_PPC440]: Likewise.
54596 [PPC_PLATFORM_PPC464]: Likewise.
54597 [PPC_PLATFORM_PPC476]: Likewise.
54598 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54599 ppc464, and ppc476 platform strings merging from ports/
54600 dl-procinfo.h.
54601
54602 2013-06-11 Andreas Schwab <schwab@suse.de>
54603
54604 [BZ #14991]
54605 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54606 (from_ucs4_idx): Regenerate.
54607 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54608 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54609 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54610 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54611 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54612 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54613 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54614 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54615 from FROM_LOOP and TO_LOOP specific macros.
54616 (BODY): Handle combining characters.
54617 * iconvdata/BIG5HKSCS.irreversible: Update.
54618 * iconvdata/BIG5HKSCS.precomposed: New file.
54619 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54620 characters.
54621 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54622
54623 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54624
54625 * include/sys/time.h: Fix indentation and add copyright header.
54626
54627 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54628 (do_test): Likewise.
54629 * string/test-memchr.c (do_one_test): Likewise.
54630 (do_test): Likewise.
54631 * string/test-memcmp.c (do_one_test): Likewise.
54632 (do_test): Likewise.
54633 * string/test-memcpy.c (do_one_test): Likewise.
54634 (do_test): Likewise.
54635 * string/test-memmem.c (do_one_test): Likewise.
54636 (do_test): Likewise.
54637 (do_random_tests): Likewise.
54638 * string/test-memmove.c (do_one_test): Likewise.
54639 (do_test): Likewise.
54640 * string/test-memset.c (do_one_test): Likewise.
54641 (do_test): Likewise.
54642 * string/test-rawmemchr.c (do_one_test): Likewise.
54643 (do_test): Likewise.
54644 * string/test-strcasecmp.c (do_one_test): Likewise.
54645 (do_test): Likewise.
54646 * string/test-strcasestr.c (do_one_test): Likewise.
54647 (do_test): Likewise.
54648 * string/test-strcat.c (do_one_test): Likewise.
54649 (do_test): Likewise.
54650 * string/test-strchr.c (do_one_test): Likewise.
54651 (do_test): Likewise.
54652 * string/test-strcmp.c (do_one_test): Likewise.
54653 (do_test): Likewise.
54654 * string/test-strcpy.c (do_one_test): Likewise.
54655 (do_test): Likewise.
54656 * string/test-string.h: Likewise.
54657 (test_init): Likewise.
54658 * string/test-strlen.c (do_one_test): Likewise.
54659 (do_test): Likewise.
54660 * string/test-strncasecmp.c (do_one_test): Likewise.
54661 (do_test): Likewise.
54662 * string/test-strncat.c (do_one_test): Likewise.
54663 (do_test): Likewise.
54664 * string/test-strncmp.c (do_one_test): Likewise.
54665 (do_test_limit): Likewise.
54666 (do_test): Likewise.
54667 * string/test-strncpy.c (do_one_test): Likewise.
54668 (do_test): Likewise.
54669 * string/test-strnlen.c (do_one_test): Likewise.
54670 (do_test): Likewise.
54671 * string/test-strpbrk.c (do_one_test): Likewise.
54672 (do_test): Likewise.
54673 * string/test-strrchr.c (do_one_test): Likewise.
54674 (do_test): Likewise.
54675 * string/test-strspn.c (do_one_test): Likewise.
54676 (do_test): Likewise.
54677 * string/test-strstr.c (do_one_test): Likewise.
54678 (do_test): Likewise.
54679
54680 * benchtests/Makefile (string-bench): Add string benchmarks.
54681 * benchtests/bench-bcopy-ifunc.c: New file.
54682 * benchtests/bench-bcopy.c: New file.
54683 * benchtests/bench-bzero-ifunc.c: New file.
54684 * benchtests/bench-bzero.c: New file.
54685 * benchtests/bench-memccpy-ifunc.c: New file.
54686 * benchtests/bench-memccpy.c: New file.
54687 * benchtests/bench-memchr-ifunc.c: New file.
54688 * benchtests/bench-memchr.c: New file.
54689 * benchtests/bench-memcmp-ifunc.c: New file.
54690 * benchtests/bench-memcmp.c: New file.
54691 * benchtests/bench-memmem-ifunc.c: New file.
54692 * benchtests/bench-memmem.c: New file.
54693 * benchtests/bench-memmove-ifunc.c: New file.
54694 * benchtests/bench-memmove.c: New file.
54695 * benchtests/bench-mempcpy-ifunc.c: New file.
54696 * benchtests/bench-mempcpy.c: New file.
54697 * benchtests/bench-memset-ifunc.c: New file.
54698 * benchtests/bench-memset.c: New file.
54699 * benchtests/bench-rawmemchr-ifunc.c: New file.
54700 * benchtests/bench-rawmemchr.c: New file.
54701 * benchtests/bench-stpcpy-ifunc.c: New file.
54702 * benchtests/bench-stpcpy.c: New file.
54703 * benchtests/bench-stpncpy-ifunc.c: New file.
54704 * benchtests/bench-stpncpy.c: New file.
54705 * benchtests/bench-strcasecmp-ifunc.c: New file.
54706 * benchtests/bench-strcasecmp.c: New file.
54707 * benchtests/bench-strcasestr-ifunc.c: New file.
54708 * benchtests/bench-strcasestr.c: New file.
54709 * benchtests/bench-strcat-ifunc.c: New file.
54710 * benchtests/bench-strcat.c: New file.
54711 * benchtests/bench-strchr-ifunc.c: New file.
54712 * benchtests/bench-strchr.c: New file.
54713 * benchtests/bench-strchrnul-ifunc.c: New file.
54714 * benchtests/bench-strchrnul.c: New file.
54715 * benchtests/bench-strcmp-ifunc.c: New file.
54716 * benchtests/bench-strcmp.c: New file.
54717 * benchtests/bench-strcpy-ifunc.c: New file.
54718 * benchtests/bench-strcpy.c: New file.
54719 * benchtests/bench-strcspn-ifunc.c: New file.
54720 * benchtests/bench-strcspn.c: New file.
54721 * benchtests/bench-strlen-ifunc.c: New file.
54722 * benchtests/bench-strlen.c: New file.
54723 * benchtests/bench-strncasecmp-ifunc.c: New file.
54724 * benchtests/bench-strncasecmp.c: New file.
54725 * benchtests/bench-strncat-ifunc.c: New file.
54726 * benchtests/bench-strncat.c: New file.
54727 * benchtests/bench-strncmp-ifunc.c: New file.
54728 * benchtests/bench-strncmp.c: New file.
54729 * benchtests/bench-strncpy-ifunc.c: New file.
54730 * benchtests/bench-strncpy.c: New file.
54731 * benchtests/bench-strnlen-ifunc.c: New file.
54732 * benchtests/bench-strnlen.c: New file.
54733 * benchtests/bench-strpbrk-ifunc.c: New file.
54734 * benchtests/bench-strpbrk.c: New file.
54735 * benchtests/bench-strrchr-ifunc.c: New file.
54736 * benchtests/bench-strrchr.c: New file.
54737 * benchtests/bench-strspn-ifunc.c: New file.
54738 * benchtests/bench-strspn.c: New file.
54739 * benchtests/bench-strstr-ifunc.c: New file.
54740 * benchtests/bench-strstr.c: New file.
54741
54742 * benchtests/Makefile: Disable parallel execution of targets.
54743 (string-bench): Add memcpy.
54744 (benchset): New variable to store a list of benchmark sets.
54745 (bench-func): Renamed from bench.
54746 (bench-set): New target.
54747 (bench): Depend on bench-func and bench-set.
54748 * benchtests/README: Add section on benchmark sets.
54749 * benchtests/bench-memcpy-ifunc.c: New file.
54750 * benchtests/bench-memcpy.c: New file.
54751 * benchtests/bench-string.h: New file.
54752
54753 2013-06-11 Andreas Schwab <schwab@suse.de>
54754
54755 [BZ #15577]
54756 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54757 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54758 values in the triple.
54759 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54760 terminator in the group key.
54761
54762 2013-06-11 Andreas Jaeger <aj@suse.de>
54763
54764 * po/zh_TW.po: Update Chinese (traditional) translation from
54765 translation project.
54766
54767 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54768
54769 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54770 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54771 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54773 (clock_getcpuclockid): Likewise.
54774 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54775 Add weak_alias and libc_hidden_def.
54776 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54777 * rt/clock_gettime.c (clock_gettime): Rename to
54778 __clock_gettime. Add weak_alias and libc_hidden_def.
54779 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54780 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54781 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54782 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54783 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54784 Likewise.
54785 * rt/clock_settime.c (clock_settime): Rename to
54786 __clock_settime. Add weak_alias and libc_hidden_def.
54787 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54788
54789 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54790
54791 * mach/err_boot.sub: Remove trailing whitespace.
54792 * mach/err_ipc.sub: Likewise.
54793 * mach/err_mach.sub: Likewise.
54794
54795 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54796 (ROUNDING_TESTS_double): Likewise.
54797 (ROUNDING_TESTS_long_double): Likewise.
54798 (ROUNDING_TESTS): Likewise.
54799 * math/libm-test.inc: Include <math-tests.h>.
54800 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54801 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54802 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54803 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54804
54805 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54806
54807 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54808 of assigning.
54809
54810 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54811
54812 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54813 otherwise empty TRANS lines.
54814 * sysdeps/gnu/errlist.c: Regenerated.
54815
54816 * catgets/gencat.c (error_print): Use (void) in function
54817 definition.
54818 * crypt/crypt_util.c (__init_des): Likewise.
54819 * crypt/speeds.c (Stop): Likewise.
54820 (main): Likewise.
54821 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54822 * inet/ruserpass.c (token): Likewise.
54823 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54824 * intl/localealias.c (extend_alias_table): Likewise.
54825 * intl/plural-exp.c (init_germanic_plural): Likewise.
54826 * libio/fcloseall.c (__fcloseall): Likewise.
54827 * libio/genops.c (_IO_flush_all): Likewise.
54828 (_IO_flush_all_linebuffered): Likewise.
54829 (_IO_cleanup): Likewise.
54830 (_IO_iter_begin): Likewise.
54831 (_IO_iter_end): Likewise.
54832 (_IO_list_lock): Likewise.
54833 (_IO_list_unlock): Likewise.
54834 (_IO_list_resetlock): Likewise.
54835 * libio/getchar.c (getchar): Likewise.
54836 * libio/getchar_u.c (getchar_unlocked): Likewise.
54837 * libio/getwchar.c (getwchar): Likewise.
54838 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54839 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54840 * login/getpt.c (__getpt): Likewise.
54841 * login/tst-utmp.c (main): Likewise.
54842 * malloc/hooks.c (__malloc_check_init): Likewise.
54843 * malloc/malloc.c (__malloc_stats): Likewise.
54844 * malloc/mtrace.c (tr_break): Likewise.
54845 (mtrace): Likewise.
54846 (muntrace): Likewise.
54847 * misc/fstab.c (endfsent): Likewise.
54848 * misc/getclktck.c (__getclktck): Likewise.
54849 * misc/getdtsz.c (__getdtablesize): Likewise.
54850 * misc/gethostid.c (gethostid): Likewise.
54851 * misc/getpagesize.c (__getpagesize): Likewise.
54852 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54853 (__get_nprocs): Likewise.
54854 (__get_phys_pages): Likewise.
54855 (__get_avphys_pages): Likewise.
54856 * misc/getttyent.c (getttyent): Likewise.
54857 (setttyent): Likewise.
54858 (endttyent): Likewise.
54859 * misc/getusershell.c (getusershell): Likewise.
54860 (endusershell): Likewise.
54861 (setusershell): Likewise.
54862 (initshells): Likewise.
54863 * misc/hsearch.c (__hdestroy): Likewise.
54864 * misc/sync.c (sync): Likewise.
54865 * misc/syslog.c (closelog_internal): Likewise.
54866 (closelog): Likewise.
54867 * misc/ttyslot.c (ttyslot): Likewise.
54868 * misc/vhangup.c (vhangup): Likewise.
54869 * posix/fork.c (__fork): Likewise.
54870 * posix/getegid.c (__getegid): Likewise.
54871 * posix/geteuid.c (__geteuid): Likewise.
54872 * posix/getgid.c (__getgid): Likewise.
54873 * posix/getpid.c (__getpid): Likewise.
54874 * posix/getppid.c (__getppid): Likewise.
54875 * posix/getuid.c (__getuid): Likewise.
54876 * posix/pause.c (pause): Likewise.
54877 * posix/setpgrp.c (setpgrp): Likewise.
54878 * posix/setsid.c (__setsid): Likewise.
54879 * posix/test-vfork.c (noop): Likewise.
54880 * resolv/gethnamaddr.c (_endhtent): Likewise.
54881 (_gethtent): Likewise.
54882 (ht_endhostent): Likewise.
54883 (gethostent): Likewise.
54884 (dns_service): Likewise.
54885 * stdlib/drand48.c (drand48): Likewise.
54886 * stdlib/lrand48.c (lrand48): Likewise.
54887 * stdlib/mrand48.c (mrand48): Likewise.
54888 * stdlib/rand.c (rand): Likewise.
54889 * stdlib/random.c (__random): Likewise.
54890 * stdlib/setenv.c (clearenv): Likewise.
54891 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54892 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54893 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54894 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54895 (__get_nprocs): Likewise.
54896 (__get_phys_pages): Likewise.
54897 (__get_avphys_pages): Likewise.
54898 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54899 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54900 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54901 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54902 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54903 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54904 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54905 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54906 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54907 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54908 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54909 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54910 * sysdeps/posix/clock.c (clock): Likewise.
54911 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54912 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54913 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54914 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54915 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54917 (__get_nprocs_conf): Likewise.
54918 (__get_phys_pages): Likewise.
54919 (__get_avphys_pages): Likewise.
54920 * time/clock.c (clock): Likewise.
54921 * time/tzset.c (__tzname_max): Likewise.
54922
54923 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54924
54925 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54926 (__bswap_32): Do not use "register".
54927 * crypt/crypt.c (_ufc_doit_r): Likewise.
54928 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54929 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54930 * gmon/gmon.c (__monstartup): Likewise.
54931 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54932 * hurd/hurdmalloc.c (more_memory): Likewise.
54933 (malloc): Likewise.
54934 (free): Likewise.
54935 (realloc): Likewise.
54936 (malloc_fork_prepare): Likewise.
54937 (malloc_fork_parent): Likewise.
54938 (malloc_fork_child): Likewise.
54939 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54940 (_svcauth_des): Likewise.
54941 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54942 * inet/inet_net.c (inet_network): Likewise.
54943 * inet/inet_netof.c (inet_netof): Likewise.
54944 * inet/rcmd.c (__validuser2_sa): Likewise.
54945 * io/fts.c (fts_open): Likewise.
54946 (fts_load): Likewise.
54947 (fts_close): Likewise.
54948 (fts_read): Likewise.
54949 (fts_children): Likewise.
54950 (fts_build): Likewise.
54951 (fts_stat): Likewise.
54952 (fts_sort): Likewise.
54953 (fts_alloc): Likewise.
54954 (fts_lfree): Likewise.
54955 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54956 (_IO_file_xsgetn): Likewise.
54957 (_IO_file_xsgetn_mmap): Likewise.
54958 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54959 (_IO_cookie_write): Likewise.
54960 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54961 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54962 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54963 * malloc/obstack.c (_obstack_begin): Likewise.
54964 (_obstack_begin_1): Likewise.
54965 (_obstack_newchunk): Likewise.
54966 (_obstack_allocated_p): Likewise.
54967 (obstack_free): Likewise.
54968 (_obstack_memory_used): Likewise.
54969 * misc/getttyent.c (getttynam): Likewise.
54970 (getttyent): Likewise.
54971 (skip): Likewise.
54972 (value): Likewise.
54973 * misc/getusershell.c (initshells): Likewise.
54974 * misc/syslog.c (__vsyslog_chk): Likewise.
54975 * misc/ttyslot.c (ttyslot): Likewise.
54976 * nis/nis_hash.c (__nis_hash): Likewise.
54977 * posix/fnmatch_loop.c (FCT): Likewise.
54978 * posix/getconf.c (print_all): Likewise.
54979 (main): Likewise.
54980 * posix/getopt.c (exchange): Likewise.
54981 * posix/glob.c (globfree): Likewise.
54982 (prefix_array): Likewise.
54983 (__glob_pattern_type): Likewise.
54984 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54985 (NS_GET32): Likewise.
54986 (NS_PUT16): Likewise.
54987 (NS_PUT32): Likewise.
54988 * resolv/gethnamaddr.c (getanswer): Likewise.
54989 (gethostbyname2): Likewise.
54990 (gethostbyaddr): Likewise.
54991 (_gethtent): Likewise.
54992 (_gethtbyname2): Likewise.
54993 (_gethtbyaddr): Likewise.
54994 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54995 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54996 * resolv/res_init.c (__res_vinit): Likewise.
54997 (net_mask): Likewise.
54998 * resolv/res_mkquery.c (outchar): Likewise.
54999 (PRINT): Likewise.
55000 * stdio-common/printf_fp.c (outchar): Likewise.
55001 (PRINT): Likewise.
55002 * stdio-common/printf_fphex.c (outchar): Likewise.
55003 (PRINT): Likewise.
55004 * stdio-common/printf_size.c (outchar): Likewise.
55005 (PRINT): Likewise.
55006 * stdio-common/test_rdwr.c (main): Likewise.
55007 * stdio-common/tfformat.c (matches): Likewise.
55008 * stdio-common/vfprintf.c (outchar): Likewise.
55009 (printf_unknown): Likewise.
55010 (buffered_vfprintf): Likewise.
55011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55012 * stdio-common/xbug.c (AppendToBuffer): Likewise.
55013 (ReadFile): Likewise.
55014 * stdlib/qsort.c (SWAP): Likewise.
55015 (_quicksort): Likewise.
55016 * stdlib/setenv.c (__add_to_environ): Likewise.
55017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55018 * stdlib/strtol_l.c (__strtol_l): Likewise.
55019 * stdlib/tst-strtod.c (main): Likewise.
55020 * stdlib/tst-strtol.c (main): Likewise.
55021 * stdlib/tst-strtoll.c (main): Likewise.
55022 * string/bits/string2.h (__strcmp_cc): Likewise.
55023 (__strcmp_cg): Likewise.
55024 (__strcspn_c1): Likewise.
55025 (__strcspn_c2): Likewise.
55026 (__strcspn_c3): Likewise.
55027 (__strspn_c1): Likewise.
55028 (__strspn_c2): Likewise.
55029 (__strspn_c3): Likewise.
55030 (__strsep_1c): Likewise.
55031 (__strsep_2c): Likewise.
55032 (__strsep_3c): Likewise.
55033 * string/memccpy.c (__memccpy): Likewise.
55034 * string/stpcpy.c (__stpcpy): Likewise.
55035 * string/strcmp.c (strcmp): Likewise.
55036 * string/strrchr.c (strrchr): Likewise.
55037 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55038 Likewise.
55039 * sysdeps/mach/hurd/getcwd.c
55040 (_hurd_canonicalize_directory_name_internal): Likewise.
55041 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55042 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55043 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55044 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55045 Likewise, in both definitions.
55046 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55047 definitions.
55048 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55049 64] (__bswap_64): Likewise.
55050 * time/test_time.c (main): Likewise.
55051 * time/tzfile.c (__tzfile_read): Likewise.
55052 (__tzfile_compute): Likewise.
55053 * time/tzset.c (__tzset_parse_tz): Likewise.
55054 (tzset_internal): Likewise.
55055 (compute_change): Likewise.
55056 * wcsmbs/wcscat.c (__wcscat): Likewise.
55057 * wcsmbs/wcschr.c (wcschr): Likewise.
55058 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55059 * wcsmbs/wcscspn.c (wcscspn): Likewise.
55060 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55061 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55062 * wcsmbs/wcsspn.c (wcsspn): Likewise.
55063 * wcsmbs/wcsstr.c (wcsstr): Likewise.
55064 * wcsmbs/wmemchr.c (wmemchr): Likewise.
55065 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55066 * wcsmbs/wmemset.c (wmemset): Likewise.
55067
55068 2013-06-06 Joseph Myers <joseph@codesourcery.com>
55069
55070 * scripts/config.guess: Update to version 2013-05-16.
55071 * scripts/config.sub: Update to version 2013-04-24.
55072 * scripts/install-sh: Update to version 2011-11-20.07.
55073 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55074 * scripts/move-if-change: Update to version 2012-01-06 07:23.
55075
55076 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
55077
55078 * debug/fgetws_u_chk.c: Fix leading whitespaces.
55079 * elf/sln.c: Likewise.
55080 * hurd/hurd/ioctl.h: Likewise.
55081 * hurd/hurdmalloc.c: Likewise.
55082 * hurd/xattr.c: Likewise.
55083 * include/shlib-compat.h: Likewise.
55084 * inet/ruserpass.c: Likewise.
55085 * libio/iofgets_u.c: Likewise.
55086 * libio/iofgetws_u.c: Likewise.
55087 * locale/programs/ld-identification.c: Likewise.
55088 * locale/programs/ld-time.c: Likewise.
55089 * mach/msg-destroy.c: Likewise.
55090 * nss/nss_files/files-netgrp.c: Likewise.
55091 * resolv/res_data.c: Likewise.
55092 * soft-fp/op-1.h: Likewise.
55093 * soft-fp/op-2.h: Likewise.
55094 * soft-fp/op-4.h: Likewise.
55095 * soft-fp/op-common.h: Likewise.
55096 * stdio-common/printf_fphex.c: Likewise.
55097 * stdlib/strtod_l.c: Likewise.
55098 * sunrpc/rpc/clnt.h: Likewise.
55099 * sysdeps/generic/framestate.c: Likewise.
55100 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55101 * sysdeps/i386/bsd-setjmp.S: Likewise.
55102 * sysdeps/i386/__longjmp.S: Likewise.
55103 * sysdeps/i386/setjmp.S: Likewise.
55104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55105 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55107 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55113 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55114 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55115 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55116 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55117 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55118 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55120 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55121 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55122 * sysdeps/ieee754/support.c: Likewise.
55123 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55124 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55125 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55126 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55127 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55128 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55129 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55130 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55131 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55132 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55133 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55134 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55135 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55136 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55137 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55138 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55139 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55141
55142 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
55143
55144 * posix/transbug.c: Remove executable mode.
55145
55146 2013-06-05 Joseph Myers <joseph@codesourcery.com>
55147
55148 * crypt/speeds.c: Remove trailing whitespace.
55149 * dlfcn/default.c: Likewise.
55150 * elf/ifuncdep2.c: Likewise.
55151 * elf/ifuncmain1.c: Likewise.
55152 * elf/ifuncmain1vis.c: Likewise.
55153 * elf/testobj.h: Likewise.
55154 * elf/tst-stackguard1.c: Likewise.
55155 * gmon/sys/gmon.h: Likewise.
55156 * hurd/hurdmsg.c: Likewise.
55157 * hurd/new-fd.c: Likewise.
55158 * hurd/ports-get.c: Likewise.
55159 * iconvdata/ibm1008_420.c: Likewise.
55160 * inet/tst-getni1.c: Likewise.
55161 * inet/tst-getni2.c: Likewise.
55162 * libio/ioungetc.c: Likewise.
55163 * libio/wfiledoalloc.c: Likewise.
55164 * manual/libm-err-tab.pl: Likewise.
55165 * math/w_dremf.c: Likewise.
55166 * misc/ftruncate.c: Likewise.
55167 * posix/bug-glob2.c: Likewise.
55168 * posix/tst-pcre.c: Likewise.
55169 * posix/wait4.c: Likewise.
55170 * resolv/README: Likewise.
55171 * resolv/res_debug.h: Likewise.
55172 * resolv/tst-inet_ntop.c: Likewise.
55173 * setjmp/bug269-setjmp.c: Likewise.
55174 * soft-fp/extended.h: Likewise.
55175 * soft-fp/op-1.h: Likewise.
55176 * soft-fp/op-2.h: Likewise.
55177 * soft-fp/op-4.h: Likewise.
55178 * soft-fp/op-8.h: Likewise.
55179 * soft-fp/testit.c: Likewise.
55180 * stdio-common/bug16.c: Likewise.
55181 * stdlib/random.c: Likewise.
55182 * sunrpc/rpcsvc/rquota.x: Likewise.
55183 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55184 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55188 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55190 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55191 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55192 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55193 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55194 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55195 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55196 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55198 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55199 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55201 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55204 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55205 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55208 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55209 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55211 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55212 * sysdeps/ieee754/s_lib_version.c: Likewise.
55213 * sysdeps/mach/hurd/check_fds.c: Likewise.
55214 * sysdeps/mach/hurd/getsockname.c: Likewise.
55215 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55216 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55217 * sysdeps/powerpc/bits/link.h: Likewise.
55218 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55219 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55220 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55221 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55222 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55223 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55224 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55225 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55226 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55227 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55228 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55229 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55230 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55231 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55232 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55233 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55235 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55236 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55237 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55238 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55239 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55241 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55242 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55243 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55244 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55245 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55247 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55248 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55252 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55253 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55254 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55255 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55256 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55257 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55258 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55259 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55260 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55261 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55262 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55263 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55264 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55265 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55266 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55267 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55270 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55272 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55273 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55274 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55275 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55276 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55277 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55278 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55279 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55280 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55281 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55282 * sysdeps/powerpc/sysdep.h: Likewise.
55283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55284 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55285 * sysdeps/sh/dl-trampoline.S: Likewise.
55286 * sysdeps/sh/memset.S: Likewise.
55287 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55288 * sysdeps/sh/strlen.S: Likewise.
55289 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55290 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55291 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55292 * sysdeps/sparc/sparc32/rem.S: Likewise.
55293 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55294 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55295 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55296 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55297 * sysdeps/sparc/sparc32/urem.S: Likewise.
55298 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55299 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55300 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55301 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55302 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55303 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55304 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55305 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55306 * sysdeps/unix/bsd/times.c: Likewise.
55307 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55308 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55312 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55313 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55314 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55316 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55317 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55318 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55319 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55320 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55321 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55322 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55323 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55324 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55325 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55326 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55327 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55328 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55329 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55330 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55331 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55332 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55333 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55334 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55335 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55336 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55337 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55338 * sysdeps/x86_64/strcspn.S: Likewise.
55339
55340 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55341
55342 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55343 generated file. Regenerate properly from gen-translit.pl.
55344 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55345 locale/C-translit.h.
55346
55347 2013-06-05 Andreas Schwab <schwab@suse.de>
55348
55349 [BZ #15100]
55350 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55351 week as 6 instead of -1.
55352 * time/tst-strptime.c (day_tests): Add test case.
55353
55354 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55355
55356 * sysdeps/generic/math_private.h
55357 (libc_feholdexcept_setround_53bit): Replace with
55358 libc_feholdsetround_53bit.
55359 (libc_feupdateenv_53bit): Replace with
55360 libc_feresetround_53bit.
55361 (SET_RESTORE_ROUND_53BIT): Adjust.
55362
55363 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55364
55365 * string/test-strchrnul.c: Add copyright header.
55366
55367 * posix/tst-getaddrinfo4.c: Increase test timeout.
55368
55369 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55370
55371 [BZ #15536]
55372 * math/libm-test.inc (MAX_EXP): Remove
55373 (MIN_EXP): Define.
55374 (ulp): Use MIN_EXP - MANT_DIG.
55375 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55376
55377 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55378
55379 * po/be.po: Revert last change.
55380 * po/zh_CN.po: Likewise.
55381 * po/header.pot: Likewise.
55382
55383 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55384
55385 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55386 link-libc-deps to empty as target-specific variable.
55387 * Makerules (link-libc-args): New variable.
55388 (libc-for-link): Likewise.
55389 (link-libc-deps): Likewise.
55390 (lib%.so): Depend on $(link-libc-deps). Link with
55391 $(link-libc-args).
55392 (build-module): Link with $(link-libc-args).
55393 (build-module-asneeded): Likewise.
55394 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55395 list of objects.
55396 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55397 target-specific variable.
55398 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55399 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55400 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55401 libc.
55402 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55403 libc and ld.so.
55404 ($(objpfx)libpcprofile.so): Likewise.
55405 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55406 libc_nonshared.a.
55407 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55408 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55409 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55410 $(link-libc-deps).
55411 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55412 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55413 * login/Makefile ($(objpfx)libutil.so): Likewise.
55414 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55415 * math/Makefile ($(objpfx)libm.so): Likewise.
55416 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55417 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55418 variable instead of depending directly on libc.
55419 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55420 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55421 $(link-libc-deps).
55422 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55423 libc.
55424 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55425 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55426 ($(objpfx)libanl.so): Likewise.
55427 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55428 ld.so.
55429 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55430 $(link-libc-deps).
55431 * sysdeps/i386/fpu/Makefile: Remove file.
55432 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55433 ($(objpfx)libm.so): Remove dependency on ld.so.
55434
55435 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55436
55437 [BZ # 15553]
55438 * nis/yp_xdr.c (XDRMAXNAME): Define.
55439 (XDRMAXRECORD): Define.
55440 (xdr_domainname): Use XDRMAXNAME.
55441 (xdr_mapname): Likewise.
55442 (xdr_peername): Likewise.
55443 (xdr_keydat): Use XDRMAXRECORD.
55444 (xdr_valdat): Likewise.
55445
55446 2013-05-30 Jeff Law <law@redhat.com>
55447
55448 [BZ #14256]
55449 * manual/errno.texi (ESTALE): Update to account for more than
55450 just NFS file systems.
55451 * sysdeps/gnu/errlist.c: Regenerated.
55452
55453 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55454
55455 [BZ #15465]
55456 * elf/Makefile (tests): Add tst-null-argv.
55457 (modules-names): Add tst-null-argv-lib.
55458 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55459 (tst-null-argv-ENV): Set environment for tst-null-argv.
55460 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55461 (RTLD_PROGNAME): New macro.
55462 * elf/tst-null-argv.c: New test case.
55463 * elf/tst-null-argv-lib.c: Library for test case.
55464 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55465 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55466 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55467 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55468 * elf/dl-init.c (call_init): Likewise.
55469 (_dl_init): Likewise.
55470 * elf/dl-load.c (print_search_path): Likewise.
55471 (_dl_map_object): Likewise.
55472 * elf/dl-lookup.c (do_lookup_x): Likewise.
55473 (add_dependency): Likewise.
55474 (_dl_lookup_symbol_x): Likewise.
55475 (_dl_debug_bindings): Likewise.
55476 * elf/dl-open.c (_dl_show_scope): Likewise.
55477 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55478 * elf/dl-version.c (match_symbol): Likewise.
55479 (_dl_check_map_versions): Likewise.
55480 * elf/rtld.c (dl_main): Likewise.
55481 (print_unresolved): Use RTLD_PROGNAME.
55482 (print_missing_version): Likewise.
55483 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55484 (elf_machine_rela): Likewise.
55485 * sysdeps/powerpc/powerpc32/dl-machine.c
55486 (__process_machine_rela): Likewise.
55487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55488 Likewise.
55489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55490 Likewise.
55491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55492 Likewise.
55493 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55495 Likewise.
55496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55497 Likewise.
55498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55499
55500 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55501
55502 * po/be.po: Add descriptive title.
55503 * po/zh_CN.po: Likewise.
55504 * po/header.pot: Likewise.
55505
55506 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55507
55508 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55509 error message.
55510 (enlarge_archive): Likewise.
55511
55512 2013-05-28 Ben North <ben@redfrontdoor.org>
55513
55514 * manual/arith.texi (frexp): It is the magnitude of the return
55515 value which lies in [0.5, 1), not the return value itself.
55516
55517 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55518
55519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55520
55521 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55522
55523 * stdio-common/bug26.c (main): Correct fscanf template.
55524
55525 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55526 declare _dl_skip_args.
55527
55528 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55529 Don't declare.
55530
55531 * manual/platform.texi: Add missing @end deftypefun.
55532
55533 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55534
55535 [BZ #15529]
55536 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55537 bit of mantissa of 2^16382.
55538 * math/libm-test.inc (hypot_test_data): Add more tests.
55539
55540 * math/libm-test.inc: Add drem and pow10 to list of tested
55541 functions.
55542 (pow10_test): New function.
55543 (drem_test): Likewise.
55544 (drem_test_tonearest): Likewise.
55545 (drem_test_towardzero): Likewise.
55546 (drem_test_downward): Likewise.
55547 (drem_test_upward): Likewise.
55548 (main): Call the new functions.
55549
55550 * math/libm-test.inc (finite_test_data): Remove.
55551 (finite_test): Run tests from isfinite_test_data.
55552 (gamma_test_data): Remove.
55553 (gamma_test): Run tests from lgamma_test_data.
55554 * sysdeps/i386/fpu/libm-test-ulps: Update.
55555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55556
55557 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55558
55559 * manual/platform.texi: Add PowerPC PPR function set documentation.
55560 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55561 implementation.
55562
55563 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55564
55565 * math/libm-test.inc (MAX_EXP): Define.
55566 (ULPDIFF): Define.
55567 (ulp): New function.
55568 (check_float_internal): Use ULPDIFF.
55569 (cpow_test): Disable failing test.
55570 (check_ulp): Test ulp() implementation.
55571 (main): Call check_ulp before starting tests.
55572
55573 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55574
55575 * math/gen-libm-test.pl (generate_testfile): Do not handle
55576 START_DATA and END_DATA.
55577 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55578 END_DATA.
55579 (acos_tonearest_test_data): Likewise.
55580 (acos_towardzero_test_data): Likewise.
55581 (acos_downward_test_data): Likewise.
55582 (acos_upward_test_data): Likewise.
55583 (acosh_test_data): Likewise.
55584 (asin_test_data): Likewise.
55585 (asin_tonearest_test_data): Likewise.
55586 (asin_towardzero_test_data): Likewise.
55587 (asin_downward_test_data): Likewise.
55588 (asin_upward_test_data): Likewise.
55589 (asinh_test_data): Likewise.
55590 (atan_test_data): Likewise.
55591 (atanh_test_data): Likewise.
55592 (atan2_test_data): Likewise.
55593 (cabs_test_data): Likewise.
55594 (cacos_test_data): Likewise.
55595 (cacosh_test_data): Likewise.
55596 (carg_test_data): Likewise.
55597 (casin_test_data): Likewise.
55598 (casinh_test_data): Likewise.
55599 (catan_test_data): Likewise.
55600 (catanh_test_data): Likewise.
55601 (cbrt_test_data): Likewise.
55602 (ccos_test_data): Likewise.
55603 (ccosh_test_data): Likewise.
55604 (ceil_test_data): Likewise.
55605 (cexp_test_data): Likewise.
55606 (cimag_test_data): Likewise.
55607 (clog_test_data): Likewise.
55608 (clog10_test_data): Likewise.
55609 (conj_test_data): Likewise.
55610 (copysign_test_data): Likewise.
55611 (cos_test_data): Likewise.
55612 (cos_tonearest_test_data): Likewise.
55613 (cos_towardzero_test_data): Likewise.
55614 (cos_downward_test_data): Likewise.
55615 (cos_upward_test_data): Likewise.
55616 (cosh_test_data): Likewise.
55617 (cosh_tonearest_test_data): Likewise.
55618 (cosh_towardzero_test_data): Likewise.
55619 (cosh_downward_test_data): Likewise.
55620 (cosh_upward_test_data): Likewise.
55621 (cpow_test_data): Likewise.
55622 (cproj_test_data): Likewise.
55623 (creal_test_data): Likewise.
55624 (csin_test_data): Likewise.
55625 (csinh_test_data): Likewise.
55626 (csqrt_test_data): Likewise.
55627 (ctan_test_data): Likewise.
55628 (ctan_tonearest_test_data): Likewise.
55629 (ctan_towardzero_test_data): Likewise.
55630 (ctan_downward_test_data): Likewise.
55631 (ctan_upward_test_data): Likewise.
55632 (ctanh_test_data): Likewise.
55633 (ctanh_tonearest_test_data): Likewise.
55634 (ctanh_towardzero_test_data): Likewise.
55635 (ctanh_downward_test_data): Likewise.
55636 (ctanh_upward_test_data): Likewise.
55637 (erf_test_data): Likewise.
55638 (erfc_test_data): Likewise.
55639 (exp_test_data): Likewise.
55640 (exp_tonearest_test_data): Likewise.
55641 (exp_towardzero_test_data): Likewise.
55642 (exp_downward_test_data): Likewise.
55643 (exp_upward_test_data): Likewise.
55644 (exp10_test_data): Likewise.
55645 (exp2_test_data): Likewise.
55646 (expm1_test_data): Likewise.
55647 (fabs_test_data): Likewise.
55648 (fdim_test_data): Likewise.
55649 (finite_test_data): Likewise.
55650 (floor_test_data): Likewise.
55651 (fma_test_data): Likewise.
55652 (fma_towardzero_test_data): Likewise.
55653 (fma_downward_test_data): Likewise.
55654 (fma_upward_test_data): Likewise.
55655 (fmax_test_data): Likewise.
55656 (fmin_test_data): Likewise.
55657 (fmod_test_data): Likewise.
55658 (fpclassify_test_data): Likewise.
55659 (frexp_test_data): Likewise.
55660 (gamma_test_data): Likewise.
55661 (hypot_test_data): Likewise.
55662 (ilogb_test_data): Likewise.
55663 (isfinite_test_data): Likewise.
55664 (isgreater_test_data): Likewise.
55665 (isgreaterequal_test_data): Likewise.
55666 (isinf_test_data): Likewise.
55667 (isless_test_data): Likewise.
55668 (islessequal_test_data): Likewise.
55669 (islessgreater_test_data): Likewise.
55670 (isnan_test_data): Likewise.
55671 (isnormal_test_data): Likewise.
55672 (issignaling_test_data): Likewise.
55673 (isunordered_test_data): Likewise.
55674 (j0_test_data): Likewise.
55675 (j1_test_data): Likewise.
55676 (jn_test_data): Likewise.
55677 (ldexp_test_data): Likewise.
55678 (lgamma_test_data): Likewise.
55679 (lrint_test_data): Likewise.
55680 (lrint_tonearest_test_data): Likewise.
55681 (lrint_towardzero_test_data): Likewise.
55682 (lrint_downward_test_data): Likewise.
55683 (lrint_upward_test_data): Likewise.
55684 (llrint_test_data): Likewise.
55685 (llrint_tonearest_test_data): Likewise.
55686 (llrint_towardzero_test_data): Likewise.
55687 (llrint_downward_test_data): Likewise.
55688 (llrint_upward_test_data): Likewise.
55689 (log_test_data): Likewise.
55690 (log10_test_data): Likewise.
55691 (log1p_test_data): Likewise.
55692 (log2_test_data): Likewise.
55693 (logb_test_data): Likewise.
55694 (logb_downward_test_data): Likewise.
55695 (lround_test_data): Likewise.
55696 (llround_test_data): Likewise.
55697 (modf_test_data): Likewise.
55698 (nearbyint_test_data): Likewise.
55699 (nextafter_test_data): Likewise.
55700 (nexttoward_test_data): Likewise.
55701 (pow_test_data): Likewise.
55702 (pow_tonearest_test_data): Likewise.
55703 (pow_towardzero_test_data): Likewise.
55704 (pow_downward_test_data): Likewise.
55705 (pow_upward_test_data): Likewise.
55706 (remainder_test_data): Likewise.
55707 (remainder_tonearest_test_data): Likewise.
55708 (remainder_towardzero_test_data): Likewise.
55709 (remainder_downward_test_data): Likewise.
55710 (remainder_upward_test_data): Likewise.
55711 (remquo_test_data): Likewise.
55712 (rint_test_data): Likewise.
55713 (rint_tonearest_test_data): Likewise.
55714 (rint_towardzero_test_data): Likewise.
55715 (rint_downward_test_data): Likewise.
55716 (rint_upward_test_data): Likewise.
55717 (round_test_data): Likewise.
55718 (scalb_test_data): Likewise.
55719 (scalbn_test_data): Likewise.
55720 (scalbln_test_data): Likewise.
55721 (signbit_test_data): Likewise.
55722 (sin_test_data): Likewise.
55723 (sin_tonearest_test_data): Likewise.
55724 (sin_towardzero_test_data): Likewise.
55725 (sin_downward_test_data): Likewise.
55726 (sin_upward_test_data): Likewise.
55727 (sincos_test_data): Likewise.
55728 (sinh_test_data): Likewise.
55729 (sinh_tonearest_test_data): Likewise.
55730 (sinh_towardzero_test_data): Likewise.
55731 (sinh_downward_test_data): Likewise.
55732 (sinh_upward_test_data): Likewise.
55733 (sqrt_test_data): Likewise.
55734 (tan_test_data): Likewise.
55735 (tan_tonearest_test_data): Likewise.
55736 (tan_towardzero_test_data): Likewise.
55737 (tan_downward_test_data): Likewise.
55738 (tan_upward_test_data): Likewise.
55739 (tanh_test_data): Likewise.
55740 (tgamma_test_data): Likewise.
55741 (trunc_test_data): Likewise.
55742 (y0_test_data): Likewise.
55743 (y1_test_data): Likewise.
55744 (yn_test_data): Likewise.
55745 (significand_test_data): Likewise.
55746
55747 * math/gen-libm-test.pl (@functions): Remove variable.
55748 (generate_testfile): Don't handle START and END lines.
55749 * math/libm-test.inc (START): New macro.
55750 (END): Likewise.
55751 (END_COMPLEX): Likewise.
55752 (acos_test): Use END macro without arguments.
55753 (acos_test_tonearest): Likewise.
55754 (acos_test_towardzero): Likewise.
55755 (acos_test_downward): Likewise.
55756 (acos_test_upward): Likewise.
55757 (acosh_test): Likewise.
55758 (asin_test): Likewise.
55759 (asin_test_tonearest): Likewise.
55760 (asin_test_towardzero): Likewise.
55761 (asin_test_downward): Likewise.
55762 (asin_test_upward): Likewise.
55763 (asinh_test): Likewise.
55764 (atan_test): Likewise.
55765 (atanh_test): Likewise.
55766 (atan2_test): Likewise.
55767 (cabs_test): Likewise.
55768 (cacos_test): Use END_COMPLEX macro without arguments.
55769 (cacosh_test): Likewise.
55770 (carg_test): Use END macro without arguments.
55771 (casin_test): Use END_COMPLEX macro without arguments.
55772 (casinh_test): Likewise.
55773 (catan_test): Likewise.
55774 (catanh_test): Likewise.
55775 (cbrt_test): Use END macro without arguments.
55776 (ccos_test): Use END_COMPLEX macro without arguments.
55777 (ccosh_test): Likewise.
55778 (ceil_test): Use END macro without arguments.
55779 (cexp_test): Use END_COMPLEX macro without arguments.
55780 (cimag_test): Use END macro without arguments.
55781 (clog_test): Use END_COMPLEX macro without arguments.
55782 (clog10_test): Likewise.
55783 (conj_test): Likewise.
55784 (copysign_test): Use END macro without arguments.
55785 (cos_test): Likewise.
55786 (cos_test_tonearest): Likewise.
55787 (cos_test_towardzero): Likewise.
55788 (cos_test_downward): Likewise.
55789 (cos_test_upward): Likewise.
55790 (cosh_test): Likewise.
55791 (cosh_test_tonearest): Likewise.
55792 (cosh_test_towardzero): Likewise.
55793 (cosh_test_downward): Likewise.
55794 (cosh_test_upward): Likewise.
55795 (cpow_test): Use END_COMPLEX macro without arguments.
55796 (cproj_test): Likewise.
55797 (creal_test): Use END macro without arguments.
55798 (csin_test): Use END_COMPLEX macro without arguments.
55799 (csinh_test): Likewise.
55800 (csqrt_test): Likewise.
55801 (ctan_test): Likewise.
55802 (ctan_test_tonearest): Likewise.
55803 (ctan_test_towardzero): Likewise.
55804 (ctan_test_downward): Likewise.
55805 (ctan_test_upward): Likewise.
55806 (ctanh_test): Likewise.
55807 (ctanh_test_tonearest): Likewise.
55808 (ctanh_test_towardzero): Likewise.
55809 (ctanh_test_downward): Likewise.
55810 (ctanh_test_upward): Likewise.
55811 (erf_test): Use END macro without arguments.
55812 (erfc_test): Likewise.
55813 (exp_test): Likewise.
55814 (exp_test_tonearest): Likewise.
55815 (exp_test_towardzero): Likewise.
55816 (exp_test_downward): Likewise.
55817 (exp_test_upward): Likewise.
55818 (exp10_test): Likewise.
55819 (exp2_test): Likewise.
55820 (expm1_test): Likewise.
55821 (fabs_test): Likewise.
55822 (fdim_test): Likewise.
55823 (finite_test): Likewise.
55824 (floor_test): Likewise.
55825 (fma_test): Likewise.
55826 (fma_test_towardzero): Likewise.
55827 (fma_test_downward): Likewise.
55828 (fma_test_upward): Likewise.
55829 (fmax_test): Likewise.
55830 (fmin_test): Likewise.
55831 (fmod_test): Likewise.
55832 (fpclassify_test): Likewise.
55833 (frexp_test): Likewise.
55834 (gamma_test): Likewise.
55835 (hypot_test): Likewise.
55836 (ilogb_test): Likewise.
55837 (isfinite_test): Likewise.
55838 (isgreater_test): Likewise.
55839 (isgreaterequal_test): Likewise.
55840 (isinf_test): Likewise.
55841 (isless_test): Likewise.
55842 (islessequal_test): Likewise.
55843 (islessgreater_test): Likewise.
55844 (isnan_test): Likewise.
55845 (isnormal_test): Likewise.
55846 (issignaling_test): Likewise.
55847 (isunordered_test): Likewise.
55848 (j0_test): Likewise.
55849 (j1_test): Likewise.
55850 (jn_test): Likewise.
55851 (ldexp_test): Likewise.
55852 (lgamma_test): Likewise.
55853 (lrint_test): Likewise.
55854 (lrint_test_tonearest): Likewise.
55855 (lrint_test_towardzero): Likewise.
55856 (lrint_test_downward): Likewise.
55857 (lrint_test_upward): Likewise.
55858 (llrint_test): Likewise.
55859 (llrint_test_tonearest): Likewise.
55860 (llrint_test_towardzero): Likewise.
55861 (llrint_test_downward): Likewise.
55862 (llrint_test_upward): Likewise.
55863 (log_test): Likewise.
55864 (log10_test): Likewise.
55865 (log1p_test): Likewise.
55866 (log2_test): Likewise.
55867 (logb_test): Likewise.
55868 (logb_test_downward): Likewise.
55869 (lround_test): Likewise.
55870 (llround_test): Likewise.
55871 (modf_test): Likewise.
55872 (nearbyint_test): Likewise.
55873 (nextafter_test): Likewise.
55874 (nexttoward_test): Likewise.
55875 (pow_test): Likewise.
55876 (pow_test_tonearest): Likewise.
55877 (pow_test_towardzero): Likewise.
55878 (pow_test_downward): Likewise.
55879 (pow_test_upward): Likewise.
55880 (remainder_test): Likewise.
55881 (remainder_test_tonearest): Likewise.
55882 (remainder_test_towardzero): Likewise.
55883 (remainder_test_downward): Likewise.
55884 (remainder_test_upward): Likewise.
55885 (remquo_test): Likewise.
55886 (rint_test): Likewise.
55887 (rint_test_tonearest): Likewise.
55888 (rint_test_towardzero): Likewise.
55889 (rint_test_downward): Likewise.
55890 (rint_test_upward): Likewise.
55891 (round_test): Likewise.
55892 (scalb_test): Likewise.
55893 (scalbn_test): Likewise.
55894 (scalbln_test): Likewise.
55895 (signbit_test): Likewise.
55896 (sin_test): Likewise.
55897 (sin_test_tonearest): Likewise.
55898 (sin_test_towardzero): Likewise.
55899 (sin_test_downward): Likewise.
55900 (sin_test_upward): Likewise.
55901 (sincos_test): Likewise.
55902 (sinh_test): Likewise.
55903 (sinh_test_tonearest): Likewise.
55904 (sinh_test_towardzero): Likewise.
55905 (sinh_test_downward): Likewise.
55906 (sinh_test_upward): Likewise.
55907 (sqrt_test): Likewise.
55908 (tan_test): Likewise.
55909 (tan_test_tonearest): Likewise.
55910 (tan_test_towardzero): Likewise.
55911 (tan_test_downward): Likewise.
55912 (tan_test_upward): Likewise.
55913 (tanh_test): Likewise.
55914 (tgamma_test): Likewise.
55915 (trunc_test): Likewise.
55916 (y0_test): Likewise.
55917 (y1_test): Likewise.
55918 (yn_test): Likewise.
55919 (significand_test): Likewise.
55920
55921 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55922
55923 [BZ #15381]
55924 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55925
55926 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55927
55928 [BZ #14894]
55929 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55930 __ppc_mdoio and __ppc_mdoom.
55931 * manual/platform.texi: Document new functions __ppc_yield,
55932 __ppc_mdoio and __ppc_mdoom.
55933
55934 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55935
55936 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55937 (main): Mention "tls" pseudo-hwcap is legacy.
55938 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55939
55940 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55941
55942 * math/gen-libm-test.pl (parse_args): Output only string of
55943 arguments as text for test name, not full call or descriptions of
55944 tests for extra outputs.
55945 (generate_testfile): Do not pass function name to parse_args.
55946 Generate this_func variable from START.
55947 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55948 field to arg_str.
55949 (struct test_ff_f_data): Likewise.
55950 (test_ff_f_data_nexttoward): Likewise.
55951 (struct test_fi_f_data): Likewise.
55952 (struct test_fl_f_data): Likewise.
55953 (struct test_if_f_data): Likewise.
55954 (struct test_fff_f_data): Likewise.
55955 (struct test_c_f_data): Likewise.
55956 (struct test_f_f1_data): Likewise. Remove field extra_name.
55957 (struct test_fF_f1_data): Likewise.
55958 (struct test_ffI_f1_data): Likewise.
55959 (struct test_c_c_data): Rename test_name field to arg_str.
55960 (struct test_cc_c_data): Likewise.
55961 (struct test_f_i_data): Likewise.
55962 (struct test_ff_i_data): Likewise.
55963 (struct test_f_l_data): Likewise.
55964 (struct test_f_L_data): Likewise.
55965 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55966 and extra2_name.
55967 (COMMON_TEST_SETUP): New macro.
55968 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55969 (COMMON_TEST_CLEANUP): Likewise.
55970 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55971 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55972 macros.
55973 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55974 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55975 macros.
55976 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55977 (RUN_TEST_fff_f): Take argument string. Call new setup and
55978 cleanup macros.
55979 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55980 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55981 macros.
55982 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55983 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55984 macros.
55985 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55986 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55987 cleanup macros.
55988 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55989 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55990 cleanup macros.
55991 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55992 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55993 cleanup macros.
55994 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55995 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55996 macros.
55997 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55998 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55999 macros.
56000 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56001 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
56002 macros.
56003 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56004 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
56005 cleanup macros.
56006 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56007 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
56008 cleanup macros.
56009 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56010 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
56011 macros.
56012 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56013 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
56014 cleanup macros.
56015 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56016 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
56017 macros.
56018 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56019 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
56020 macros.
56021 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56022 (RUN_TEST_fFF_11): Take argument string. Call new setup and
56023 cleanup macros.
56024 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56025
56026 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
56027
56028 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56029 to _sifields.sigfault.
56030 (si_addr_lsb): Define new macro.
56031 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56033 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56034
56035 2013-05-03 Carlos O'Donell <carlos at redhat.com>
56036
56037 [BZ #15441]
56038 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56039 returns -1.
56040 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56041 null return -1.
56042 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56043 loading the domain.
56044
56045 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56046
56047 * math/gen-libm-test.pl (parse_args): Do not include expected
56048 result in test name.
56049 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56051 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56052 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56053 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56055
56056 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56057
56058 * benchtests/Makefile: Sort function entries.
56059
56060 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56061 tanh, asinh, acosh, atanh.
56062 * benchtests/acos-inputs: New file.
56063 * benchtests/acosh-inputs: New file.
56064 * benchtests/asin-inputs: New file.
56065 * benchtests/asinh-inputs: New file.
56066 * benchtests/atanh-inputs: New file.
56067 * benchtests/cosh-inputs: New file.
56068 * benchtests/log-inputs: New file.
56069 * benchtests/sinh-inputs: New file.
56070 * benchtests/tanh-inputs: New file.
56071
56072 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
56073
56074 [BZ #15339]
56075 * posix/tst-getaddrinfo4.c: New test.
56076 * posix/Makefile (tests): Add it.
56077
56078 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56079
56080 [BZ #15339]
56081 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56082 when no services were used.
56083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56084 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56085
56086 2013-05-21 Andreas Schwab <schwab@suse.de>
56087
56088 [BZ #15014]
56089 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56090 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56091 successful.
56092 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56093 redundant variable declarations and reallocation of buffer when
56094 parsing as IPv6 address. Always set NSS status when called from
56095 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
56096 buffer too small. Correct computation of needed size.
56097 * nss/Makefile (tests): Add test-digits-dots.
56098 * nss/test-digits-dots.c: New test.
56099
56100 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56101
56102 * benchtests/Makefile: Remove instructions for adding
56103 benchmark tests.
56104 * benchtests/README: New file to explain how to execute and
56105 enhance the benchmark tests.
56106
56107 2013-05-21 Andreas Schwab <schwab@suse.de>
56108
56109 [BZ #15493]
56110 * setjmp/Makefile (tests): Add tst-sigsetjmp.
56111 * setjmp/tst-sigsetjmp.c: New test.
56112
56113 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56114
56115 * sysdeps/x86_64/memset.S (memset): New implementation.
56116 (__bzero): Likewise.
56117 (__memset_tail): New function.
56118
56119 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56120
56121 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56122 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56123 __memcpy_sse2_unaligned ifunc selection.
56124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56125 Add memcpy-sse2-unaligned.S.
56126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56127 Add: __memcpy_sse2_unaligned.
56128
56129 2013-05-19 Joseph Myers <joseph@codesourcery.com>
56130
56131 [BZ #15490]
56132 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56133 math_force_eval before restoring floating-point envrionment.
56134 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56135 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56136 Likewise.
56137 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56138 <math_private.h>.
56139 (__nearbyintl): Use math_force_eval before restoring
56140 floating-point environment.
56141 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56142
56143 * math/gen-libm-test.pl (special_functions): Remove.
56144 (parse_args): Don't handle TEST_extra. Handle functions with no
56145 return value.
56146 * math/libm-test.inc (struct test_sincos_data): Replace with
56147 struct test_fFF_11_data.
56148 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56149 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56150 (sincos_test_data): Change element type to struct
56151 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
56152 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56153 RUN_TEST_LOOP_sincos.
56154 * math/README.libm-test: Don't mention special handling of
56155 individual functions.
56156 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56158 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56159 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56162
56163 * math/gen-libm-test.pl (get_variable): Remove function.
56164 (parse_args): Don't show pointer parameters to call in test
56165 names. Use "extra output N" in test names for extra outputs
56166 rather than naming variables.
56167
56168 2013-05-18 Joseph Myers <joseph@codesourcery.com>
56169
56170 [BZ #15488]
56171 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56172 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56173 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56174 double tests.
56175 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56176 disable.
56177 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56178 check_long_double.
56179
56180 * math/gen-libm-test.pl (@tests): Remove variable.
56181 ($count): Likewise.
56182 (new_test): Remove function.
56183 (show_exceptions): New function.
56184 (special_functions): Use show_exceptions instead of new_test.
56185 (parse_args): Likewise.
56186 (generate_testfile): Pass only function name in generated call to
56187 print_max_error or print_complex_max_error.
56188 (get_ulps): Do not handle complex tests specially.
56189 (output_test): Rename to ...
56190 (get_all_ulps_for_test): ... this. Return a string rather than
56191 printing to a file. Require ulps to be present.
56192 (output_ulps): Generate arrays rather than #defines.
56193 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56194 (struct ulp_data): New type.
56195 (BUILD_COMPLEX_ULP): Remove macro.
56196 (compare_ulp_data): New function.
56197 (find_ulps): Likewise.
56198 (find_test_ulps): Likewise.
56199 (find_function_ulps): Likewise.
56200 (find_complex_function_ulps): Likewise.
56201 (print_max_error): Determine allowed ulps using
56202 find_function_ulps.
56203 (print_complex_max_error): Determine allowed ulps using
56204 find_complex_function_ulps.
56205 (check_float_internal): Determine max ulps using find_test_ulps.
56206 (check_float): Do not take max_ulp parameter. Update call to
56207 check_float_internal.
56208 (check_complex): Likewise.
56209 (check_int): Do not take max_ulp parameter.
56210 (check_long): Likewise.
56211 (check_bool): Likewise.
56212 (check_longlong): Likewise.
56213 (struct test_f_f_data): Remove max_ulp field.
56214 (struct test_ff_f_data): Likewise.
56215 (struct test_ff_f_data_nexttoward): Likewise.
56216 (struct test_fi_f_data): Likewise.
56217 (struct test_fl_f_data): Likewise.
56218 (struct test_if_f_data): Likewise.
56219 (struct test_fff_f_data): Likewise.
56220 (struct test_c_f_data): Likewise.
56221 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56222 (struct test_fF_f1_data): Likewise.
56223 (struct test_ffI_f1_data): Likewise.
56224 (struct test_c_c_data): Remove max_ulp field.
56225 (struct test_cc_c_data): Likewise.
56226 (struct test_f_i_data): Likewise.
56227 (struct test_ff_i_data): Likewise.
56228 (struct test_f_l_data): Likewise.
56229 (struct test_f_L_data): Likewise.
56230 (struct test_sincos_data): Likewise.
56231 (RUN_TEST_f_f): Do not handle ulps.
56232 (RUN_TEST_LOOP_f_f): Likewise.
56233 (RUN_TEST_2_f): Likewise.
56234 (RUN_TEST_LOOP_2_f): Likewise.
56235 (RUN_TEST_fff_f): Likewise.
56236 (RUN_TEST_LOOP_fff_f): Likewise.
56237 (RUN_TEST_c_f): Likewise.
56238 (RUN_TEST_LOOP_c_f): Likewise.
56239 (RUN_TEST_f_f1): Likewise.
56240 (RUN_TEST_LOOP_f_f1): Likewise.
56241 (RUN_TEST_fF_f1): Likewise.
56242 (RUN_TEST_LOOP_fF_f1): Likewise.
56243 (RUN_TEST_fI_f1): Likewise.
56244 (RUN_TEST_LOOP_fI_f1): Likewise.
56245 (RUN_TEST_ffI_f1): Likewise.
56246 (RUN_TEST_LOOP_ffI_f1): Likewise.
56247 (RUN_TEST_c_c): Likewise.
56248 (RUN_TEST_LOOP_c_c): Likewise.
56249 (RUN_TEST_cc_c): Likewise.
56250 (RUN_TEST_LOOP_cc_c): Likewise.
56251 (RUN_TEST_f_i): Likewise.
56252 (RUN_TEST_LOOP_f_i): Likewise.
56253 (RUN_TEST_f_i_tg): Likewise.
56254 (RUN_TEST_LOOP_f_i_tg): Likewise.
56255 (RUN_TEST_ff_i_tg): Likewise.
56256 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56257 (RUN_TEST_f_b): Likewise.
56258 (RUN_TEST_LOOP_f_b): Likewise.
56259 (RUN_TEST_f_b_tg): Likewise.
56260 (RUN_TEST_LOOP_f_b_tg): Likewise.
56261 (RUN_TEST_f_l): Likewise.
56262 (RUN_TEST_LOOP_f_l): Likewise.
56263 (RUN_TEST_f_L): Likewise.
56264 (RUN_TEST_LOOP_f_L): Likewise.
56265 (RUN_TEST_sincos): Likewise.
56266 (RUN_TEST_LOOP_sincos): Likewise.
56267
56268 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56269
56270 [BZ #15480]
56271 [BZ #15485]
56272 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56273 main case of finite arguments, set rounding mode to FE_TONEAREST
56274 and discard exceptions.
56275 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56276 exceptions.
56277 (remainder_tonearest_test_data): New variable.
56278 (remainder_test_tonearest): New function.
56279 (remainder_towardzero_test_data): New variable.
56280 (remainder_test_towardzero): New function.
56281 (remainder_downward_test_data): New variable.
56282 (remainder_test_downward): New function.
56283 (remainder_upward_test_data): New variable.
56284 (remainder_test_upward): New function.
56285 (main): Call the new test functions.
56286
56287 * math/libm-test.inc (struct test_f_f1_data): Remove field
56288 extra_init.
56289 (struct test_fF_f1_data): Likewise.
56290 (struct test_ffI_f1_data): Likewise.
56291 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56292 based on value of EXTRA_EXPECTED.
56293 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56294 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56295 EXTRA_VAR based on value of EXTRA_EXPECTED.
56296 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56297 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56298 EXTRA_VAR based on value of EXTRA_EXPECTED.
56299 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56300 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56301 EXTRA_VAR based on value of EXTRA_EXPECTED.
56302 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56303 * math/gen-libm-test.pl (parse_args): Don't output initializers
56304 for extra output values.
56305
56306 * math/libm-test.inc (check_int): Expect result to be exactly
56307 equal to expected value and do not handle ulps.
56308 (check_long): Likewise.
56309 (check_longlong): Likewise.
56310
56311 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56312 exceptions.
56313 (cimag_test_data): Likewise.
56314 (conj_test_data): Likewise.
56315 (copysign_test_data): Likewise.
56316 (cproj_test_data): Likewise.
56317 (creal_test_data): Likewise.
56318 (fabs_test_data): Likewise.
56319 (fdim_test_data): Likewise.
56320 (finite_test_data): Likewise.
56321 (floor_test_data): Likewise.
56322 (fmax_test_data): Likewise.
56323 (fmin_test_data): Likewise.
56324 (fmod_test_data): Likewise.
56325 (fpclassify_test_data): Likewise.
56326 (frexp_test_data): Likewise.
56327 (ilogb_test_data): Likewise.
56328 (isfinite_test_data): Likewise.
56329 (isgreater_test_data): Likewise.
56330 (isgreaterequal_test_data): Likewise.
56331 (isinf_test_data): Likewise.
56332 (isless_test_data): Likewise.
56333 (islessequal_test_data): Likewise.
56334 (islessgreater_test_data): Likewise.
56335 (isnan_test_data): Likewise.
56336 (isnormal_test_data): Likewise.
56337 (issignaling_test_data): Likewise.
56338 (isunordered_test_data): Likewise.
56339 (ldexp_test_data): Likewise.
56340 (lrint_test_data): Likewise.
56341 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56342 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56343 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56344 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56345 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56346 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56347 test input.
56348 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56349 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56350 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56351 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56352 that test input.
56353 (lrint_downward_test_data): Test for "inexact" exceptions.
56354 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56355 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56356 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56357 test input.
56358 (lrint_upward_test_data): Test for "inexact" exceptions.
56359 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56360 test input.
56361 (llrint_test_data): Test for "inexact" exceptions.
56362 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56363 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56364 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56365 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56366 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56367 (llrint_downward_test_data): Test for "inexact" exceptions.
56368 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56369 (llrint_upward_test_data): Test for "inexact" exceptions.
56370 (logb_test_data): Likewise.
56371 (logb_downward_test_data): Likewise.
56372 (nextafter_test_data): Likewise.
56373 (nexttoward_test_data): Likewise.
56374 (remainder_test_data): Likewise.
56375 (remquo_test_data): Likewise.
56376 (scalbn_test_data): Likewise.
56377 (scalbln_test_data): Likewise.
56378 (signbit_test_data): Likewise.
56379 (sqrt_test_data): Likewise.
56380 (significand_test_data): Likewise.
56381
56382 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56383
56384 [BZ #15424]
56385 * benchtests/bench-modf.c (struct args): Mark arg0 as
56386 volatile.
56387 * scripts/bench.pl: Mark members of struct args as volatile.
56388
56389 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56390
56391 [BZ # 15497]
56392 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56393 negative infinity on POWER6 or lower.
56394 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56395
56396 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56397
56398 [BZ #15442]
56399 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56400 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56401 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56402 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56403 (_FP_SETQNAN): New macro.
56404 (_FP_SETQNAN_SEMIRAW): Likewise.
56405 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56406 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56407 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56408 (FP_EXTEND): Use _FP_FRAC_SNANP.
56409 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56410 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56411 into account.
56412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56413 New macro.
56414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56415 Likewise.
56416
56417 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56418
56419 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56420 with DIVIDE_BY_ZERO_EXCEPTION.
56421 (gamma_test_data): Likewise.
56422 (lgamma_test_data): Likewise.
56423 (log_test_data): Likewise.
56424 (log10_test_data): Likewise.
56425 (log2_test_data): Likewise.
56426 (tgamma_test_data): Likewise.
56427
56428 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56429 (acos_test_tonearest): Likewise.
56430 (acos_test_towardzero): Likewise.
56431 (acos_test_downward): Likewise.
56432 (acos_test_upward): Likewise.
56433 (acosh_test): Likewise.
56434 (asin_test): Likewise.
56435 (asin_test_tonearest): Likewise.
56436 (asin_test_towardzero): Likewise.
56437 (asin_test_downward): Likewise.
56438 (asin_test_upward): Likewise.
56439 (asinh_test): Likewise.
56440 (atan_test): Likewise.
56441 (atanh_test): Likewise.
56442 (atan2_test): Likewise.
56443 (cabs_test): Likewise.
56444 (cacos_test): Likewise.
56445 (cacosh_test): Likewise.
56446 (casin_test): Likewise.
56447 (casinh_test): Likewise.
56448 (catan_test): Likewise.
56449 (catanh_test): Likewise.
56450 (cbrt_test): Likewise.
56451 (ccos_test): Likewise.
56452 (ccosh_test): Likewise.
56453 (cexp_test): Likewise.
56454 (clog_test): Likewise.
56455 (clog10_test): Likewise.
56456 (cos_test): Likewise.
56457 (cos_test_tonearest): Likewise.
56458 (cos_test_towardzero): Likewise.
56459 (cos_test_downward): Likewise.
56460 (cos_test_upward): Likewise.
56461 (cosh_test): Likewise.
56462 (cosh_test_tonearest): Likewise.
56463 (cosh_test_towardzero): Likewise.
56464 (cosh_test_downward): Likewise.
56465 (cosh_test_upward): Likewise.
56466 (cpow_test): Likewise.
56467 (csin_test): Likewise.
56468 (csinh_test): Likewise.
56469 (csqrt_test): Likewise.
56470 (ctan_test): Likewise.
56471 (ctan_test_tonearest): Likewise.
56472 (ctan_test_towardzero): Likewise.
56473 (ctan_test_downward): Likewise.
56474 (ctan_test_upward): Likewise.
56475 (ctanh_test): Likewise.
56476 (ctanh_test_tonearest): Likewise.
56477 (ctanh_test_towardzero): Likewise.
56478 (ctanh_test_downward): Likewise.
56479 (ctanh_test_upward): Likewise.
56480 (erf_test): Likewise.
56481 (erfc_test): Likewise.
56482 (exp_test): Likewise.
56483 (exp_test_tonearest): Likewise.
56484 (exp_test_towardzero): Likewise.
56485 (exp_test_downward): Likewise.
56486 (exp_test_upward): Likewise.
56487 (exp10_test): Likewise.
56488 (exp2_test): Likewise.
56489 (expm1_test): Likewise.
56490 (fmod_test): Likewise.
56491 (gamma_test): Likewise.
56492 (hypot_test): Likewise.
56493 (j0_test): Likewise.
56494 (j1_test): Likewise.
56495 (jn_test): Likewise.
56496 (lgamma_test): Likewise.
56497 (log_test): Likewise.
56498 (log10_test): Likewise.
56499 (log1p_test): Likewise.
56500 (log2_test): Likewise.
56501 (logb_test_downward): Likewise.
56502 (pow_test): Likewise.
56503 (pow_test_tonearest): Likewise.
56504 (pow_test_towardzero): Likewise.
56505 (pow_test_downward): Likewise.
56506 (pow_test_upward): Likewise.
56507 (remainder_test): Likewise.
56508 (remquo_test): Likewise.
56509 (sin_test): Likewise.
56510 (sin_test_tonearest): Likewise.
56511 (sin_test_towardzero): Likewise.
56512 (sin_test_downward): Likewise.
56513 (sin_test_upward): Likewise.
56514 (sincos_test): Likewise.
56515 (sinh_test): Likewise.
56516 (sinh_test_tonearest): Likewise.
56517 (sinh_test_towardzero): Likewise.
56518 (sinh_test_downward): Likewise.
56519 (sinh_test_upward): Likewise.
56520 (sqrt_test): Likewise.
56521 (tan_test): Likewise.
56522 (tan_test_tonearest): Likewise.
56523 (tan_test_towardzero): Likewise.
56524 (tan_test_downward): Likewise.
56525 (tan_test_upward): Likewise.
56526 (tanh_test): Likewise.
56527 (tgamma_test): Likewise.
56528 (y0_test): Likewise.
56529 (y1_test): Likewise.
56530 (yn_test): Likewise.
56531
56532 * math/gen-libm-test.pl (adjust_arg): Remove function.
56533 (special_function): Remove argument $in_func. Only handle
56534 generating output for tables of tests, not inside functions.
56535 (parse_args): Likewise.
56536 (generate_testfile): Remove variable $in_func. Update call to
56537 parse_args.
56538 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56539 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56540 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56541 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56542 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56543 (MAX_VALUE_INIT): Rename macro to max_value.
56544 (MIN_VALUE_INIT): Rename macro to min_value.
56545 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56546 (plus_zero): Remove variable.
56547 (minus_zero): Likewise.
56548 (plus_infty): Likewise.
56549 (minus_infty): Likewise.
56550 (qnan_value): Likewise.
56551 (max_value): Likewise.
56552 (min_value): Likewise.
56553 (min_subnorm_value): Likewise.
56554
56555 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56556
56557 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56558 uint64_t or uint32_t usage.
56559 * crypt/sha256-block.c: Likewise.
56560 * crypt/sha256-crypt.c: Likewise.
56561 * crypt/sha256.c: Likewise.
56562 * crypt/sha512-block.c: Likewise.
56563 * crypt/sha512-crypt.c: Likewise.
56564 * crypt/sha512.c: Likewise.
56565 * debug/backtrace-tst.c: Likewise.
56566 * debug/pcprofiledump.c: Likewise.
56567 * elf/cache.c: Likewise.
56568 * elf/dl-cache.c: Likewise.
56569 * elf/dl-misc.c: Likewise.
56570 * elf/dl-profile.c: Likewise.
56571 * elf/dl-support.c: Likewise.
56572 * elf/ldconfig.c: Likewise.
56573 * elf/sprof.c: Likewise.
56574 * iconv/dummy-repertoire.c: Likewise.
56575 * iconv/iconv_charmap.c: Likewise.
56576 * iconv/skeleton.c: Likewise.
56577 * iconvdata/8bit-generic.c: Likewise.
56578 * iconvdata/cp737.h: Likewise.
56579 * iconvdata/cp775.h: Likewise.
56580 * iconvdata/ibm1008.h: Likewise.
56581 * iconvdata/ibm1025.h: Likewise.
56582 * iconvdata/ibm1046.h: Likewise.
56583 * iconvdata/ibm1097.h: Likewise.
56584 * iconvdata/ibm1112.h: Likewise.
56585 * iconvdata/ibm1122.h: Likewise.
56586 * iconvdata/ibm1123.h: Likewise.
56587 * iconvdata/ibm1124.h: Likewise.
56588 * iconvdata/ibm1129.h: Likewise.
56589 * iconvdata/ibm1130.h: Likewise.
56590 * iconvdata/ibm1132.h: Likewise.
56591 * iconvdata/ibm1133.h: Likewise.
56592 * iconvdata/ibm1137.h: Likewise.
56593 * iconvdata/ibm1140.h: Likewise.
56594 * iconvdata/ibm1141.h: Likewise.
56595 * iconvdata/ibm1142.h: Likewise.
56596 * iconvdata/ibm1143.h: Likewise.
56597 * iconvdata/ibm1144.h: Likewise.
56598 * iconvdata/ibm1145.h: Likewise.
56599 * iconvdata/ibm1146.h: Likewise.
56600 * iconvdata/ibm1147.h: Likewise.
56601 * iconvdata/ibm1148.h: Likewise.
56602 * iconvdata/ibm1149.h: Likewise.
56603 * iconvdata/ibm1153.h: Likewise.
56604 * iconvdata/ibm1154.h: Likewise.
56605 * iconvdata/ibm1155.h: Likewise.
56606 * iconvdata/ibm1156.h: Likewise.
56607 * iconvdata/ibm1157.h: Likewise.
56608 * iconvdata/ibm1158.h: Likewise.
56609 * iconvdata/ibm1160.h: Likewise.
56610 * iconvdata/ibm1161.h: Likewise.
56611 * iconvdata/ibm1162.h: Likewise.
56612 * iconvdata/ibm1163.h: Likewise.
56613 * iconvdata/ibm1164.h: Likewise.
56614 * iconvdata/ibm1166.h: Likewise.
56615 * iconvdata/ibm1167.h: Likewise.
56616 * iconvdata/ibm12712.h: Likewise.
56617 * iconvdata/ibm1390.h: Likewise.
56618 * iconvdata/ibm1399.h: Likewise.
56619 * iconvdata/ibm16804.h: Likewise.
56620 * iconvdata/ibm4517.h: Likewise.
56621 * iconvdata/ibm4899.h: Likewise.
56622 * iconvdata/ibm4909.h: Likewise.
56623 * iconvdata/ibm4971.h: Likewise.
56624 * iconvdata/ibm5347.h: Likewise.
56625 * iconvdata/ibm803.h: Likewise.
56626 * iconvdata/ibm856.h: Likewise.
56627 * iconvdata/ibm901.h: Likewise.
56628 * iconvdata/ibm902.h: Likewise.
56629 * iconvdata/ibm9030.h: Likewise.
56630 * iconvdata/ibm9066.h: Likewise.
56631 * iconvdata/ibm921.h: Likewise.
56632 * iconvdata/ibm922.h: Likewise.
56633 * iconvdata/ibm9448.h: Likewise.
56634 * iconvdata/isiri-3342.h: Likewise.
56635 * iconvdata/jis0201.h: Likewise.
56636 * include/link.h: Likewise.
56637 * include/netdb.h: Likewise.
56638 * inet/check_native.c: Likewise.
56639 * inet/check_pf.c: Likewise.
56640 * inet/getipv4sourcefilter.c: Likewise.
56641 * inet/getnameinfo.c: Likewise.
56642 * inet/getsourcefilter.c: Likewise.
56643 * inet/htonl.c: Likewise.
56644 * inet/setipv4sourcefilter.c: Likewise.
56645 * inet/setsourcefilter.c: Likewise.
56646 * inet/test-inet6_opt.c: Likewise.
56647 * inet/tst-network.c: Likewise.
56648 * locale/C-collate.c: Likewise.
56649 * locale/C-ctype.c: Likewise.
56650 * locale/C-time.c: Likewise.
56651 * locale/C-translit.h: Likewise.
56652 * locale/loadarchive.c: Likewise.
56653 * locale/programs/3level.h: Likewise.
56654 * locale/programs/charmap.c: Likewise.
56655 * locale/programs/charmap.h: Likewise.
56656 * locale/programs/ld-address.c: Likewise.
56657 * locale/programs/ld-collate.c: Likewise.
56658 * locale/programs/ld-ctype.c: Likewise.
56659 * locale/programs/ld-identification.c: Likewise.
56660 * locale/programs/ld-measurement.c: Likewise.
56661 * locale/programs/ld-messages.c: Likewise.
56662 * locale/programs/ld-monetary.c: Likewise.
56663 * locale/programs/ld-name.c: Likewise.
56664 * locale/programs/ld-numeric.c: Likewise.
56665 * locale/programs/ld-paper.c: Likewise.
56666 * locale/programs/ld-telephone.c: Likewise.
56667 * locale/programs/ld-time.c: Likewise.
56668 * locale/programs/linereader.c: Likewise.
56669 * locale/programs/locale.c: Likewise.
56670 * locale/programs/locarchive.c: Likewise.
56671 * locale/programs/locfile.h: Likewise.
56672 * locale/programs/repertoire.c: Likewise.
56673 * locale/programs/simple-hash.c: Likewise.
56674 * locale/programs/simple-hash.h: Likewise.
56675 * malloc/memusage.c: Likewise.
56676 * malloc/memusagestat.c: Likewise.
56677 * nis/nis_defaults.c: Likewise.
56678 * nis/nis_hash.c: Likewise.
56679 * nis/nis_print.c: Likewise.
56680 * nis/nis_xdr.c: Likewise.
56681 * nscd/connections.c: Likewise.
56682 * nscd/hstcache.c: Likewise.
56683 * nscd/nscd_gethst_r.c: Likewise.
56684 * nscd/nscd_getserv_r.c: Likewise.
56685 * nscd/nscd_helper.c: Likewise.
56686 * nscd/servicescache.c: Likewise.
56687 * nss/makedb.c: Likewise.
56688 * nss/nss_db/db-XXX.c: Likewise.
56689 * nss/nss_db/db-initgroups.c: Likewise.
56690 * nss/nss_db/db-netgrp.c: Likewise.
56691 * nss/nss_files/files-network.c: Likewise.
56692 * nss/nss_files/files-parse.c: Likewise.
56693 * posix/bug-regex5.c: Likewise.
56694 * posix/fnmatch_loop.c: Likewise.
56695 * posix/regcomp.c: Likewise.
56696 * posix/regexec.c: Likewise.
56697 * posix/tst-rfc3484-2.c: Likewise.
56698 * posix/tst-rfc3484-3.c: Likewise.
56699 * posix/tst-rfc3484.c: Likewise.
56700 * resolv/nss_dns/dns-canon.c: Likewise.
56701 * resolv/nss_dns/dns-network.c: Likewise.
56702 * resolv/res_init.c: Likewise.
56703 * resolv/res_mkquery.c: Likewise.
56704 * resolv/tst-aton.c: Likewise.
56705 * stdlib/cxa_atexit.c: Likewise.
56706 * stdlib/cxa_finalize.c: Likewise.
56707 * stdlib/gen-fpioconst.c: Likewise.
56708 * stdlib/strtol_l.c: Likewise.
56709 * string/tst-endian.c: Likewise.
56710 * sunrpc/auth_des.c: Likewise.
56711 * sunrpc/clnt_udp.c: Likewise.
56712 * sunrpc/rtime.c: Likewise.
56713 * sunrpc/svcauth_des.c: Likewise.
56714 * sunrpc/xdr.c: Likewise.
56715 * sunrpc/xdr_intXX_t.c: Likewise.
56716 * sunrpc/xdr_rec.c: Likewise.
56717 * sysdeps/generic/ldconfig.h: Likewise.
56718 * sysdeps/generic/ldsodefs.h: Likewise.
56719 * sysdeps/generic/memusage.h: Likewise.
56720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56722 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56726 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56728 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56730 * sysdeps/posix/getaddrinfo.c: Likewise.
56731 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56732 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56733 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56734 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56735 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56736 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56737 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56738 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56739 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56740 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56741 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56742 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56743 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56744 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56745 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56746 * sysdeps/x86_64/dl-tls.h: Likewise.
56747 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56748 * time/alt_digit.c: Likewise.
56749 * time/era.c: Likewise.
56750 * wcsmbs/tst-c16c32-1.c: Likewise.
56751
56752 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56753
56754 * math/libm-test.inc (struct test_sincos_data): New type.
56755 (RUN_TEST_LOOP_sincos): New macro.
56756 (sincos_test_data): New variable.
56757 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56758
56759 2013-05-16 Richard Henderson <rth@redhat.com>
56760
56761 * math/atest-exp2.c (LIMB64): New macro.
56762 (CONSTSZ): New macro.
56763 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56764 (hexdig): Move ...
56765 (print_mpn_fp): ... to function scope.
56766 (read_mpn_hex): Remove.
56767 (get_log2): Remove.
56768 (exp2_mpn): Use mp_log2.
56769 (main): Use mp_exp1.
56770
56771 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56772
56773 * math/libm-test.inc: Remove comment about not testing "inexact"
56774 exceptions.
56775 (INEXACT_EXCEPTION): New macro.
56776 (NO_INEXACT_EXCEPTION): Likewise.
56777 (INVALID_EXCEPTION_OK): Update value.
56778 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56779 (OVERFLOW_EXCEPTION_OK): Likewise.
56780 (UNDERFLOW_EXCEPTION_OK): Likewise.
56781 (IGNORE_ZERO_INF_SIGN): Likewise.
56782 (ERRNO_UNCHANGED): Likewise.
56783 (ERRNO_EDOM): Likewise.
56784 (ERRNO_ERANGE): Likewise.
56785 (test_exceptions): Handle testing "inexact" exceptions.
56786 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56787 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56788 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56789 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56790 INEXACT_EXCEPTION.
56791 (rint_towardzero_test_data): Likewise.
56792 (rint_downward_test_data): Likewise.
56793 (rint_upward_test_data): Likewise.
56794
56795 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56796 with OVERFLOW_EXCEPTION.
56797 (exp10_test_data): Likewise.
56798 (exp2_test_data): Likewise.
56799 (expm1_test_data): Likewise.
56800 (lgamma_test_data): Likewise.
56801 (pow_test_data): Likewise.
56802 (tgamma_test_data): Likewise.
56803 (yn_test_data): Remove duplicate test of overflow.
56804
56805 * math/libm-test.inc (struct test_cc_c_data): New type.
56806 (RUN_TEST_LOOP_cc_c): New macro.
56807 (cpow_test_data): New variable.
56808 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56809
56810 * math/libm-test.inc (struct test_f_L_data): New type.
56811 (RUN_TEST_LOOP_f_L): New macro.
56812 (llrint_test_data): New variable.
56813 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56814 (llrint_tonearest_test_data): New variable.
56815 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56816 (llrint_towardzero_test_data): New variable.
56817 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56818 (llrint_downward_test_data): New variable.
56819 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56820 (llrint_upward_test_data): New variable.
56821 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56822 (llround_test_data): New variable.
56823 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56824
56825 2013-05-13 Peter Collingbourne <pcc@google.com>
56826
56827 * math/atest-exp2.c (get_log2): Remove const attribute.
56828
56829 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56830
56831 * math/libm-test.inc (struct test_f_l_data): New type.
56832 (RUN_TEST_LOOP_f_l): New macro.
56833 (lrint_test_data): New variable.
56834 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56835 (lrint_tonearest_test_data): New variable.
56836 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56837 (lrint_towardzero_test_data): New variable.
56838 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56839 (lrint_downward_test_data): New variable.
56840 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56841 (lrint_upward_test_data): New variable.
56842 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56843 (lround_test_data): New variable.
56844 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56845
56846 2013-05-15 Peter Collingbourne <pcc@google.com>
56847
56848 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56849 (EXTRACT_WORDS64) Use where appropriate.
56850 (INSERT_WORDS64) Likewise.
56851
56852 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56853 constraints with x constraints.
56854 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56855
56856 * malloc/obstack.c (_obstack_compat): Add initializer.
56857
56858 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56859
56860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56861 si_trapno and add si_addr_lsb to _sifields.sigfault.
56862 (si_trapno): Remove macro.
56863 (si_addr_lsb): Define new macro.
56864 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56865
56866 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56867
56868 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56869 instead of TEST_f_l.
56870 (llrint_test_tonearest): Likewise.
56871 (llrint_test_towardzero): Likewise.
56872 (llrint_test_downward): Likewise.
56873 (llrint_test_upward): Likewise.
56874 (llround_test): Likewise.
56875
56876 * math/libm-test.inc (struct test_f_i_data): Add comment.
56877 (RUN_TEST_LOOP_f_b): New macro.
56878 (RUN_TEST_LOOP_f_b_tg): Likewise.
56879 (finite_test_data): New variable.
56880 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56881 (isfinite_test_data): New variable.
56882 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56883 (isinf_test_data): New variable.
56884 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56885 (isnan_test_data): New variable.
56886 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56887 (isnormal_test_data): New variable.
56888 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56889 (issignaling_test_data): New variable.
56890 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56891 (signbit_test_data): New variable.
56892 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56893
56894 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56895 with INVALID_EXCEPTION.
56896 (acosh_test_data): Likewise.
56897 (asin_test_data): Likewise.
56898 (atanh_test_data): Likewise.
56899 (fmod_test_data): Likewise.
56900 (log_test_data): Likewise.
56901 (log10_test_data): Likewise.
56902 (log2_test_data): Likewise.
56903 (pow_test_data): Likewise.
56904 (sqrt_test_data): Likewise.
56905 (y0_test_data): Likewise.
56906 (y1_test_data): Likewise.
56907 (yn_test_data): Likewise.
56908
56909 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56910 function contents.
56911
56912 * math/libm-test.inc (struct test_ff_i_data): New type.
56913 (RUN_TEST_LOOP_ff_i_tg): New macro.
56914 (isgreater_test_data): New variable.
56915 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56916 (isgreaterequal_test_data): New variable.
56917 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56918 (isless_test_data): New variable.
56919 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56920 (islessequal_test_data): New variable.
56921 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56922 (islessgreater_test_data): New variable.
56923 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56924 (isunordered_test_data): New variable.
56925 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56926
56927 2013-05-14 David S. Miller <davem@davemloft.net>
56928
56929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56930
56931 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56932
56933 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56934
56935 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56936 extra_test to int.
56937 (struct test_f_i_data): Change type of max_ulp to int.
56938
56939 * math/libm-test.inc (test_ffI_f1_data): New type.
56940 (RUN_TEST_LOOP_ffI_f1): New macro.
56941 (remquo_test_data): New variable.
56942 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56943
56944 * setjmp/tst-setjmp-fp.c: New file.
56945 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56946 (link-libm): New variable.
56947 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56948
56949 * math/libm-test.inc (struct test_f_i_data): New type.
56950 (RUN_TEST_LOOP_f_i): New macro.
56951 (RUN_TEST_LOOP_f_i_tg): Likewise.
56952 (fpclassify_test_data): New variable.
56953 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56954 (ilogb_test_data): New variable.
56955 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56956
56957 * math/libm-test.inc (scalbln_test): Correct function name in END
56958 call.
56959
56960 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56961 (RUN_TEST_LOOP_fI_f1): New macro.
56962 (frexp_test_data): New variable.
56963 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56964
56965 * math/libm-test.inc (struct test_fF_f1_data): New type.
56966 (RUN_TEST_LOOP_fF_f1): New macro.
56967 (modf_test_data): New variable.
56968 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56969
56970 * math/libm-test.inc (struct test_f_f1_data): New type.
56971 (RUN_TEST_LOOP_f_f1): New macro.
56972 (gamma_test_data): New variable.
56973 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56974 (lgamma_test_data): New variable.
56975 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56976
56977 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56978
56979 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56980 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56981 (main): Comment "tls" pseudo-hwcap.
56982
56983 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56984
56985 * math/libm-test.inc (struct test_fl_f_data): New type.
56986 (RUN_TEST_LOOP_fl_f): New variable.
56987 (scalbln_test_data): New variable.
56988 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56989
56990 * math/libm-test.inc (struct test_fi_f_data): New type.
56991 (RUN_TEST_LOOP_fi_f): New macro.
56992 (ldexp_test_data): New variable.
56993 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56994 (scalbn_test_data): New variable.
56995 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56996
56997 * math/libm-test.inc (struct test_c_f_data): New type.
56998 (RUN_TEST_LOOP_c_f): New macro.
56999 (cabs_test_data): New variable.
57000 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57001 (carg_test_data): New variable.
57002 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57003 (cimag_test_data): New variable.
57004 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57005 (creal_test_data): New variable.
57006 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57007
57008 * math/libm-test.inc (struct test_if_f_data): New type.
57009 (RUN_TEST_LOOP_if_f): New macro.
57010 (jn_test_data): New variable.
57011 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57012 (yn_test_data): New variable.
57013 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57014
57015 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57016
57017 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57018
57019 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57020 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57021
57022 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57023
57024 * benchtests/Makefile (CPPFLAGS-nonlib): Add
57025 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57026 (bench-deps): Add bench-timing.h.
57027 * benchtests-bench-skeleton.c: Include bench-timing.h.
57028 (main): Use TIMING_* macros instead of clock_gettime.
57029 * benchtests/bench-timing.h: New file.
57030
57031 [BZ #14582]
57032 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57033 Renamed from _LIB_VERSION.
57034 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57035
57036 2013-05-12 Joseph Myers <joseph@codesourcery.com>
57037
57038 * math/libm-test.inc (struct test_fff_f_data): New type.
57039 (RUN_TEST_LOOP_fff_f): New macro.
57040 (fma_test_data): New variable.
57041 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57042 (fma_towardzero_test_data): New variable.
57043 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57044 (fma_downward_test_data): New variable.
57045 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57046 (fma_upward_test_data): New variable.
57047 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57048
57049 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57050 (struct test_c_c_data): New type.
57051 (RUN_TEST_LOOP_c_c): New macro.
57052 (cacos_test_data): New variable.
57053 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57054 (cacosh_test_data): New variable.
57055 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57056 (casin_test_data): New variable.
57057 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57058 (casinh_test_data): New variable.
57059 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57060 (catan_test_data): New variable.
57061 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57062 (catanh_test_data): New variable.
57063 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57064 (ccos_test_data): New variable.
57065 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57066 (ccosh_test_data): New variable.
57067 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57068 (cexp_test_data): New variable.
57069 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57070 (clog_test_data): New variable.
57071 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57072 (clog10_test_data): New variable.
57073 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57074 (conj_test_data): New variable.
57075 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57076 (cproj_test_data): New variable.
57077 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57078 (csin_test_data): New variable.
57079 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57080 (csinh_test_data): New variable.
57081 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57082 (csqrt_test_data): New variable.
57083 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57084 (ctan_test_data): New variable.
57085 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57086 (ctan_tonearest_test_data): New variable.
57087 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57088 (ctan_towardzero_test_data): New variable.
57089 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57090 (ctan_downward_test_data): New variable.
57091 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57092 (ctan_upward_test_data): New variable.
57093 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57094 (ctanh_test_data): New variable.
57095 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57096 (ctanh_tonearest_test_data): New variable.
57097 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57098 (ctanh_towardzero_test_data): New variable.
57099 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57100 (ctanh_downward_test_data): New variable.
57101 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57102 (ctanh_upward_test_data): New variable.
57103 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57104 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57105 of BUILD_COMPLEX.
57106
57107 * math/libm-test.inc (struct test_ff_f_data): New type.
57108 (struct test_ff_f_data_nexttoward): Likewise.
57109 (RUN_TEST_LOOP_2_f): New macro.
57110 (RUN_TEST_LOOP_ff_f): Likewise.
57111 (atan2_test_data): New variable.
57112 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57113 (copysign_test_data): New variable.
57114 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57115 (fdim_test_data): New variable.
57116 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57117 (fmax_test_data): New variable.
57118 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57119 (fmin_test_data): New variable.
57120 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57121 (fmod_test_data): New variable.
57122 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57123 (hypot_test_data): New variable.
57124 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57125 (nextafter_test_data): New variable.
57126 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57127 (nexttoward_test_data): New variable.
57128 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57129 (pow_test_data): New variable.
57130 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57131 (pow_tonearest_test_data): New variable.
57132 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57133 (pow_towardzero_test_data): New variable.
57134 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57135 (pow_downward_test_data): New variable.
57136 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57137 (pow_upward_test_data): New variable.
57138 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57139 (remainder_test_data): New variable.
57140 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57141 (scalb_test_data): New variable.
57142 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57143 * sysdeps/i386/fpu/libm-test-ulps: Update.
57144
57145 2013-05-11 Joseph Myers <joseph@codesourcery.com>
57146
57147 * math/libm-test.inc (fma_test): Use max_value instead of local
57148 variable fltmax.
57149 (nextafter_test): Likewise.
57150
57151 * math/libm-test.inc (acos_towardzero_test_data): New variable.
57152 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57153 (acos_downward_test_data): New variable.
57154 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57155 (acos_upward_test_data): New variable.
57156 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57157 (acosh_test_data): New variable.
57158 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57159 (asin_test_data): New variable.
57160 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57161 (asin_tonearest_test_data): New variable.
57162 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57163 (asin_towardzero_test_data): New variable.
57164 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57165 (asin_downward_test_data): New variable.
57166 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57167 (asin_upward_test_data): New variable.
57168 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57169 (asinh_test_data): New variable.
57170 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57171 (atan_test_data): New variable.
57172 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57173 (atanh_test_data): New variable.
57174 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57175 (cbrt_test_data): New variable.
57176 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57177 (ceil_test_data): New variable.
57178 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57179 (cos_test_data): New variable.
57180 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57181 (cos_tonearest_test_data): New variable.
57182 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57183 (cos_towardzero_test_data): New variable.
57184 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57185 (cos_downward_test_data): New variable.
57186 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57187 (cos_upward_test_data): New variable.
57188 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57189 (cosh_test_data): New variable.
57190 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57191 (cosh_tonearest_test_data): New variable.
57192 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57193 (cosh_towardzero_test_data): New variable.
57194 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57195 (cosh_downward_test_data): New variable.
57196 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57197 (cosh_upward_test_data): New variable.
57198 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57199 (erf_test_data): New variable.
57200 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57201 (erfc_test_data): New variable.
57202 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57203 (exp_test_data): New variable.
57204 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57205 (exp_tonearest_test_data): New variable.
57206 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57207 (exp_towardzero_test_data): New variable.
57208 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57209 (exp_downward_test_data): New variable.
57210 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57211 (exp_upward_test_data): New variable.
57212 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57213 (exp10_test_data): New variable.
57214 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57215 (exp2_test_data): New variable.
57216 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57217 (expm1_test_data): New variable.
57218 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57219 (fabs_test_data): New variable.
57220 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57221 (floor_test_data): New variable.
57222 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57223 (j0_test_data): New variable.
57224 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57225 (j1_test_data): New variable.
57226 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57227 (log_test_data): New variable.
57228 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57229 (log10_test_data): New variable.
57230 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57231 (log1p_test_data): New variable.
57232 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57233 (log2_test_data): New variable.
57234 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57235 (logb_test_data): New variable.
57236 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57237 (logb_downward_test_data): New variable.
57238 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57239 (nearbyint_test_data): New variable.
57240 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57241 (rint_test_data): New variable.
57242 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57243 (rint_tonearest_test_data): New variable.
57244 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57245 (rint_towardzero_test_data): New variable.
57246 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57247 (rint_downward_test_data): New variable.
57248 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57249 (rint_upward_test_data): New variable.
57250 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57251 (round_test_data): New variable.
57252 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57253 (sin_test_data): New variable.
57254 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57255 (sin_tonearest_test_data): New variable.
57256 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57257 (sin_towardzero_test_data): New variable.
57258 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57259 (sin_downward_test_data): New variable.
57260 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57261 (sin_upward_test_data): New variable.
57262 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57263 (sinh_test_data): New variable.
57264 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57265 (sinh_tonearest_test_data): New variable.
57266 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57267 (sinh_towardzero_test_data): New variable.
57268 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57269 (sinh_downward_test_data): New variable.
57270 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57271 (sinh_upward_test_data): New variable.
57272 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57273 (sqrt_test_data): New variable.
57274 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57275 (tan_test_data): New variable.
57276 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57277 (tan_tonearest_test_data): New variable.
57278 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57279 (tan_towardzero_test_data): New variable.
57280 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57281 (tan_downward_test_data): New variable.
57282 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57283 (tan_upward_test_data): New variable.
57284 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57285 (tanh_test_data): New variable.
57286 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57287 (tgamma_test_data): New variable.
57288 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57289 (trunc_test_data): New variable.
57290 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57291 (y0_test_data): New variable.
57292 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57293 (y1_test_data): New variable.
57294 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57295 (significand_test_data): New variable.
57296 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57297
57298 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57299
57300 [BZ #12387]
57301 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57302
57303 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57304
57305 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57306
57307 2013-05-10 Andreas Jaeger <aj@suse.de>
57308
57309 [BZ #15448]
57310 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57311 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57312
57313 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57314
57315 * math/gen-libm-test.pl (adjust_arg): New function.
57316 (special_functions): Handle generating output in both functions
57317 and arrays.
57318 (parse_args): Likewise.
57319 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57320 $in_func argument to parse_args.
57321 * math/libm-test.inc (struct test_f_f_data): New type.
57322 (IF_ROUND_INIT_): New macro.
57323 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57324 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57325 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57326 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57327 (ROUND_RESTORE_): Likewise.
57328 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57329 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57330 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57331 (ROUND_RESTORE_FE_UPWARD): Likewise.
57332 (RUN_TEST_LOOP_f_f): New macro.
57333 (acos_test_data): New variable.
57334 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57335 (acos_tonearest_test_data): New variable.
57336 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57337
57338 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57339
57340 * benchtests/bench-skeleton.c (startup): Fix coding style.
57341
57342 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57343
57344 [BZ #6809]
57345 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57346 negative infinity argument.
57347 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57348 negative infinity argument.
57349 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57350 negative infinity argument.
57351 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57352 domain errors.
57353
57354 2013-05-10 Florian Weimer <fweimer@redhat.com>
57355
57356 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57357 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57358 * iconv/iconv_prog.c (main): Likewise.
57359 * locale/programs/charmap-dir.c (charmap_readdir)
57360 (fopen_uncompressed): Likewise.
57361 * locale/programs/locfile.c (siblings_uncached)
57362 (write_locale_data): Use lstat64 instead of lstat.
57363 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57364 stat.
57365
57366 2013-05-10 Andreas Jaeger <aj@suse.de>
57367
57368 [BZ #15395]
57369 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57370 localization.
57371 Include <locale.h>.
57372
57373 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57374
57375 * elf/dl-close.c (_dl_close_worker): Add comments.
57376
57377 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57378
57379 [BZ #15359]
57380 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57381 high part of pi/2.
57382 (__ieee754_rem_pio2l): Update comments.
57383
57384 [BZ #15429]
57385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57386 high part of pi/2.
57387 (__ieee754_rem_pio2l): Update comments.
57388
57389 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57390 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57391
57392 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57393 M_PI_4l.
57394
57395 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57396 (M_PI_34_LOG10El): Likewise.
57397 (M_PI2_LOG10El): Likewise.
57398 (M_PI4_LOG10El): Likewise.
57399 (M_PI_LOG10El): Likewise.
57400
57401 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57402
57403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57404
57405 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57406
57407 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57408 (MINUS_ZERO_INIT): Likewise.
57409 (PLUS_INFTY_INIT): Likewise.
57410 (MINUS_INFTY_INIT): Likewise.
57411 (QNAN_VALUE_INIT): Likewise.
57412 (MAX_VALUE_INIT): Likewise.
57413 (MIN_VALUE_INIT): Likewise.
57414 (MIN_SUBNORM_VALUE_INIT): Likewise.
57415 (plus_zero): Initialize with PLUS_ZERO_INIT.
57416 (minus_zero): Initialize with MINUS_ZERO_INIT.
57417 (plus_infty): Initialize with PLUS_INFTY_INIT.
57418 (minus_infty): Initialize with MINUS_INFTY_INIT.
57419 (qnan_value): Initialize with QNAN_VALUE_INIT.
57420 (max_value): Initialize with MAX_VALUE_INIT.
57421 (min_value): Initialize with MIN_VALUE_INIT.
57422 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57423
57424 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57425 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57426 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57427 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57428
57429 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57430 (RUN_TEST_2_f): Likewise.
57431 (RUN_TEST_ff_f): Likewise.
57432 (RUN_TEST_fi_f): Likewise.
57433 (RUN_TEST_fl_f): Likewise.
57434 (RUN_TEST_fff_f): Likewise.
57435 (RUN_TEST_c_f): Likewise.
57436 (RUN_TEST_f_f1): Likewise.
57437 (RUN_TEST_fF_f1): Likewise.
57438 (RUN_TEST_fI_f1): Likewise.
57439 (RUN_TEST_ffI_f1): Likewise.
57440 (RUN_TEST_c_c): Likewise.
57441 (RUN_TEST_cc_c): Likewise.
57442 (RUN_TEST_f_i): Likewise.
57443 (RUN_TEST_f_i_tg): Likewise.
57444 (RUN_TEST_ff_i_tg): Likewise.
57445 (RUN_TEST_f_b): Likewise.
57446 (RUN_TEST_f_b_tg): Likewise.
57447 (RUN_TEST_f_l): Likewise.
57448 (RUN_TEST_f_L): Likewise.
57449 (RUN_TEST_sincos): Likewise.
57450 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57451 whether to show exceptions. Do not include ");\n" in return
57452 value.
57453 (special_functions): Output call to RUN_TEST_sincos instead of
57454 check_float calls. Update calls to new_test.
57455 (parse_args): Output call to single RUN_TEST_* macro instead of
57456 check_* calls and other assignments. Update calls to new_test.
57457
57458 [BZ #2546]
57459 [BZ #2560]
57460 [BZ #5159]
57461 [BZ #15426]
57462 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57463 input to result for tgamma overflow.
57464 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57465 (gamma_coeff): New variable.
57466 (NCOEFF): New macro.
57467 (gamma_positive): New function.
57468 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57469 underflow here. Use gamma_positive instead of exp (lgamma) for
57470 other arguments.
57471 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57472 (gamma_coeff): New variable.
57473 (NCOEFF): New macro.
57474 (gammaf_positive): New function.
57475 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57476 underflow here. Use gamma_positive instead of exp (lgamma) for
57477 other arguments.
57478 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57479 (gamma_coeff): New variable.
57480 (NCOEFF): New macro.
57481 (gammal_positive): New function.
57482 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57483 underflow here. Use gamma_positive instead of exp (lgamma) for
57484 other arguments.
57485 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57486 (gamma_coeff): New variable.
57487 (NCOEFF): New macro.
57488 (gammal_positive): New function.
57489 (__ieee754_gammal_r): Handle positive infinity, overflow and
57490 underflow here. Handle NaN the same as positive infinity. Remove
57491 check x < 0xffffffff for negative integers. Use gamma_positive
57492 instead of exp (lgamma) for other arguments.
57493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57494 (gamma_coeff): New variable.
57495 (NCOEFF): New macro.
57496 (gammal_positive): New function.
57497 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57498 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57499 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57500 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57501 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57502 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57503 * sysdeps/generic/math_private.h (__gamma_productf): New
57504 prototype.
57505 (__gamma_product): Likewise.
57506 (__gamma_productl): Likewise.
57507 * math/Makefile (libm-calls): Add gamma_product.
57508 * math/libm-test.inc (tgamma_test): Add more tests.
57509 * sysdeps/i386/fpu/libm-test-ulps: Update.
57510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57511
57512 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57513
57514 * benchtests/bench-skeleton.c (main): Preheat CPU.
57515
57516 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57517
57518 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57519
57520 2013-05-07 Roland McGrath <roland@hack.frob.com>
57521
57522 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57523 and _dl_skip_args_internal.
57524
57525 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57526
57527 * manual/message.texi (Message Translation): Talk about users.
57528 Message to key mapping impacts design.
57529
57530 2013-05-06 Roland McGrath <roland@hack.frob.com>
57531
57532 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57533
57534 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57535
57536 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57537 * sysdeps/wordsize-64/glob64.c: ... here.
57538
57539 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57540 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57541 New macros.
57542
57543 * debug/getlogin_r_chk.c: Moved to ...
57544 * login/getlogin_r_chk.c: ... here.
57545 * debug/Makefile (routines): Move getlogin_r_chk to ...
57546 * login/Makefile (routines): ... here.
57547 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57548 * login/Versions (libc: GLIBC_2.4): ... here.
57549
57550 * io/poll.c (__poll): Renamed from poll.
57551 Add libc_hidden_def.
57552 (poll): Define as weak alias.
57553
57554 * debug/ptsname_r_chk.c: Moved to ...
57555 * login/ptsname_r_chk.c: ... here.
57556 * debug/Makefile (routines): Move ptsname_r_chk to ...
57557 * login/Makefile (routines): ... here.
57558 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57559 * login/Versions (libc: GLIBC_2.4): ... here.
57560
57561 * posix/getlogin.c: Moved to ...
57562 * login/getlogin.c: ... here.
57563 * posix/getlogin_r.c: Moved to ...
57564 * login/getlogin_r.c: ... here.
57565 * posix/getlogin_r.c: Moved to ...
57566 * login/getlogin_r.c: ... here.
57567 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57568 * login/Makefile (routines): ... here.
57569 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57570 * login/Versions (libc: GLIBC_2.0): ... here.
57571
57572 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57573 (setrlimit): Define as weak alias.
57574
57575 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57576 Call __ names for open, ftruncate, and close.
57577 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57578 (truncate): Define as weak alias.
57579
57580 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57581
57582 * math/gen-libm-test.pl (parse_args): Initialize x before each
57583 test of frexp, modf and remquo.
57584
57585 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57586 test signgam value.
57587
57588 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57589
57590 [BZ #15418]
57591 [BZ #15419]
57592 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57593 internal tests.
57594 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57595
57596 2013-05-06 Roland McGrath <roland@hack.frob.com>
57597
57598 * elf/dl-writev.h: New file.
57599 * elf/dl-misc.c: Include it.
57600 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57601 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57602
57603 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57604
57605 * math/libm-test.inc (noXFails): Remove variable.
57606 (noXPasses): Likewise.
57607 (BUILD_COMPLEX_INT): Remove macro.
57608 (print_screen): Remove xfail argument.
57609 (print_screen_max_error): Likewise.
57610 (update_stats): Likewise.
57611 (print_max_error): Likewise. Update calls to other affected
57612 functions.
57613 (print_complex_max_error): Likewise.
57614 (test_single_exception): Update calls to print_screen.
57615 (test_single_errno): Likewise.
57616 (check_float_internal): Remove xfail argument. Update calls to
57617 other affected functions.
57618 (check_float): Likewise.
57619 (check_complex): Likewise.
57620 (check_int): Likewise.
57621 (check_long): Likewise.
57622 (check_bool): Likewise.
57623 (check_longlong): Likewise.
57624 (main): Don't print noXFails and noXPasses.
57625 * math/gen-libm-test.pl (top level): Don't mention expected
57626 failure handling in comment.
57627 (new_test): Don't handle expected failures.
57628 (parse_args): Don't mention expected failure handling in comment.
57629 (generate_testfile): Don't handle expected failures.
57630 (parse_ulps): Likewise.
57631 (print_ulps_file): Likewise.
57632 (get_failure): Remove function.
57633 (output_test): Don't handle expected failures.
57634 * make/README.libm-test: Don't mention expected failure handling.
57635
57636 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57637 (minus_zero): Likewise.
57638 (plus_infty): Likewise.
57639 (minus_infty): Likewise.
57640 (qnan_value): Likewise.
57641 (max_value): Likewise.
57642 (min_value): Likewise.
57643 (min_subnorm_value): Likewise.
57644 (initialize): Do not initialize those variables dynamically.
57645
57646 2013-05-03 Roland McGrath <roland@hack.frob.com>
57647
57648 * io/open.c (__open_2): Moved to ...
57649 * io/open_2.c: ... this new file.
57650 * io/open64.c (__open64_2): Moved to ...
57651 * io/open64_2.c: ... this new file.
57652 * io/openat.c (__openat_2): Moved to ...
57653 * io/openat_2.c: ... this new file.
57654 * io/openat64.c (__openat64_2): Moved to ...
57655 * io/openat64_2.c: ... this new file.
57656 * io/Makefile (routines): Add them.
57657 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57658 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57659 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57660 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57661 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57662 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57663 (__openat64): Add hidden_ver.
57664 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57665 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57666
57667 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57668 Separately conditionalize setting of GLRO(dl_sysinfo) so
57669 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57670 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57671
57672 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57673
57674 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57676 definition.
57677 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57678 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57679 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57680 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57681 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57682
57683 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57684
57685 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57686 test signgam value.
57687
57688 * math/libm-test.inc (hypot_test): Do not use
57689 IGNORE_ZERO_INF_SIGN.
57690
57691 2013-05-03 Andreas Jaeger <aj@suse.de>
57692
57693 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57694 Linux 3.9.
57695 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57696 (PF_MAX): Adjust for VSOCK change.
57697
57698 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57699
57700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57701
57702 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57703
57704 [BZ #15264]
57705 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57706 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57707 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57708
57709 2013-05-02 David S. Miller <davem@davemloft.net>
57710
57711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57712
57713 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57714
57715 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57716
57717 2013-05-01 Roland McGrath <roland@hack.frob.com>
57718
57719 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57720
57721 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57722
57723 [BZ #14952]
57724 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57725 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57726 Use __attribute__ ((__gnu_inline__)).
57727 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57728 Don't use __attribute__ ((__gnu_inline__)).
57729
57730 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57731
57732 [BZ #15423]
57733 * math/s_catan.c (__catan): Handle small real or imaginary part of
57734 input specially to avoid spurious underflow.
57735 * math/s_catanf.c (__catanf): Likewise.
57736 * math/s_catanh.c (__catanh): Likewise.
57737 * math/s_catanhf.c (__catanhf): Likewise.
57738 * math/s_catanhl.c (__catanhl): Likewise.
57739 * math/s_catanl.c (__catanl): Likewise.
57740 * math/libm-test.inc (catan_test): Add more tests.
57741 (catanh_test): Likewise.
57742 * sysdeps/i386/fpu/libm-test-ulps: Update.
57743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57744
57745 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57746
57747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57748
57749 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57750
57751 [BZ #15416]
57752 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57753 accurately for denominator in atan2.
57754 * math/s_catanf.c (__catanf): Likewise.
57755 * math/s_catanh.c (__catanh): Likewise.
57756 * math/s_catanhf.c (__catanhf): Likewise.
57757 * math/s_catanhl.c (__catanhl): Likewise.
57758 * math/s_catanl.c (__catanl): Likewise.
57759 * math/libm-test.inc (catan_test): Add more tests.
57760 (catanh_test): Likewise.
57761 * sysdeps/i386/fpu/libm-test-ulps: Update.
57762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57763
57764 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57765
57766 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57767
57768 * benchtests/Makefile (bench): Remove slow benchmarks.
57769 * benchtests/atan-inputs: Add slow benchmark inputs.
57770 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57771 (BENCH_FUNC): Accept variant offset.
57772 (VARIANT): Define.
57773 * benchtests/bench-skeleton.c (main): Run benchmark for each
57774 variant.
57775 * benchtests/cos-inputs: Add slow benchmark inputs.
57776 * benchtests/exp-inputs: Likewise.
57777 * benchtests/pow-inputs: Likewise.
57778 * benchtests/sin-inputs: Likewise.
57779 * benchtests/slowatan-inputs: Remove.
57780 * benchtests/slowatan.c: Remove.
57781 * benchtests/slowcos-inputs: Remove.
57782 * benchtests/slowcos.c: Remove.
57783 * benchtests/slowexp-inputs: Remove.
57784 * benchtests/slowexp.c: Remove.
57785 * benchtests/slowpow-inputs: Remove.
57786 * benchtests/slowpow.c: Remove.
57787 * benchtests/slowsin-inputs: Remove.
57788 * benchtests/slowsin.c: Remove.
57789 * benchtests/slowtan-inputs: Remove.
57790 * benchtests/slowtan.c: Remove.
57791 * benchtests/tan-inputs: Add slow benchmark inputs.
57792 * scripts/bench.pl: Parse comments and directives.
57793
57794 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57795 in CPPFLAGS.
57796 ($(objpfx)bench-%.c): Remove *-ITER.
57797 * benchtests/bench-modf.c: Remove definition of ITER.
57798 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57799 (main): Loop for DURATION seconds instead of fixed number of
57800 iterations.
57801 * scripts/bench.pl: Don't expect iterations in parameters.
57802
57803 2013-04-29 Roland McGrath <roland@hack.frob.com>
57804
57805 * io/fchdir.c (__fchdir): Renamed from fchdir.
57806 (fchdir): Define as weak alias.
57807
57808 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57809
57810 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57811 (ERRNO_EDOM): Likewise.
57812 (ERRNO_ERANGE): Likewise.
57813 (noErrnoTests): New variable.
57814 (init_max_error): Set errno to 0.
57815 (test_single_errno): New function.
57816 (test_errno): Likewise.
57817 (check_float_internal): Call test_errno. Set errno to 0.
57818 (check_complex): Refer to errno tests in comment.
57819 (check_int): Call test_errno. Set errno to 0.
57820 (check_long): Likewise.
57821 (check_bool): Likewise.
57822 (check_longlong): Likewise.
57823 (cos_test): Use ERRNO_* flags for errno tests instead of
57824 check_int.
57825 (expm1_test): Likewise.
57826 (fmod_test): Likewise.
57827 (ilogb_test): Likewise.
57828 (lgamma_test): Likewise.
57829 (pow_test): Likewise.
57830 (remainder_test): Likewise.
57831 (sin_test): Likewise.
57832 (tan_test): Likewise.
57833 (yn_test): Likewise.
57834 (initialize): Set errno to 0.
57835 (main): Print number of errno tests.
57836 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57837
57838 2013-04-29 Andreas Jaeger <aj@suse.de>
57839
57840 [BZ #15084]
57841 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57842 and RES_USEVC.
57843
57844 [BZ #15085]
57845 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57846 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57847 unimplemented.
57848
57849 [BZ #15380]
57850 * stdlib/random.c (__initstate): Return NULL if
57851 __initstate fails.
57852
57853 [BZ #15086]
57854 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57855 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57856 RES_SNGLKUPREOP.
57857
57858 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57859
57860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57861
57862 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57863
57864 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57865 of individual tests.
57866 (casin_test): Likewise.
57867 (casinh_test): Likewise.
57868
57869 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57870
57871 [BZ #15409]
57872 * math/s_catan.c (__catan): Handle arguments with large real or
57873 imaginary part separately without squaring.
57874 * math/s_catanf.c (__catanf): Likewise.
57875 * math/s_catanh.c (__catanh): Likewise.
57876 * math/s_catanhf.c (__catanhf): Likewise.
57877 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57878 and redefine.
57879 (__catanhl): Handle arguments with large real or imaginary part
57880 separately without squaring.
57881 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57882 and redefine.
57883 (__catanl): Handle arguments with large real or imaginary part
57884 separately without squaring.
57885 * math/libm-test.inc (catan_test): Add more tests.
57886 (catanh_test): Likewise.
57887 * sysdeps/i386/fpu/libm-test-ulps: Update.
57888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57889
57890 2013-04-27 Andreas Jaeger <aj@suse.de>
57891
57892 [BZ #15007]
57893 * stdlib/stdlib.h: Update guards for qecvt.
57894 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57895 <stdlib.h>.
57896
57897 2013-04-27 Allan McRae <allan@archlinux.org>
57898
57899 * sysdeps/i386/fpu/libm-test-ulps: Update.
57900
57901 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57902
57903 [BZ #15406]
57904 * math/s_catan.c: Include <float.h>.
57905 (__catan): Ensure underflow exception occurs for underflowed
57906 result.
57907 * math/s_catanf.c: Include <float.h>.
57908 (__catanf): Ensure underflow exception occurs for underflowed
57909 result.
57910 * math/s_catanh.c: Include <float.h>.
57911 (__catanh): Ensure underflow exception occurs for underflowed
57912 result.
57913 * math/s_catanhf.c: Include <float.h>.
57914 (__catanhf): Ensure underflow exception occurs for underflowed
57915 result.
57916 * math/s_catanhl.c: Include <float.h>.
57917 (__catanhl): Ensure underflow exception occurs for underflowed
57918 result.
57919 * math/s_catanl.c: Include <float.h>.
57920 (__catanl): Ensure underflow exception occurs for underflowed
57921 result.
57922 * math/libm-test.inc (catan_test): Add more tests.
57923 (catanh_test): Likewise.
57924
57925 [BZ #15405]
57926 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57927 underflowed result.
57928 * math/s_ccoshf.c (__ccoshf): Likewise.
57929 * math/s_ccoshl.c (__ccoshl): Likewise.
57930 * math/s_csin.c (__csin): Likewise.
57931 * math/s_csinf.c (__csinf): Likewise.
57932 * math/s_csinh.c (__csinh): Likewise.
57933 * math/s_csinhf.c (__csinhf): Likewise.
57934 * math/s_csinhl.c (__csinhl): Likewise.
57935 * math/s_csinl.c (__csinl): Likewise.
57936 * math/libm-test.inc (ccos_test): Add more tests.
57937 (ccosh_test): Likewise.
57938 (csin_test): Likewise.
57939 (csinh_test): Likewise.
57940
57941 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57942
57943 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57944 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57945 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57946 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57947 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57948 powerpc/power5+/fpu folders.
57949 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57950
57951
57952 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57953
57954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57955
57956 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57957
57958 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57959 additions to variable.
57960 [$(config-machine) = x86_64] (modules-names): Likewise.
57961 ($(objpfx)tst-audit3): Remove dependency.
57962 ($(objpfx)tst-audit3.out): Likewise.
57963 ($(objpfx)tst-audit4): Likewise.
57964 ($(objpfx)tst-audit4.out): Likewise.
57965 ($(objpfx)tst-audit5): Likewise.
57966 ($(objpfx)tst-audit5.out): Likewise.
57967 ($(objpfx)tst-audit6): Likewise.
57968 ($(objpfx)tst-audit6.out): Likewise.
57969 ($(objpfx)tst-audit7): Likewise.
57970 ($(objpfx)tst-audit7.out): Likewise.
57971 (tst-audit3-ENV): Remove variable.
57972 (tst-audit4-ENV): Likewise.
57973 (tst-audit5-ENV): Likewise.
57974 (tst-audit6-ENV): Likewise.
57975 (tst-audit7-ENV): Likewise.
57976 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57977 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57978 addition to variable.
57979 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57980 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57981 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57982 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57983 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57984 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57985 tst-audit3, tst-audit4 and tst-audit5.
57986 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57987 tst-audit6 and tst-audit7.
57988 [$(subdir) = elf] (modules-names): Add audit modules for those
57989 tests.
57990 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57991 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57992 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57993 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57994 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57995 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57996 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57997 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57998 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57999 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58000 [$(subdir) = elf] (tst-audit3-ENV): New variable.
58001 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58002 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58003 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58004 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58005 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58006 Likewise.
58007 [$(subdir) = elf && $(config-cflags-avx) = yes]
58008 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58009 [$(subdir) = elf && $(config-cflags-avx) = yes]
58010 (CFLAGS-tst-auditmod4a.c): Likewise.
58011 [$(subdir) = elf && $(config-cflags-avx) = yes]
58012 (CFLAGS-tst-auditmod4b.c): Likewise.
58013 [$(subdir) = elf && $(config-cflags-avx) = yes]
58014 (CFLAGS-tst-auditmod6b.c): Likewise.
58015 [$(subdir) = elf && $(config-cflags-avx) = yes]
58016 (CFLAGS-tst-auditmod6c.c): Likewise.
58017 [$(subdir) = elf && $(config-cflags-avx) = yes]
58018 (CFLAGS-tst-auditmod7b.c): Likewise.
58019 * elf/tst-audit3.c: Move to ...
58020 * sysdeps/x86_64/tst-audit3.c: ... here.
58021 * elf/tst-audit4.c: Move to ...
58022 * sysdeps/x86_64/tst-audit4.c: ... here.
58023 * elf/tst-audit5.c: Move to ...
58024 * sysdeps/x86_64/tst-audit5.c: ... here.
58025 * elf/tst-audit6.c: Move to ...
58026 * sysdeps/x86_64/tst-audit6.c: ... here.
58027 * elf/tst-audit7.c: Move to ...
58028 * sysdeps/x86_64/tst-audit7.c: ... here.
58029 * elf/tst-auditmod3a.c: Move to ...
58030 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58031 * elf/tst-auditmod3b.c: Move to ...
58032 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58033 * elf/tst-auditmod4a.c: Move to ...
58034 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58035 * elf/tst-auditmod4b.c: Move to ...
58036 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58037 * elf/tst-auditmod5a.c: Move to ...
58038 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58039 * elf/tst-auditmod5b.c: Move to ...
58040 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58041 * elf/tst-auditmod6a.c: Move to ...
58042 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58043 * elf/tst-auditmod6b.c: Move to ...
58044 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58045 * elf/tst-auditmod6c.c: Move to ...
58046 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58047 * elf/tst-auditmod7a.c: Move to ...
58048 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58049 * elf/tst-auditmod7b.c: Move to ...
58050 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58051
58052 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
58053
58054 [BZ #15366]
58055 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58056 define unconditionally.
58057 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58058 define unconditionally.
58059 (INT8_C, INT16_C, etc.): Likewise.
58060
58061 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
58062
58063 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58064 __ehdr_start with hidden visibility.
58065
58066 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58067
58068 2013-04-24 Carlos O'Donell <carlos@redhat.com>
58069
58070 * math/libm-test.inc (cos_test): Use accurate hex constants.
58071 (sincost_test): Likewise.
58072
58073 2013-04-24 Joseph Myers <joseph@codesourcery.com>
58074
58075 * math/libm-test.inc (catan_test): Add more tests.
58076 (catanh_test): Likewise.
58077
58078 * math/s_catanf.c (__catanf): Use suffixed floating-point
58079 constants.
58080 * math/s_catanhf.c (__catanhf): Likewise.
58081 * math/s_catanhl.c (__catanhl): Likewise.
58082 * math/s_catanl.c (__catanl): Likewise.
58083
58084 [BZ #15394]
58085 * math/s_catan.c (__catan): Calculate imaginary part of result
58086 with log1p not log unless computing log of number close to 0.
58087 * math/s_catanf.c (__catanf): Likewise.
58088 * math/s_catanl.c (__catanl): Likewise.
58089 * math/s_catanh.c (__catanh): Calculate real part of result with
58090 log1p not log unless computing log of number close to 0.
58091 * math/s_catanhf.c (__catanhf): Likewise.
58092 * math/s_catanhl.c (__catanhl): Likewise.
58093 * math/libm-test.inc (catan_test): Add more tests.
58094 (catanh_test): Likewise.
58095 * sysdeps/i386/fpu/libm-test-ulps: Update.
58096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58097
58098 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58099
58100 * benchtests/Makefile: Mention files in which fast and slow
58101 paths of math functions are implemented.
58102
58103 2013-04-23 Roland McGrath <roland@hack.frob.com>
58104
58105 * sysdeps/posix/timespec_get.c: New file.
58106
58107 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58108
58109 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58110 POWER.
58111 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58112 for POWER.
58113 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58114 powerpc/power5/fpu folders.
58115 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58116 * benchtests/Makefile: Add modf testcase.
58117 * benchtests/bench-modf.c: New file: Benchmark test for mo
58118
58119 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
58120
58121 [BZ #14888]
58122 * time/Makefile (tests): Add tst-strptime-whitespace.
58123 * time/strptime_l.c (get_number): Use ISSPACE.
58124 (__strptime_internal): Likewise.
58125 * time/tst-strptime-whitespace.c: New test case.
58126
58127 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
58128
58129 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58130 member.
58131 (_nss_files_init): Set it here.
58132
58133 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
58134
58135 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58136 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58137 unsigned.
58138
58139 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
58140
58141 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58142
58143 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
58144
58145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58146 size just once.
58147
58148 2013-04-21 David S. Miller <davem@davemloft.net>
58149
58150 * po/ru.po: Update Russion translation from translation project.
58151
58152 2013-04-17 Adam Conrad <adconrad@0c3.net>
58153
58154 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58155 and setfsgid.
58156
58157 2013-04-17 Carlos O'Donell <carlos@redhat.com>
58158
58159 * configure.in: Remove i386 configure warning. Remove i386 case.
58160 * configure: Regenerate.
58161 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58162 Add example to error message.
58163 * sysdeps/i386/configure: Regenerate.
58164
58165 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58166
58167 * benchtests/Makefile (bench): Add cos, tan, slowcos and
58168 slowtan.
58169 * benchtests/cos-inputs: New file.
58170 * benchtests/slowcos-inputs: New file.
58171 * benchtests/slowcos.c: New file.
58172 * benchtests/slowtan-inputs: New file.
58173 * benchtests/slowtan.c: New file.
58174 * benchtests/tan-inputs: New file.
58175
58176 2013-04-16 Roland McGrath <roland@hack.frob.com>
58177
58178 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58179 considered kosher.
58180
58181 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58182
58183 * benchtests/Makefile: Include cppflags-iterator.mk to add
58184 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58185
58186 * Makefile.in (bench-clean): New target.
58187 * benchtests/Makefile (bench-clean): Likewise.
58188
58189 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58190
58191 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58192
58193 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58194
58195 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58196
58197 2013-04-15 Andreas Schwab <schwab@suse.de>
58198
58199 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58200 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58201 * nscd/pwdcache.c (cache_addpw): Likewise.
58202 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58203 more than recsize.
58204
58205 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58206
58207 * benchtests/Makefile (bench): Write all output to
58208 bench-out.tmp together.
58209
58210 2013-04-15 Andreas Schwab <schwab@suse.de>
58211
58212 * nscd/nscd.c (main): Don't fork again after closing files.
58213
58214 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58215
58216 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58217
58218 * benchtests/Rules (bench-deps): Collect dependencies into a
58219 single variable. Add Makefile to dependencies.
58220 ($(objpfx)bench-%.c): Depend on bench-deps.
58221
58222 2013-04-12 Roland McGrath <roland@hack.frob.com>
58223 Xavier Roche <roche+kml2@exalead.com>
58224
58225 [BZ #15361]
58226 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58227 just that it's a file descriptor.
58228 * manual/llio.texi (Synchronizing AIO Operations): Update description
58229 for EBADF error from aio_fsync.
58230
58231 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58232
58233 * Rules (bench): Move target definition...
58234 * benchtests/Makefile: ... here.
58235
58236 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58237
58238 * math/libm-test.inc (cos_test): Fix PI/2 test.
58239 (sincos_test): Likewise.
58240 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58241 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58242
58243 2013-04-11 Andreas Schwab <schwab@suse.de>
58244
58245 [BZ #13988]
58246 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58247 accept exponent character only when digits were seen.
58248 * stdio-common/Makefile (tests): Add bug26.
58249 * stdio-common/bug26.c: New file.
58250
58251 [BZ #14293]
58252 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58253 non-freeable.
58254
58255 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58256
58257 * Makeconfig (rtld-prefix): Define built linker prefix.
58258 * Rules (run-bench): Use it.
58259 * math/Makefile (run-regen-ulps): Likewise.
58260
58261 * Rules (bench): Remove eval.
58262
58263 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58264 Roland McGrath <roland@hack.frob.com>
58265 Ondrej Bilka <neleai@seznam.cz>
58266
58267 [BZ #15346]
58268 * time/getdate.c: Include ctype.h and alloca.h.
58269 (__getdate_r): Trim leading and trailing spaces of input.
58270 * time/tst-getdate.c (tests): Add tests with leading and
58271 trailing spaces.
58272
58273 2013-04-08 Roland McGrath <roland@hack.frob.com>
58274
58275 [BZ #14280]
58276 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58277 when computing value.
58278
58279 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58280
58281 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58282 Use testrun.sh to run libm tests.
58283
58284 [BZ #15309]
58285 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58286
58287 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58288
58289 [BZ #15264]
58290 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58291
58292 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58293
58294 * Makefile.in (regen-ulps): New target.
58295 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58296 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58297 [ifneq (no,$(PERL)] (regen-ulps): New target.
58298 [ifeq (no,$(PERL)] (regen-ulps): New target.
58299 * math/libm-test.inc (ulps_file_name): Define.
58300 (output_dir): New variable.
58301 (options): Add "output-dir" option.
58302 (parse_opt): Handle 'o' case.
58303 (main): If output_dir is non-NULL use it as a prefix
58304 otherwise use "".
58305 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58306
58307 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58308
58309 [BZ #10060, #10062]
58310 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58311 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58312 fail configure if __sync_val_compare_and_swap is not inlined.
58313 * sysdeps/i386/configure: Regenerate.
58314 * configure.in: Build for i686 when configured for i386.
58315 * configure: Regenerate.
58316 * README: Remove i386 reference.
58317
58318 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58319
58320 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58322
58323 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58324
58325 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58326 (lmsnanval): New variables.
58327 (F): Add conversion tests.
58328 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58329 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58330
58331 * stdio-common/tstdiomisc.c (F): Properly collect individual
58332 tests' results.
58333
58334 [BZ #14686, #15336]
58335 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58336 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58337 Instead, use input NaN values or generate a qNaN by arithmetic
58338 operation. Also fix bugs to comply with the standard.
58339 * math/libm-test.inc (remainder_test): Add more tests.
58340
58341 [BZ #15335, #15342]
58342 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58344 input NaN values or generate a qNaN by arithmetic operation.
58345
58346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58347 unreachable code.
58348
58349 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58350 definitions.
58351
58352 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58353
58354 [BZ #14478]
58355 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58356 underflowed result.
58357 * math/s_cexpf.c (__cexpf): Likewise.
58358 * math/s_cexpl.c (__cexpl): Likewise.
58359 * math/libm-test.inc (cexp_test): Add more tests.
58360
58361 2013-04-03 Andreas Schwab <schwab@suse.de>
58362
58363 [BZ #15330]
58364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58365 order arrays from heap if bigger than alloca cutoff.
58366
58367 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58368
58369 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58370 (SNAN_TESTS_double): Refer to GCC PR56831.
58371 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58372 GCC PR56828.
58373
58374 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58375
58376 * Rules (bench): Move bench.out after the run is complete.
58377
58378 * Rules (bench): Echo currently running benchmark.
58379
58380 * benchtests/Makefile (bench): Add atan and slowatan.
58381 * benchtests/atan-inputs: New file.
58382 * benchtests/slowatan-inputs: New file.
58383 * benchtests/slowatan.c: New file.
58384
58385 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58387 its value.
58388
58389 [BZ #15305]
58390 * sysdeps/unix/sysv/linux/kernel-features.h
58391 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58392 __ASSUME_XFS_RESTRICTED_CHOWN.
58393 * sysdeps/unix/sysv/linux/pathconf.c
58394 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58395 Save and restore errno.
58396
58397 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58398
58399 [BZ #15327]
58400 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58401 arguments using __kernel_casinh.
58402 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58403 arguments using __kernel_casinhf.
58404 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58405 arguments using __kernel_casinhl.
58406 * math/libm-test.inc (cacosh_test): Add more tests.
58407 * sysdeps/i386/fpu/libm-test-ulps: Update.
58408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58409
58410 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58411
58412 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58414
58415 * bench/Makefile (bench): Add sin and slowsin.
58416 * benchtests/sin-inputs: New file.
58417 * benchtests/slowsin-inputs: New file.
58418 * benchtests/slowsin.c: New file.
58419
58420 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58421 (bench): Add slowexp and slowpow.
58422 (exp-ITER): Increase iterations.
58423 (pow-ITER): Likewise.
58424 * benchtests/exp-inputs: Change input.
58425 * benchtests/pow-inputs: Likewise.
58426 * benchtests/slowexp-inputs: New file.
58427 * benchtests/slowexp.c: New file.
58428 * benchtests/slowpow-inputs: New file.
58429 * benchtests/slowpow.c: New file.
58430
58431 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58432
58433 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58434 instructions.
58435 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58436 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58437 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58438 * benchtests/Makefile: Add rint benchtest.
58439 * benchtests/rint-inputs: Input for rint benchtest.
58440
58441 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58442
58443 * Versions.def (libm): Add GLIBC_2.18.
58444 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58445 hidden libm prototypes.
58446 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58447 * math/Makefile (libm-calls): Add s_issignaling.
58448 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58449 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58450 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58451 declaration.
58452 * math/math.h [__USE_GNU] (issignaling): New macro.
58453 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58454 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58455 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58456 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58457 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58458 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58459 * manual/arith.texi (issignaling): New section.
58460 * manual/libm-err-tab.pl (@all_functions): Update comment.
58461 * math/gen-libm-test.pl (parse_args): Apply special handling for
58462 issignaling.
58463 * math/libm-test.inc (print_float, issignaling_test): New
58464 functions.
58465 (check_float_internal): Add issignaling checks.
58466 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58467 default definition.
58468 * sysdeps/powerpc/math-tests.h: New file.
58469 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58470 tests.
58471 * math/test-snan.c (TEST_FUNC): Likewise.
58472
58473 2013-03-30 David S. Miller <davem@davemloft.net>
58474
58475 * po/de.po: Update from translation team.
58476
58477 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58478
58479 [BZ #10357]
58480 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58481 imaginary part less than 1.0 and real part less than 0.5
58482 specially.
58483 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58484 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58485 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58486 (cacos_test): Add more tests.
58487 (casin_test): Likewise.
58488 (casinh_test): Likewise.
58489 * sysdeps/i386/fpu/libm-test-ulps: Update.
58490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58491
58492 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58493
58494 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58495 ONE with its value.
58496
58497 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58498 (__pow_mp): Replace ONE and MONE with their values.
58499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58501 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58502 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58503 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58504 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58505
58506 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58507
58508 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58509 (__pow_mp): Replace ZERO and MZERO with their values.
58510 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58515 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58516 (__sqr): Likewise.
58517
58518 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58519
58520 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58521
58522 2013-03-28 Roland McGrath <roland@hack.frob.com>
58523
58524 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58525 Declare with __attribute__ ((weak)).
58526 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58527 Call __call_tls_dtors only if it's not NULL.
58528
58529 2013-03-28 Roland McGrath <roland@hack.frob.com>
58530
58531 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58532 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58533 magic __ehdr_start linker symbol if it's defined.
58534 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58535 them up here if it was already done.
58536
58537 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58538 (_dl_aux_init): Use const in cast when setting it.
58539 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58540 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58541 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58542
58543 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58544 Declare them here.
58545 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58546 * csu/libc-tls.c: Nor here.
58547 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58548
58549 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58550 (__libc_message): Never call vsyslog.
58551
58552 2013-03-28 Alan Modra <amodra@gmail.com>
58553
58554 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58555 Define as empty.
58556 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58557 Likewise.
58558
58559 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58560
58561 [BZ #15214]
58562 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58563 underflow.
58564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58565
58566 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58567
58568 [BZ #15304]
58569 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58570 Don't add gid passed as argument.
58571
58572 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58573
58574 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58575
58576 [BZ #15307]
58577 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58578 imaginary part between 1.0 and 1.5 and real part less than 0.5
58579 specially.
58580 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58581 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58582 * math/libm-test.inc (cacos_test): Add more tests.
58583 (casin_test): Likewise.
58584 (casinh_test): Likewise.
58585 * sysdeps/i386/fpu/libm-test-ulps: Update.
58586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58587
58588 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58589
58590 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58591 constants.
58592 (norm): Likewise.
58593 (denorm): Likewise.
58594 (__dbl_mp): Likewise.
58595 (add_magnitudes): Likewise.
58596 (sub_magnitudes): Likewise.
58597 (__add): Likewise.
58598 (__sub): Likewise.
58599 (__mul): Likewise.
58600 (__sqr): Likewise.
58601 (__inv): Likewise.
58602 (__dvd): Likewise.
58603
58604 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58605 commented code.
58606 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58607 (__dubcos): Likewise.
58608 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58609 (__ieee754_acos): Likewise.
58610 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58611 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58612 (__exp1): Likewise.
58613 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58615 (log1): Likewise.
58616 (my_log2): Likewise.
58617 (checkint): Likewise.
58618 * sysdeps/ieee754/dbl-64/e_remainder.c
58619 (__ieee754_remainder): Likewise.
58620 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58622 (bsloww): Likewise.
58623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58624
58625 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58626 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58627 MANTISSA_STORE_T to store computations on mantissa. Use
58628 macros for rounding and division.
58629 (denorm): Likewise.
58630 (__dbl_mp): Likewise.
58631 (add_magnitudes): Likewise.
58632 (sub_magnitudes): Likewise.
58633 (__mul): Likewise.
58634 (__sqr): Likewise.
58635 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58636 powers of two in terms of TWOPOW macro.
58637 (mp_no): Make type of mantissa as MANTISSA_T.
58638 [!RADIXI]: Define RADIXI.
58639 [!TWO52]: Define TWO52.
58640 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58641
58642 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58643
58644 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58645 llroundl symbol when building for PPC32.
58646
58647 2013-03-24 Mark H Weaver <mhw@netris.org>
58648
58649 * manual/arith.texi (Normalization Functions): Fix prototypes for
58650 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58651
58652 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58653
58654 [BZ #13889]
58655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58656 high value to check if expl overflow.
58657 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58658 to check for underflow and overflow.
58659 * math/libm-test.inc: Add exp test.
58660
58661 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58662
58663 [BZ #11120]
58664 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58665 with NOT_IN_libc.
58666
58667 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58668
58669 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58670 symbol.
58671
58672 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58673
58674 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58675 wrap blocks consisting of several statements.
58676
58677 * sysdeps/generic/math-tests.h: New file.
58678 * sysdeps/i386/fpu/math-tests.h: Likewise.
58679 * math/test-snan.c: Include it.
58680 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58681
58682 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58683
58684 [BZ #15285]
58685 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58686 (__ieee754_j0l): Do not improve calculations using cos of twice
58687 input for inputs above LDBL_MAX / 2.0L.
58688 (__ieee754_y0l): Likewise.
58689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58690 (__ieee754_j1l): Do not improve calculations using cos of twice
58691 input for inputs above LDBL_MAX / 2.0L.
58692 (__ieee754_y1l): Likewise.
58693 * math/libm-test.inc (j0_test): Add another test.
58694 (j1_test): Likewise.
58695 (y0_test): Likewise.
58696 (y1_test): Likewise.
58697 * sysdeps/i386/fpu/libm-test-ulps: Update.
58698
58699 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58700
58701 * Rules ($(objpfx)bench-%.c): Include code from a C source
58702 file.
58703
58704 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58705
58706 [BZ #15287]
58707 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58708 imaginary part 1.0 and real part less than 0.5 specially.
58709 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58710 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58711 * math/libm-test.inc (cacos_test): Add more tests.
58712 (casin_test): Likewise.
58713 (casinh_test): Likewise.
58714 * sysdeps/i386/fpu/libm-test-ulps: Update.
58715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58716
58717 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58718
58719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58720 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58721
58722 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58723
58724 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58725 * config.make.in (config-cflags-sse4): Remove variable.
58726 (config-cflags-avx): Likewise.
58727 (config-cflags-sse2avx): Likewise.
58728 (config-cflags-novzeroupper): Likewise.
58729 (config-asflags-i686): Likewise.
58730 (have-mfma4): Likewise.
58731 (have-as-vis3): Likewise.
58732 (MIG): Likewise.
58733 * configure.in (MIG): Do not AC_SUBST.
58734 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58735 (libc_cv_cc_sse4): Do not AC_SUBST.
58736 (libc_cv_cc_avx): Likewise.
58737 (libc_cv_cc_sse2avx): Likewise.
58738 (libc_cv_cc_novzeroupper): Likewise.
58739 (libc_cv_cc_fma4): Likewise.
58740 (libc_cv_as_i686): Likewise.
58741 (libc_cv_sparc_as_vis3): Likewise.
58742 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58743 LIBC_CONFIG_VAR.
58744 (config-asflags-i686): Likewise.
58745 (config-cflags-avx): Likewise.
58746 (config-cflags-sse2avx): Likewise.
58747 (have-mfma4): Likewise.
58748 (config-cflags-novzeroupper): Likewise.
58749 * sysdeps/mach/configure.in (MIG): Likewise.
58750 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58751 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58752 LIBC_CONFIG_VAR.
58753 (config-cflags-avx): Likewise.
58754 (config-cflags-sse2avx): Likewise.
58755 (have-mfma4): Likewise.
58756 (config-cflags-novzeroupper): Likewise.
58757 * configure: Regenerated.
58758 * sysdeps/i386/configure: Likewise.
58759 * sysdeps/mach/configure: Likewise.
58760 * sysdeps/sparc/configure: Likewise.
58761 * sysdeps/x86_64/configure: Likewise.
58762
58763 2013-03-20 Roland McGrath <roland@hack.frob.com>
58764
58765 [BZ #14812]
58766 * locale/programs/localedef.c (options): Put N_ translation marker
58767 on argument names, not just descriptions.
58768
58769 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58770
58771 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58772
58773 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58774
58775 [BZ #14176]
58776 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58777
58778 2013-03-19 Roland McGrath <roland@hack.frob.com>
58779
58780 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58781 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58782 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58783 [!BEFORE_ABORT] (before_abort): New function.
58784 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58785 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58786 (writev_for_fatal): New function.
58787 (WRITEV_FOR_FATAL): New macro; call that.
58788 (backtrace_and_maps): New function.
58789 (BEFORE_ABORT): New macro; call that.
58790 (struct str_list): Type removed.
58791 (__libc_message, __libc_fatal): Functions removed.
58792 Include <sysdeps/posix/libc_fatal.c> instead.
58793
58794 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58795
58796 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58797 constants.
58798 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58799 double constants.
58800
58801 2013-03-19 Andreas Schwab <schwab@suse.de>
58802
58803 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58804 * sysdeps/gnu/configure: Regenerate.
58805
58806 * configure.in: Substitute libc_cv_rtlddir.
58807 * configure: Regenerate.
58808 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58809 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58810 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58811 * elf/Makefile (install-others, CFLAGS-interp.c)
58812 (ldso_install, common-ldd-rewrite): Likewise.
58813 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58814 $(inst_slibdir)/$(rtld-installed-name).
58815 * scripts/rellns-sh: Add -p option.
58816 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58817 for source.
58818
58819 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58820
58821 * manual/nptl.texi: Renamed to ...
58822 * manual/threads.texi: ... this.
58823 * manual/Makefile (chapters): Update.
58824
58825 2013-03-18 Roland McGrath <roland@hack.frob.com>
58826
58827 [BZ #14812]
58828 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58829 on argument names, not just descriptions.
58830 * malloc/memusagestat.c (options): Likewise.
58831 * nss/getent.c (options): Likewise.
58832
58833 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58834
58835 [BZ #14812]
58836 * iconv/iconv_prog.c (options): Put N_ translation marker
58837 on argument names, not just descriptions.
58838 * iconv/iconvconfig.c (options): Likewise.
58839
58840 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58841
58842 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58843 implementation which is faster on all x86_64 architectures.
58844 Tested on AMD, Intel Nehalem, SNB, IVB.
58845 * sysdeps/x86_64/strnlen.S: Likewise.
58846
58847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58848 Remove all multiarch strlen and strnlen versions.
58849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58850 Remove strlen and strnlen related parts.
58851
58852 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58853 Inline strlen part.
58854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58855
58856 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58857 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58858 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58859 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58860 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58861 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58862
58863 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58864
58865 * manual/memory.texi (Malloc Tunable Parameters):
58866 Sort parameters alphabetically. Add comments for missing entries.
58867
58868 2013-03-17 David S. Miller <davem@davemloft.net>
58869
58870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58871
58872 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58873
58874 [BZ #15283]
58875 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58876 for arguments at most half maximum finite value.
58877 * math/libm-test.inc (j0_test): Add more tests.
58878 (j1_test): Likewise.
58879 (y0_test): Likewise.
58880 (y1_test): Likewise.
58881 * sysdeps/i386/fpu/libm-test-ulps: Update.
58882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58883
58884 [BZ #14155]
58885 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58886 1 / x and functions P and Q for arguments above 0x1p256L.
58887 (__ieee754_y0l): Likewise.
58888 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58889 (__ieee754_y1l): Likewise.
58890 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58891 (j1_test): Likewise.
58892 (y0_test): Likewise.
58893 (y1_test): Likewise.
58894
58895 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58896
58897 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58898 variable.
58899
58900 2013-03-15 Roland McGrath <roland@hack.frob.com>
58901
58902 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58903 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58904 zero since it's initialized to EXEC_PAGESIZE.
58905
58906 * sysdeps/unix/sysv/linux/ldsodefs.h
58907 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58908 * sysdeps/generic/ldsodefs.h: ... here.
58909
58910 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58911
58912 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58913
58914 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58915 math/test-snan.c.
58916 * math/test-snan.c: Renamed from
58917 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58918 * math/Makefile (tests): Add test-snan.
58919 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58920 test-powerpc-snan.
58921
58922 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58923 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58924 functions.
58925 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58926 __builtin_nan family of functions.
58927 * math/libm-test.inc (initialize): Initialize qnan_value with
58928 __builtin_nan family of functions.
58929 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58930 Remove variables.
58931 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58932 Remove functions.
58933 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58934 storage class. Initialize qNaN_var and sNaN_var with
58935 __builtin_nan and __builtin_nans families of functions,
58936 respectively.
58937
58938 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58939 (sqrt_test): Remove duplicate test with qNaN input.
58940 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58941 (round_test, signbit_test, significand_test): Note missing +/-Inf
58942 as well as qNaN tests.
58943
58944 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58945 qNaN_var. Fix a few strings, too.
58946 * math/libm-test.inc (nan_value): Rename to qnan_value.
58947 * math/gen-libm-test.pl (%beautify): Adjust to that.
58948 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58949 * math/test-misc.c (main): Likewise.
58950 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58951 to __qnan_bytes, and __qnan_union, respectively.
58952 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58953 Likewise.
58954 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58955 and lqnanval, respectively.
58956 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58957 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58958 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58959 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58960
58961 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58962 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58963 doubles.
58964
58965 * math/test-misc.c (main): Fix copy'n'pastos.
58966 * misc/tst-efgcvt.c (special): Likewise.
58967
58968 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58969 Remove declarations.
58970
58971 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58972
58973 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58974 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58975 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58976 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58977
58978 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58979
58980 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58981 macro to return vdso values correctly in IFUNC implementations.
58982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58983 Optimization by using IFUNC.
58984
58985 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58986 Richard Henderson <rth@redhat.com>
58987 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58988
58989 * Makefile.in (bench): New target.
58990 * NEWS: Mention the benchmark framework.
58991 * Rules (bench): Likewise.
58992 (binaries-bench): Generate binaries for functions to
58993 benchmark.
58994 * benchtests/Makefile: New makefile for benchmark tests.
58995 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58996 programs.
58997 * benchtests/exp-inputs: New input file for EXP function.
58998 * benchtests/pow-inputs: New input file for POW function.
58999 * scripts/bench.pl: New script to generate source files for
59000 benchmark programs.
59001
59002 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59003
59004 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59005 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59006 computations on mantissa. Use macros for rounding and
59007 division.
59008 (denorm): Likewise.
59009 (__dbl_mp): Likewise.
59010 (add_magnitudes): Likewise.
59011 (sub_magnitudes): Likewise.
59012 (__mul): Likewise.
59013 (__sqr): Likewise.
59014 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59015 powers of two in terms of TWOPOW macro.
59016 (mp_no): Make type of mantissa as MANTISSA_T.
59017 [!RADIXI]: Define RADIXI.
59018 [!TWO52]: Define TWO52.
59019 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59020
59021 * manual/nptl.texi (cindex): Modify threads to pthreads.
59022
59023 2013-03-15 Joseph Myers <joseph@codesourcery.com>
59024
59025 * sysdeps/x86_64/preconfigure: Regenerated.
59026
59027 2013-03-14 Joseph Myers <joseph@codesourcery.com>
59028
59029 [BZ #14155]
59030 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59031 0x1p28 and above.
59032 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59033 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59034 0x1p28 and above.
59035 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59036 * math/libm-test.inc (j0_test): Do not allow one spurious
59037 underflow exception.
59038 (y1_test): Likewise.
59039
59040 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59041
59042 * manual/Makefile (chapters): Add nptl.
59043 * manual/debug.texi (Debugging Support): Add link to Threads
59044 chapter.
59045 * manual/nptl.texi: New file.
59046
59047 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59048
59049 2013-03-14 Petr Baudis <pasky@ucw.cz>
59050
59051 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59052 for non-NULL pointer before the memory validity test. Pointed
59053 out by Holger Brunck <holger.brunck@keymile.com>.
59054
59055 2013-03-13 Andreas Schwab <schwab@suse.de>
59056
59057 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59058 instead of .os.
59059
59060 2013-03-13 Joseph Myers <joseph@codesourcery.com>
59061
59062 * timezone/zic.c: Update from tzcode 2013b.
59063
59064 2013-03-12 Carlos O'Donell <carlos@redhat.com>
59065
59066 * manual/install.texi (Configuring and compiling):
59067 Mention i686 and i586.
59068 * INSTALL: Regenerate.
59069
59070 2013-03-12 Roland McGrath <roland@hack.frob.com>
59071
59072 * sysdeps/init_array/elf-init.c: New file.
59073 * csu/elf-init.c
59074 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59075 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59076
59077 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59078 __gmon_start__ as global, but as static with a .preinit_array pointer.
59079 * sysdeps/init_array/gmon-start.c: New file. Use that.
59080 * sysdeps/init_array/crti.S: New file, empty except for comments.
59081 * sysdeps/init_array/crtn.S: Likewise.
59082
59083 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
59084
59085 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59086 definining bcopy.
59087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59088 Remove Prefer_SSE_for_memop.
59089 * sysdeps/x86_64/multiarch/init-arch.h: Remove
59090 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59091 HAS_PREFER_SSE_FOR_MEMOP.
59092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59093 memset-x86-64.
59094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59095 Remove bzero, memset ifunc support.
59096 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59097 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59098 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59099 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59100
59101 2013-03-11 Andreas Schwab <schwab@suse.de>
59102
59103 [BZ #15234]
59104 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59105 by SHLIB_COMPAT.
59106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59107 (GLIBC_2.16): Remove pthread_atfork.
59108
59109 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
59110
59111 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59112 (ptestcases.h): Likewise.
59113
59114 2013-03-08 Roland McGrath <roland@hack.frob.com>
59115
59116 * Makeconfig ($(common-objpfx)config.status): Depend on
59117 sysdeps/*/preconfigure{,.in} too.
59118
59119 2013-03-08 Joseph Myers <joseph@codesourcery.com>
59120
59121 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59122 (__free_hook): Use void * instead of __malloc_ptr_t.
59123 (__malloc_hook): Likewise.
59124 (__realloc_hook): Likewise.
59125 (__memalign_hook): Likewise.
59126 (__after_morecore_hook): Likewise.
59127 * malloc/arena.c (save_malloc_hook): Likewise.
59128 (save_free_hook): Likewise.
59129 * malloc/hooks.c (malloc_hook_ini): Likewise.
59130 (realloc_hook_ini): Likewise.
59131 (memalign_hook_ini): Likewise.
59132 * malloc/malloc.c (malloc_hook_ini): Likewise.
59133 (realloc_hook_ini): Likewise.
59134 (memalign_hook_ini): Likewise.
59135 (__free_hook): Likewise.
59136 (__malloc_hook): Likewise.
59137 (__realloc_hook): Likewise.
59138 (__memalign_hook): Likewise.
59139 (__libc_malloc): Likewise.
59140 (__libc_free): Likewise.
59141 (__libc_realloc): Likewise.
59142 (__libc_memalign): Likewise.
59143 (__libc_valloc): Likewise.
59144 (__libc_pvalloc): Likewise.
59145 (__libc_calloc): Likewise.
59146 (__posix_memalign): Likewise.
59147 * malloc/morecore.c (__sbrk): Likewise.
59148 (__default_morecore): Likewise.
59149
59150 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59151
59152 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59153 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59154 __malloc_ptrdiff_t.
59155
59156 * malloc/malloc.h (__malloc_size_t): Remove macro.
59157 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59158 __malloc_size_t.
59159 (old_memalign_hook): Likewise.
59160 (old_realloc_hook): Likewise.
59161 (struct hdr): Likewise.
59162 (flood): Likewise.
59163 (mallochook): Likewise.
59164 (memalignhook): Likewise.
59165 (reallochook): Likewise.
59166 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59167 (tr_old_realloc_hook): Likewise.
59168 (tr_old_memalign_hook): Likewise.
59169 (tr_mallochook): Likewise.
59170 (tr_reallochook): Likewise.
59171 (tr_memalignhook): Likewise.
59172
59173 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59174
59175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59176 default_ldbl_pack and using as default implementation.
59177 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59178 implementation.
59179 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59180 redundant definition.
59181 (ldbl_insert_mantissa): Likewise.
59182 (ldbl_canonicalize): Likewise.
59183 (ldbl_nearbyint): Likewise.
59184 (ldbl_pack): Rename to ldbl_pack_ppc.
59185 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59186 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59187 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59188
59189 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59190
59191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59192 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59193 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59194 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59196 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59197 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59198 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59199
59200 2013-03-07 Andreas Jaeger <aj@suse.de>
59201
59202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59203 bits/mman-linux.h.
59204
59205 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59206
59207 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59208 Include mpa.h and declare __MPEXP.
59209 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59210 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59211 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59212 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59214 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59215 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59216
59217 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59218 (__slowpow): Use long double EXPL and LOGL functions to
59219 compute POW.
59220 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59221 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59222 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59223 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59224 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59225 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59226
59227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59228 intermediate variable to calculate exponent.
59229 (__sqr): Likewise.
59230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59231 Likewise.
59232 (__sqr): Likewise.
59233
59234 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59235 [!NO__SQR]: Define __sqr.
59236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59237 and NO__SQR. Remove all code except __mul and __sqr. Include
59238 sysdeps/ieee754/dbl-64/mpa.c.
59239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59240
59241 [BZ #12723]
59242 * posix/Makefile (tests): Add tst-pathconf.
59243 * posix/tst-pathconf.c: New test case.
59244 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59245 _PC_PIPE_BUF.
59246 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59247
59248 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59249
59250 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59251
59252 2013-03-06 Andreas Jaeger <aj@suse.de>
59253
59254 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59255 definition via __MAP_ANONYMOUS.
59256
59257 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59258 it's not part of Linux headers.
59259
59260 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59261 (MAP_HUGE_MASK): Define.
59262
59263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59264 Define.
59265 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59267 Define.
59268 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59269 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59270 Define.
59271 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59272 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59273 Define.
59274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59275
59276 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59277 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59278 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59279 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59280 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59281 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59282
59283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59284 Handle f2fs.
59285
59286 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59287 Handle f2fs and efivarfs.
59288
59289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59290 f2fs.
59291
59292 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59293 (EFIVARFS_MAGIC): Add.
59294 (F2FS_LINK_MAX): Add.
59295
59296 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59297
59298 * stdio-common/vfprintf.c: Replace __builtin_expect with
59299 __glibc_unlikely.
59300
59301 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59302
59303 [BZ #13550]
59304 * sysdeps/generic/bp-sym.h: Remove file.
59305 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59307 <bp-sym.h> and <bp-asm.h>.
59308 (__longjmp): Don't use BP_SYM.
59309 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59310 and <bp-asm.h>.
59311 (memcpy): Don't use BP_SYM.
59312 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59313 <bp-sym.h> and <bp-asm.h>.
59314 (memcpy): Don't use BP_SYM.
59315 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59316 <bp-asm.h>.
59317 (memcpy): Don't use BP_SYM.
59318 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59319 <bp-asm.h>.
59320 (memset): Don't use BP_SYM.
59321 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59322 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59323 (__bzero): Don't use BP_SYM.
59324 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59325 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59326 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59327 <bp-sym.h> and <bp-asm.h>.
59328 (memcmp): Don't use BP_SYM. Remove comment about bounded
59329 pointers.
59330 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59331 <bp-sym.h> and <bp-asm.h>.
59332 (memcpy): Don't use BP_SYM.
59333 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59334 <bp-sym.h> and <bp-asm.h>.
59335 (memset): Don't use BP_SYM.
59336 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59337 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59338 (__bzero): Don't use BP_SYM.
59339 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59340 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59341 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59342 <bp-sym.h> and <bp-asm.h>.
59343 (strncmp): Don't use BP_SYM. Remove comment about bounded
59344 pointers.
59345 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59346 <bp-sym.h> and <bp-asm.h>.
59347 (memcpy): Don't use BP_SYM.
59348 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59349 <bp-sym.h> and <bp-asm.h>.
59350 (memset): Don't use BP_SYM.
59351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59353 (__bzero): Don't use BP_SYM.
59354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59356 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59357 <bp-sym.h> and <bp-asm.h>.
59358 (__memchr): Don't use BP_SYM.
59359 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59360 <bp-sym.h> and <bp-asm.h>.
59361 (memcmp): Don't use BP_SYM. Remove comment about bounded
59362 pointers.
59363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59364 <bp-sym.h> and <bp-asm.h>.
59365 (memcpy): Don't use BP_SYM.
59366 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59367 <bp-sym.h> and <bp-asm.h>.
59368 (__mempcpy): Don't use BP_SYM.
59369 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59370 <bp-sym.h> and <bp-asm.h>.
59371 (__memrchr): Don't use BP_SYM.
59372 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59373 <bp-sym.h> and <bp-asm.h>.
59374 (memset): Don't use BP_SYM.
59375 (__bzero): Likewise.
59376 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59377 <bp-sym.h> and <bp-asm.h>.
59378 (__rawmemchr): Don't use BP_SYM.
59379 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59380 <bp-sym.h> and <bp-asm.h>.
59381 (__STRCMP): Don't use BP_SYM.
59382 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59383 <bp-sym.h> and <bp-asm.h>.
59384 (strchr): Don't use BP_SYM.
59385 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59386 <bp-sym.h> and <bp-asm.h>.
59387 (__strchrnul): Don't use BP_SYM.
59388 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59389 <bp-sym.h> and <bp-asm.h>.
59390 (strlen): Don't use BP_SYM.
59391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59392 <bp-sym.h> and <bp-asm.h>.
59393 (strncmp): Don't use BP_SYM. Remove comment about bounded
59394 pointers.
59395 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59396 <bp-sym.h> and <bp-asm.h>.
59397 (__strnlen): Don't use BP_SYM.
59398 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59399 <bp-sym.h> and <bp-asm.h>.
59400 (__GI__setjmp): Don't use BP_SYM.
59401 (_setjmp): Likewise.
59402 (__sigsetjmp): Likewise.
59403 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59404 (L(start_addresses)): Don't use BP_SYM.
59405 (_start): Likewise.
59406 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59407 <bp-asm.h>.
59408 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59409 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59410 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59411 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59412 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59413 <bp-asm.h>.
59414 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59415 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59416 about bounded pointers.
59417 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59418 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59419 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59420 <bp-asm.h>.
59421 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59422 about bounded pointers. Remove GKM FIXME comments.
59423 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59424 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59425 <bp-asm.h>.
59426 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59427 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59428 Remove GKM FIXME comments.
59429 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59430 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59431 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59432 <bp-asm.h>.
59433 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59434 about bounded pointers. Remove GKM FIXME comment.
59435 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59436 and <bp-asm.h>.
59437 (strncmp): Don't use BP_SYM. Remove comment about bounded
59438 pointers.
59439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59440 <bp-sym.h> and <bp-asm.h>.
59441 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59443 <bp-sym.h> and <bp-asm.h>.
59444 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59445 comment.
59446
59447 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59448
59449 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59450 call free(NULL).
59451
59452 2013-03-05 David S. Miller <davem@davemloft.net>
59453
59454 * po/es.po: Update from translation team.
59455
59456 2013-03-05 Andreas Jaeger <aj@suse.de>
59457
59458 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59459 <bits/mman-linux.h>.
59460 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59461 is fine.
59462 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59463 <bits/mman-linux.h> to end of file.
59464 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59465 is fine.
59466 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59467 <bits/mman-linux.h> to end of file.
59468 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59469 is fine.
59470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59471 <bits/mman-linux.h> to end of file.
59472
59473 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59474 (MCL_CURRENT, MCL_FUTURE): Define here.
59475
59476 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59477
59478 [BZ #15232]
59479 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59480 attribute_hidden.
59481 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59482
59483 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59484
59485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59486 fourth parameter needed for rt_sigprocmask syscall.
59487 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59488 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59489 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59490 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59491 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59492 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59493
59494 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59495
59496 [BZ #13550]
59497 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59498 comment about bounded pointers.
59499 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59500 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59501
59502 2013-03-04 Andreas Jaeger <aj@suse.de>
59503
59504 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59505 common definitions.
59506
59507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59508 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59509 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59510 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59512 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59513
59514 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59515
59516 [BZ #15055]
59517 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59518 __ieee754_sqrl instead of __sqrl.
59519
59520 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59521
59522 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59523 * sysdeps/powerpc/fpu_control.h: ... here.
59524 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59525 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59526 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59527 * sysdeps/powerpc/bits/mathinline.h: ... here.
59528
59529 2013-03-01 Roland McGrath <roland@hack.frob.com>
59530
59531 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59532 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59533 to just [NEED_DL_SYSINFO_DSO].
59534 * elf/dl-support.c: Likewise.
59535 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59536 * elf/rtld.c (dl_main): Likewise.
59537 * elf/setup-vdso.h (setup_vdso): Likewise.
59538 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59539 * sysdeps/unix/sysv/linux/dl-sysdep.c
59540 (_dl_discover_osversion): Likewise.
59541
59542 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59543
59544 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59545 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59546
59547 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59548
59549 * NEWS: Mention libm performance improvements and non-x86 PI
59550 futex support.
59551
59552 * csu/libc-start.c (__pthread_initialize_minimal): Change
59553 function arguments.
59554 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59555
59556 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59557
59558 [BZ #13550]
59559 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59560 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59561 <bp-sym.h> and <bp-asm.h>.
59562 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59563 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59564 and <bp-asm.h>.
59565 (memcpy): Don't use BP_SYM.
59566 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59567 <bp-asm.h>.
59568 (__mpn_add_n): Don't use BP_SYM.
59569 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59570 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59571 and <bp-asm.h>.
59572 (__mpn_addmul_1): Don't use BP_SYM.
59573 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59574 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59575 <bp-sym.h>.
59576 (_setjmp): Don't use BP_SYM.
59577 (__novmx_setjmp): Likewise.
59578 (__GI__setjmp): Likewise.
59579 (__vmx_setjmp): Likewise.
59580 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59581 <bp-sym.h>.
59582 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59583 (__bzero): Don't use BP_SYM.
59584 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59585 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59586 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59587 <bp-sym.h> and <bp-asm.h>.
59588 (memcpy): Don't use BP_SYM.
59589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59590 <bp-sym.h> and <bp-asm.h>.
59591 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59593 <bp-sym.h> and <bp-asm.h>.
59594 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59595 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59596 <bp-asm.h>.
59597 (__mpn_lshift): Don't use BP_SYM.
59598 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59599 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59600 <bp-asm.h>.
59601 (memset): Don't use BP_SYM.
59602 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59603 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59604 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59605 <bp-asm.h>.
59606 (__mpn_mul_1): Don't use BP_SYM.
59607 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59608 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59609 <bp-sym.h> and <bp-asm.h>.
59610 (memcmp): Don't use BP_SYM.
59611 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59612 <bp-sym.h> and <bp-asm.h>.
59613 (memcpy): Don't use BP_SYM.
59614 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59615 <bp-sym.h> and <bp-asm.h>.
59616 (memset): Don't use BP_SYM.
59617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59618 <bp-sym.h> and <bp-asm.h>.
59619 (strncmp): Don't use BP_SYM.
59620 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59621 <bp-sym.h> and <bp-asm.h>.
59622 (memcpy): Don't use BP_SYM.
59623 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59624 <bp-sym.h> and <bp-asm.h>.
59625 (memset): Don't use BP_SYM.
59626 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59627 <bp-sym.h> and <bp-asm.h>.
59628 (__memchr): Don't use BP_SYM.
59629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59630 <bp-sym.h> and <bp-asm.h>.
59631 (memcmp): Don't use BP_SYM.
59632 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59633 <bp-sym.h> and <bp-asm.h>.
59634 (memcpy): Don't use BP_SYM.
59635 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59636 <bp-sym.h> and <bp-asm.h>.
59637 (__mempcpy): Don't use BP_SYM.
59638 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59639 <bp-sym.h> and <bp-asm.h>.
59640 (__memrchr): Don't use BP_SYM.
59641 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59642 <bp-sym.h> and <bp-asm.h>.
59643 (memset): Don't use BP_SYM.
59644 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59645 <bp-sym.h> and <bp-asm.h>.
59646 (__rawmemchr): Don't use BP_SYM.
59647 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59648 <bp-sym.h> and <bp-asm.h>.
59649 (__STRCMP): Don't use BP_SYM.
59650 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59651 <bp-sym.h> and <bp-asm.h>.
59652 (strchr): Don't use BP_SYM.
59653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59654 <bp-sym.h> and <bp-asm.h>.
59655 (__strchrnul): Don't use BP_SYM.
59656 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59657 <bp-sym.h> and <bp-asm.h>.
59658 (strlen): Don't use BP_SYM.
59659 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59660 <bp-sym.h> and <bp-asm.h>.
59661 (strncmp): Don't use BP_SYM.
59662 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59663 <bp-sym.h> and <bp-asm.h>.
59664 (__strnlen): Don't use BP_SYM.
59665 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59666 <bp-asm.h>.
59667 (__mpn_rshift): Don't use BP_SYM.
59668 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59669 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59670 <bp-sym.h> and <bp-asm.h>.
59671 (__sigsetjmp): Don't use BP_SYM.
59672 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59673 (L(start_addresses)): Don't use BP_SYM.
59674 (_start): Likewise.
59675 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59676 <bp-asm.h>.
59677 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59678 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59679 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59680 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59681 <bp-asm.h>.
59682 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59683 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59684 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59685 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59686 <bp-asm.h>.
59687 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59688 comments.
59689 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59690 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59691 <bp-asm.h>.
59692 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59693 FIXME comments.
59694 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59695 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59696 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59697 <bp-asm.h>.
59698 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59699 comment.
59700 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59701 and <bp-asm.h>.
59702 (strncmp): Don't use BP_SYM,
59703 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59704 <bp-asm.h>.
59705 (__mpn_sub_n): Don't use BP_SYM.
59706 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59707 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59708 and <bp-asm.h>.
59709 (__mpn_submul_1): Don't use BP_SYM.
59710 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59712 <bp-sym.h> and <bp-asm.h>.
59713 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59715 <bp-sym.h> and <bp-asm.h>.
59716 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59717 comment.
59718
59719 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59720
59721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59722 Use ZK to minimize writes to Z.
59723 (sub_magnitudes): Simplify code a bit.
59724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59725 Use ZK to minimize writes to Z.
59726 (sub_magnitudes): Simplify code a bit.
59727
59728 2013-02-27 Roland McGrath <roland@hack.frob.com>
59729
59730 * csu/gmon-start.c: Add special exception to license text.
59731
59732 2013-02-27 Richard Henderson <rth@redhat.com>
59733
59734 * scripts/config.guess: Update from config.git.
59735 * scripts/config.sub: Likewise.
59736
59737 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59738
59739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59740
59741 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59742
59743 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59744
59745 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59746
59747 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59748
59749 2013-02-26 Roland McGrath <roland@hack.frob.com>
59750
59751 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59752 [$(build-shared = yes].
59753
59754 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59755
59756 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59757 (__mul): Reduce iterations for calculating mantissa.
59758
59759 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59760 MPTWO.
59761 (__mpranred): Likewise.
59762
59763 [BZ #15160]
59764 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59765 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59766
59767 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59768
59769 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59770 Define __attribute__.
59771
59772 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59773
59774 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59775 unused.
59776 * posix/regex_internal.h (__attribute): Remove.
59777 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59778 (re_string_context_at): Likewise.
59779 (bitset_not): Use __attribute__ and mark function as possibly
59780 unused.
59781 (bitset_merge): Likewise.
59782 (bitset_mask): Likewise.
59783 (re_string_char_size_at): Likewise.
59784 (re_string_wchar_at): Likewise.
59785 (re_string_elem_size_at): Likewise.
59786
59787 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59788
59789 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59790 code.
59791 (cc32): Likewise.
59792
59793 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59794 (__acr): Likewise.
59795 (__cpy): Likewise.
59796 (norm): Likewise.
59797 (denorm): Likewise.
59798 (__dbl_mp): Likewise.
59799 (add_magnitudes): Likewise.
59800 (sub_magnitudes): Likewise.
59801 (__mul): Likewise.
59802 (__inv): Likewise.
59803
59804 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59805 style.
59806
59807 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59808 style.
59809
59810 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59811 code.
59812
59813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59814 up changes with default code.
59815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59816 Likewise.
59817
59818 2013-02-24 Allan McRae <allan@archlinux.org>
59819
59820 * manual/socket.texi (The Internet Namespace): Order menu items
59821 to match that in the file.
59822
59823 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59824 node listing of the info page menu.
59825
59826 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59827
59828 [BZ #13550]
59829 * sysdeps/i386/bp-asm.h: Remove file.
59830 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59831 (PARMS): Do not use macros from bp-asm.h.
59832 (S1): Likewise.
59833 (S2): Likewise.
59834 (SIZE): Likewise.
59835 (__mpn_add_n): Do not use BP_SYM
59836 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59837 "bp-asm.h".
59838 (PARMS): Do not use macros from bp-asm.h.
59839 (S1): Likewise.
59840 (SIZE): Likewise.
59841 (__mpn_addmul_1): Do not use BP_SYM
59842 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59843 "bp-asm.h".
59844 (PARMS): Do not use macros from bp-asm.h.
59845 (SIGMSK): Likewise.
59846 (_setjmp): Likewise. Do not use BP_SYM.
59847 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59848 "bp-asm.h".
59849 (PARMS): Do not use macros from bp-asm.h.
59850 (SIGMSK): Likewise.
59851 (setjmp): Likewise. Do not use BP_SYM.
59852 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59853 "bp-asm.h".
59854 (PARMS): Do not use macros from bp-asm.h.
59855 (__frexp): Do not use BP_SYM.
59856 (frexp): Likewise.
59857 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59858 "bp-asm.h".
59859 (PARMS): Do not use macros from bp-asm.h.
59860 (__frexpf): Do not use BP_SYM.
59861 (frexpf): Likewise.
59862 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59863 "bp-asm.h".
59864 (PARMS): Do not use macros from bp-asm.h.
59865 (__frexpl): Do not use BP_SYM.
59866 (frexpl): Likewise.
59867 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59868 "bp-asm.h".
59869 (PARMS): Do not use macros from bp-asm.h.
59870 (__remquo): Do not use BP_SYM.
59871 (remquo): Likewise.
59872 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59873 "bp-asm.h".
59874 (PARMS): Do not use macros from bp-asm.h.
59875 (__remquof): Do not use BP_SYM.
59876 (remquof): Likewise.
59877 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59878 "bp-asm.h".
59879 (PARMS): Do not use macros from bp-asm.h.
59880 (__remquol): Do not use BP_SYM.
59881 (remquol): Likewise.
59882 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59883 "bp-asm.h".
59884 (PARMS): Do not use macros from bp-asm.h.
59885 (DEST): Likewise.
59886 (SRC): Likewise.
59887 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59888 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59889 "bp-asm.h".
59890 (PARMS): Do not use macros from bp-asm.h.
59891 (strlen): Do not use BP_SYM.
59892 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59893 "bp-asm.h".
59894 (PARMS): Do not use macros from bp-asm.h.
59895 (S1): Likewise.
59896 (S2): Likewise.
59897 (SIZE): Likewise.
59898 (__mpn_add_n): Do not use BP_SYM.
59899 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59900 "bp-asm.h".
59901 (PARMS): Do not use macros from bp-asm.h.
59902 (S1): Likewise.
59903 (SIZE): Likewise.
59904 (__mpn_addmul_1): Do not use BP_SYM.
59905 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59906 weak_alias.
59907 (bzero): Likewise.
59908 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59909 "bp-asm.h".
59910 (PARMS): Do not use macros from bp-asm.h.
59911 (S): Likewise.
59912 (SIZE): Likewise.
59913 (__mpn_lshift): Do not use BP_SYM.
59914 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59915 "bp-asm.h".
59916 (PARMS): Do not use macros from bp-asm.h.
59917 (DEST): Likewise.
59918 (SRC): Likewise.
59919 (LEN): Likewise.
59920 (memcpy): Likewise. Do not use BP_SYM.
59921 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59922 libc_hidden_def and weak_alias.
59923 (mempcpy): Do not use BP_SYM in weak_alias.
59924 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59925 "bp-asm.h".
59926 (PARMS): Do not use macros from bp-asm.h.
59927 (DEST): Likewise.
59928 (LEN): Likewise.
59929 [!BZERO_P] (CHR): Likewise.
59930 (memset): Likewise. Do not use BP_SYM.
59931 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59932 "bp-asm.h".
59933 (PARMS): Do not use macros from bp-asm.h.
59934 (S1): Likewise.
59935 (SIZE): Likewise.
59936 (__mpn_mul_1): Do not use BP_SYM.
59937 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59938 "bp-asm.h".
59939 (PARMS): Do not use macros from bp-asm.h.
59940 (S): Likewise.
59941 (SIZE): Likewise.
59942 (__mpn_rshift): Do not use BP_SYM.
59943 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59944 "bp-asm.h".
59945 (PARMS): Do not use macros from bp-asm.h.
59946 (STR): Likewise.
59947 (CHR): Likewise.
59948 (strchr): Likewise. Do not use BP_SYM.
59949 (index): Do not use BP_SYM in weak_alias.
59950 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59951 "bp-asm.h".
59952 (PARMS): Do not use macros from bp-asm.h.
59953 (DEST): Likewise.
59954 (SRC): Likewise.
59955 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59956 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59957 "bp-asm.h".
59958 (PARMS): Do not use macros from bp-asm.h.
59959 (strlen): Do not use BP_SYM.
59960 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59961 "bp-asm.h".
59962 (PARMS): Do not use macros from bp-asm.h.
59963 (S1): Likewise.
59964 (S2): Likewise.
59965 (SIZE): Likewise.
59966 (__mpn_sub_n): Do not use BP_SYM.
59967 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59968 "bp-asm.h".
59969 (PARMS): Do not use macros from bp-asm.h.
59970 (S1): Likewise.
59971 (SIZE): Likewise.
59972 (__mpn_submul_1): Do not use BP_SYM.
59973 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59974 "bp-asm.h".
59975 (PARMS): Do not use macros from bp-asm.h.
59976 (S1): Likewise.
59977 (S2): Likewise.
59978 (SIZE): Likewise.
59979 (__mpn_add_n): Do not use BP_SYM.
59980 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59981 weak_alias.
59982 (bzero): Likewise.
59983 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59984 "bp-asm.h".
59985 (PARMS): Do not use macros from bp-asm.h.
59986 (BLK2): Likewise.
59987 (LEN): Likewise.
59988 (memcmp): Do not use BP_SYM.
59989 (bcmp): Do not use BP_SYM in weak_alias.
59990 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59991 "bp-asm.h".
59992 (PARMS): Do not use macros from bp-asm.h.
59993 (DEST): Likewise.
59994 (SRC): Likewise.
59995 (LEN): Likewise.
59996 (memcpy): Likewise. Do not use BP_SYM.
59997 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59998 "bp-asm.h".
59999 (PARMS): Do not use macros from bp-asm.h.
60000 (DEST): Likewise.
60001 (SRC): Likewise.
60002 (LEN): Likewise.
60003 (memmove): Likewise. Do not use BP_SYM.
60004 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60005 "bp-asm.h".
60006 (PARMS): Do not use macros from bp-asm.h.
60007 (DEST): Likewise.
60008 (SRC): Likewise.
60009 (LEN): Likewise.
60010 (__mempcpy): Likewise. Do not use BP_SYM.
60011 (mempcpy): Do not use BP_SYM in weak_alias.
60012 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60013 "bp-asm.h".
60014 (PARMS): Do not use macros from bp-asm.h.
60015 (DEST): Likewise.
60016 (LEN): Likewise.
60017 [!BZERO_P] (CHR): Likewise.
60018 (memset): Likewise. Do not use BP_SYM.
60019 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60020 "bp-asm.h".
60021 (PARMS): Do not use macros from bp-asm.h.
60022 (STR2): Likewise.
60023 (strcmp): Do not use BP_SYM.
60024 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60025 "bp-asm.h".
60026 (PARMS): Do not use macros from bp-asm.h.
60027 (STR): Likewise.
60028 (DELIM): Likewise.
60029 [USE_AS_STRTOK_R] (SAVE): Likewise.
60030 (FUNCTION): Likewise. Do not use BP_SYM.
60031 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60032 aliases.
60033 (strtok_r): Likewise.
60034 (__GI___strtok_r): Likewise.
60035 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60036 (PARMS): Do not use macros from bp-asm.h.
60037 (S): Likewise.
60038 (SIZE): Likewise.
60039 (__mpn_lshift): Do not use BP_SYM.
60040 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60041 (PARMS): Do not use macros from bp-asm.h.
60042 (STR): Likewise.
60043 (CHR): Likewise.
60044 (__memchr): Do not use BP_SYM.
60045 (memchr): Do not use BP_SYM in weak_alias.
60046 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60047 (PARMS): Do not use macros from bp-asm.h.
60048 (BLK2): Likewise.
60049 (LEN): Likewise.
60050 (memcmp): Do not use BP_SYM.
60051 (bcmp): Do not use BP_SYM in weak_alias.
60052 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60053 (PARMS): Do not use macros from bp-asm.h.
60054 (S1): Likewise.
60055 (SIZE): Likewise.
60056 (__mpn_mul_1): Do not use BP_SYM.
60057 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60058 "bp-asm.h".
60059 (PARMS): Do not use macros from bp-asm.h.
60060 (STR): Likewise.
60061 (CHR): Likewise.
60062 (__rawmemchr): Do not use BP_SYM.
60063 (rawmemchr): Do not use BP_SYM in weak_alias.
60064 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60065 (PARMS): Do not use macros from bp-asm.h.
60066 (S): Likewise.
60067 (SIZE): Likewise.
60068 (__mpn_rshift): Do not use BP_SYM.
60069 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60070 (PARMS): Do not use macros from bp-asm.h.
60071 (SIGMSK): Likewise.
60072 (__sigsetjmp): Likewise. Do not use BP_SYM.
60073 * sysdeps/i386/start.S: Do not include "bp-sym.h".
60074 (_start): Do not use BP_SYM.
60075 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60076 (PARMS): Do not use macros from bp-asm.h.
60077 (DEST): Likewise.
60078 (SRC): Likewise.
60079 (__stpcpy): Likewise. Do not use BP_SYM.
60080 (stpcpy): Do not use BP_SYM in weak_alias.
60081 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60082 "bp-asm.h".
60083 (PARMS): Do not use macros from bp-asm.h.
60084 (DEST): Likewise.
60085 (SRC): Likewise.
60086 (LEN): Likewise.
60087 (__stpncpy): Likewise. Do not use BP_SYM.
60088 (stpncpy): Do not use BP_SYM in weak_alias.
60089 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60090 (PARMS): Do not use macros from bp-asm.h.
60091 (STR): Likewise.
60092 (CHR): Likewise.
60093 (strchr): Likewise. Do not use BP_SYM.
60094 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60095 "bp-asm.h".
60096 (PARMS): Do not use macros from bp-asm.h.
60097 (STR): Likewise.
60098 (CHR): Likewise.
60099 (__strchrnul): Likewise. Do not use BP_SYM.
60100 (strchrnul): Do not use BP_SYM in weak_alias.
60101 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60102 "bp-asm.h".
60103 (PARMS): Do not use macros from bp-asm.h.
60104 (STOP): Likewise.
60105 (strcspn): Do not use BP_SYM.
60106 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60107 "bp-asm.h".
60108 (PARMS): Do not use macros from bp-asm.h.
60109 (STR): Likewise.
60110 (STOP): Likewise.
60111 (strpbrk): Likewise. Do not use BP_SYM.
60112 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60113 "bp-asm.h".
60114 (PARMS): Do not use macros from bp-asm.h.
60115 (STR): Likewise.
60116 (CHR): Likewise.
60117 (strrchr): Likewise. Do not use BP_SYM.
60118 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60119 (PARMS): Do not use macros from bp-asm.h.
60120 (SKIP): Likewise.
60121 (strspn): Do not use BP_SYM.
60122 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60123 (PARMS): Do not use macros from bp-asm.h.
60124 (STR): Likewise.
60125 (DELIM): Likewise.
60126 (SAVE): Likewise.
60127 (FUNCTION): Likewise. Do not use BP_SYM.
60128 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60129 aliases.
60130 (strtok_r): Likewise.
60131 (__GI___strtok_r): Likewise.
60132 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60133 (PARMS): Do not use macros from bp-asm.h.
60134 (S1): Likewise.
60135 (S2): Likewise.
60136 (SIZE): Likewise.
60137 (__mpn_sub_n): Do not use BP_SYM.
60138 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60139 "bp-asm.h".
60140 (PARMS): Do not use macros from bp-asm.h.
60141 (S1): Likewise.
60142 (SIZE): Likewise.
60143 (__mpn_submul_1): Do not use BP_SYM.
60144 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60145 <bp-sym.h>.
60146 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60147 and <bp-asm.h>.
60148 (PARMS): Do not use macros from bp-asm.h.
60149 (FLAGS): Likewise.
60150 (PTID): Likewise.
60151 (TLS): Likewise.
60152 (CTID): Likewise.
60153 (__clone): Do not use BP_SYM.
60154 (clone): Do not use BP_SYM in weak_alias.
60155 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60156 and <bp-asm.h>.
60157 (PARMS): Do not use macros from bp-asm.h.
60158 (LEN): Likewise.
60159 (__mmap64): Do not use BP_SYM.
60160 (mmap64): Do not use BP_SYM in weak_alias.
60161 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60162 <bp-sym.h> and <bp-asm.h>.
60163 (PARMS): Do not use macros from bp-asm.h.
60164 (__posix_fadvise64_l64): Do not use BP_SYM.
60165 * sysdeps/unix/sysv/linux/i386/semtimedop.S
60166 (PARMS): Do not use macros from bp-asm.h.
60167 (NSOPS): Likewise.
60168 (semtimedop): Do not use BP_SYM.
60169 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60170 and <bp-asm.h>.
60171
60172 2013-02-21 Allan McRae <allan@archlinux.org>
60173
60174 * manual/message.texi (Charset conversion in gettext):
60175 Move @end statement to beginning of line.
60176
60177 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60178
60179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60180 static.
60181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60182 Likewise.
60183
60184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60185 (denorm): Likewise.
60186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60188
60189 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60190
60191 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60192 tail-call to the resolved function if pltexit isn't needed.
60193
60194 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60195
60196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60197 or Y being zero as being unlikely.
60198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60199 Likewise.
60200
60201 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60202
60203 * manual/nss.texi (System Databases and Name Service Switch):
60204 Remove frobnicate @pxref.
60205
60206 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60207
60208 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60209 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60210
60211 2013-02-20 Petr Machata <pmachata@redhat.com>
60212
60213 * elf/elf.h (R_ARM_TARGET1): New macro.
60214 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60215 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60216 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60217 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60218 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60219 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60220 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60221 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60222 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60223 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60224 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60225 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60226 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60227 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60228 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60229 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60230 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60231 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60232 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60233 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60234 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60235 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60236 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60237 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60238 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60239 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60240 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60241 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60242 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60243 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60244 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60245 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60246 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60247 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60248 (R_ARM_THM_GOT_BREL12): Likewise.
60249 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60250 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60251 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60252 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60253 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60254 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60255 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60256 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60257 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60258
60259 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60260
60261 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60262 __attribute_used__ to __attribute__ ((unused)).
60263
60264 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60265
60266 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60267 powerpc mpa.c.
60268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60269 comment formatting.
60270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60271
60272 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60273
60274 [BZ #13550]
60275 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60276 Remove macro.
60277 (ENTER): Remove both macro definitions.
60278 (LEAVE): Likewise.
60279 (CHECK_BOUNDS_LOW): Likewise.
60280 (CHECK_BOUNDS_HIGH): Likewise.
60281 (CHECK_BOUNDS_BOTH): Likewise.
60282 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60283 (RETURN_BOUNDED_POINTER): Likewise.
60284 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60285 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60286 (POP_ERRNO_LOCATION_RETURN): Likewise.
60287 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60288 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60289 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60290 macros.
60291 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60292 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60293 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60294 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60295 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60296 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60297 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60298 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60299 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60300 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60301 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60302 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60303 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60304 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60305 removed macros.
60306 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60307 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60308 macros.
60309 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60310 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60311 * sysdeps/i386/i586/memset.S (memset): Likewise.
60312 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60313 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60314 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60315 macros.
60316 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60317 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60318 Change uses of L(2) to L(out).
60319 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60320 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60321 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60322 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60323 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60324 removed macros.
60325 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60326 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60327 macros.
60328 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60329 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60330 (RETURN): Do not use macro LEAVE.
60331 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60332 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60333 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60334 * sysdeps/i386/i686/memset.S (memset): Likewise.
60335 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60336 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60337 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60338 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60339 Likewise.
60340 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60341 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60342 L(1_2) and L(1_3) into L(1).
60343 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60344 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60345 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60346 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60347 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60348 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60349 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60350 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60351 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60352 macros.
60353 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60354 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60355 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60356 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60357 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60358 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60359 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60360 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60361 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60362 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60363 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60364 * sysdeps/i386/strspn.S (strspn): Likewise.
60365 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60366 conditional code.
60367 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60368 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60369 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60370 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60371 L(1_3) into L(1_1).
60372 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60373 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60374 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60375 macros.
60376 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60377
60378 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60379
60380 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60381 macro.
60382
60383 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60384
60385 * math/atest-exp.c (exp_mpn): Remove ROUND.
60386 * math/atest-exp2.c (exp_mpn): Likewise.
60387 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60388
60389 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60390 * stdlib/tst-tls-atexit-lib.c: Likewise.
60391 * stdlib/tst-tls-atexit.c: Likewise.
60392
60393 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60394
60395 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60396 and __attribute_alloc_size__.
60397
60398 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60399
60400 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60401 __attribute_alloc_size__.
60402 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60403 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60404
60405 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60406
60407 * include/programs/xmalloc.h: New file.
60408 * catgets/gencat.c: Include it.
60409 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60410 * elf/pldd.c: Likewise.
60411 * iconv/iconv_charmap.c: Likewise.
60412 * iconv/iconvconfig.c: Likewise.
60413 * iconv/strtab.c: Likewise.
60414 * locale/programs/locale.c: Likewise.
60415 * locale/programs/localedef.h: Likewise.
60416 * locale/programs/simple-hash.c: Likewise.
60417 * nscd/nscd.h: Likewise.
60418 * nss/makedb.c: Likewise.
60419 * sysdeps/generic/ldconfig.h: Likewise.
60420
60421 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60422
60423 * Versions.def: Add GLIBC_2.18.
60424 * include/link.h (struct link_map): New member l_tls_dtor_count.
60425 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60426 (__call_tls_dtors): Likewise.
60427 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60428 __cxa_thread_atexit_impl.
60429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60430 Likewise.
60431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60432 Likewise.
60433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60434 Likewise.
60435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60436 Likewise.
60437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60439 Likewise.
60440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60441 Likewise.
60442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60444 Likewise.
60445 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60446 (tests): Add test case tst-tls-atexit.
60447 (modules-names): Add shared library for tst-tls-atexit.
60448 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60449 (GLIBC_PRIVATE): Add __call_tls_dtors.
60450 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60451 for libstdc++.
60452 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60453 * stdlib/tst-tls-atexit.c: New test case.
60454 * stdlib/tst-tls-atexit-lib.c: New test case.
60455
60456 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60457
60458 * elf/Versions (ld): Add _dl_find_dso_for_object.
60459 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60460 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60461 (dl_open_worker): Use _dl_find_dso_for_object.
60462 * elf/dl-sym.c (do_sym): Likewise.
60463 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60464
60465 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60466
60467 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60468 Syntactic changes only.
60469 (_dl_runtime_profile): Do a tail-call to the resolved function.
60470
60471 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60472
60473 [BZ #13550]
60474 * sysdeps/x86_64/bp-asm.h: Remove file.
60475 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60476 <bp-sym.h> and <bp-asm.h>.
60477 (__clone): Do not use BP_SYM.
60478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60479 <bp-sym.h> and <bp-asm.h>.
60480 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60481 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60482 "bp-asm.h".
60483 (_setjmp): Do not use BP_SYM.
60484 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60485 "bp-asm.h".
60486 (setjmp): Do not use BP_SYM.
60487 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60488 libc_hidden_def.
60489 (mempcpy): Do not use BP_SYM in weak_alias.
60490 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60491 "bp-asm.h".
60492 (strchr): Do not use BP_SYM.
60493 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60494 "bp-asm.h".
60495 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60496 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60497 (_start): Do not use BP_SYM.
60498 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60499 "bp-asm.h".
60500 (strcat): Do not use BP_SYM.
60501 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60502 "bp-asm.h".
60503 (STRCMP): Do not use BP_SYM.
60504 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60505 "bp-asm.h".
60506 (STRCPY): Do not use BP_SYM.
60507 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60508 "bp-asm.h".
60509 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60510 "bp-asm.h".
60511 (FUNCTION): Do not use BP_SYM.
60512 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60513 weak_alias.
60514 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60515
60516 2013-02-17 Andreas Jaeger <aj@suse.de>
60517
60518 * time/Versions: Sort entries.
60519 * string/Versions: Likewise.
60520 * resolv/Versions: Likewise.
60521 * posix/Versions: Likewise.
60522 * iconv/Versions: Likewise.
60523 * elf/Versions: Likewise.
60524 * wcsmbs/Versions: Likewise.
60525
60526 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60527
60528 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60529 loop termination condition.
60530
60531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60532 variable to calculate EZ.
60533 (__sqr): Likewise.
60534
60535 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60536 the lower precision input.
60537
60538 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60539
60540 [BZ #13550]
60541 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60542 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60543 (run-via-rtld-prefix): Do not handle %-bp tests.
60544 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60545 (all-object-suffixes): Remove .ob.
60546 (bppfx): Remove variable.
60547 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60548 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60549 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60550 [$(build-bounded) = yes] (libtype.ob): Likewise.
60551 * Makerules (elide-routines.ob): Remove variable.
60552 (do-tests-clean): Do not handle *-bp.out.
60553 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60554 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60555 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60556 (tests): Do not include $(tests-bp.out).
60557 (xtests): Do not include $(xtests-bp.out).
60558 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60559 [$(build-bounded) = yes] ($(addprefix
60560 $(objpfx),$(binaries-bounded))): Remove rule.
60561 ($(objpfx)%-bp.out): Remove rule.
60562 * config.make.in (build-bounded): Remove variable.
60563 * crypt/Makefile [$(build-bounded) = yes]
60564 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60565 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60566 append to variable.
60567 [$(build-bounded) = yes] (install-lib): Likewise.
60568 [$(build-bounded) = yes] (generated): Likewise.
60569 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60570 Remove rule.
60571 * intl/Makefile [$(build-bounded) = yes]
60572 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60573 * math/Makefile [$(build-bounded) = yes]
60574 ($(tests:%=$(objpfx)%-bp): Likewise.
60575 * misc/Makefile [$(build-bounded) = yes]
60576 ($(objpfx)tst-tsearch-bp): Likewise.
60577 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60578 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60579 Remove dependency.
60580 * string/Makefile (o-objects.ob): Remove variable.
60581 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60582 (CFLAGS-.ob): Remove variable.
60583 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60584 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60585 both definitions of variable.
60586 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60587 (ASFLAGS-.ob): Remove variable.
60588
60589 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60590
60591 [BZ #13550]
60592 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60593 Remove __BOUNDED_POINTERS__ from condition.
60594 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60595 * string/bits/string2.h [!__NO_STRING_INLINES &&
60596 !__BOUNDED_POINTERS__]: Likewise.
60597 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60598 Likewise.
60599 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60600 Remove conditional code.
60601 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60602 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60603 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60604 condition.
60605
60606 [BZ #13550]
60607 * csu/libc-start.c: Do not include <bp-sym.h>.
60608 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60609 * elf/dl-open.c: Do not include <bp-sym.h>.
60610 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60611 * math/fegetenv.c: Do not include <bp-sym.h>.
60612 (fegetenv): Do not use BP_SYM in versioned symbols.
60613 * nptl/sysdeps/pthread/bits/libc-lockP.h
60614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60615 <bp-sym.h>.
60616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60617 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60619 (__pthread_mutex_destroy): Likewise.
60620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60621 (__pthread_mutex_lock): Likewise.
60622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60623 (__pthread_mutex_trylock): Likewise.
60624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60625 (__pthread_mutex_unlock): Likewise.
60626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60627 (__pthread_mutexattr_init): Likewise.
60628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60629 (__pthread_mutexattr_destroy): Likewise.
60630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60631 (__pthread_mutexattr_settype): Likewise.
60632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60633 (__pthread_rwlock_init): Likewise.
60634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60635 (__pthread_rwlock_destroy): Likewise.
60636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60637 (__pthread_rwlock_rdlock): Likewise.
60638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60639 (__pthread_rwlock_tryrdlock): Likewise.
60640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60641 (__pthread_rwlock_wrlock): Likewise.
60642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60643 (__pthread_rwlock_trywrlock): Likewise.
60644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60645 (__pthread_rwlock_unlock): Likewise.
60646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60647 (__pthread_key_create): Likewise.
60648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60649 (__pthread_setspecific): Likewise.
60650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60651 (__pthread_getspecific): Likewise.
60652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60653 Likewise.
60654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60655 (_pthread_cleanup_push_defer): Likewise.
60656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60657 (_pthread_cleanup_pop_restore): Likewise.
60658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60659 (pthread_setcancelstate): Likewise.
60660 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60661 <bp-sym.h>.
60662 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60663 (memchr): Do not use BP_SYM in weak_alias.
60664 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60665 (fegetenv): Do not use BP_SYM in versioned symbols.
60666 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60667 (fesetenv): Do not use BP_SYM in versioned symbols.
60668 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60669 (feupdateenv): Do not use BP_SYM in versioned symbols.
60670 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60671 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60672 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60673 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60674 (open64): Do not use BP_SYM in weak_alias.
60675 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60676 (fegetenv): Do not use BP_SYM in versioned symbols.
60677 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60678 (fesetenv): Do not use BP_SYM in versioned symbols.
60679 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60680 (feupdateenv): Do not use BP_SYM in versioned symbols.
60681 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60682 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60683 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60684 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60685 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60686 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60687 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60688 <bp-sym.h>.
60689 (__libc_start_main): Do not use BP_SYM.
60690
60691 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60692
60693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60694 redundant return line.
60695 (norm): Likewise.
60696 (denorm): Likewise.
60697 (dbl_mp): Likewise.
60698 (sub_magnitudes): Likewise.
60699 (__add): Likewise.
60700 (__sub): Likewise.
60701 (__mul): Likewise.
60702 (__inv): Likewise.
60703 (__dvd): Likewise.
60704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60705 (norm): Likewise.
60706 (denorm): Likewise.
60707 (dbl_mp): Likewise.
60708 (sub_magnitudes): Likewise.
60709 (__add): Likewise.
60710 (__sub): Likewise.
60711 (__mul): Likewise.
60712 (__inv): Likewise.
60713 (__dvd): Likewise.
60714
60715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60716 instead of __mul.
60717 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60718 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60719 (cc32): Likewise.
60720
60721 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60722 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60724 of __mul for squares.
60725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60726 function
60727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60728 Likewise.
60729 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60731
60732 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60733
60734 [BZ #13550]
60735 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60736 code.
60737 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60738 prototype or function definition. Rename ubp_* variables and
60739 parameters. Remove argv definitions conditional on
60740 [__BOUNDED_POINTERS__].
60741 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60742 * elf/dl-runtime.c (_dl_fixup): Likewise.
60743 * include/set-hooks.h (RUN_HOOK): Likewise.
60744 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60745 definition.
60746 * string/strcpy.c (strcpy): Do not use __unbounded.
60747 * sysdeps/generic/frame.h (struct layout): Likewise.
60748 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60749 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60750 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60751 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60752 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60753 (__backtrace): Likewise.
60754 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60755 use __ptrvalue.
60756 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60757 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60758 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60759 Likewise.
60760 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60761 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60762 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60763 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60764 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60765 Do not use __unbounded.
60766 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60767 Rename __unboundedrlimits parameter to rlimits in prototype.
60768 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60769 Do not use __unbounded.
60770 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60771 not use __ptrvalue.
60772 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60773 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60774 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60775 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60776 __ptrvalue or __unbounded.
60777 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60778 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60779 use __unbounded.
60780 (__new_msgctl): Do not use __ptrvalue.
60781 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60782 __unbounded.
60783 (__libc_msgrcv): Do not use __ptrvalue.
60784 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60785 startup_info): Do not use __unbounded.
60786 (__libc_start_main): Likewise. Rename ubp_* variables and
60787 parameters. Remove argv definitions conditional on
60788 [__BOUNDED_POINTERS__].
60789 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60790 __ptrvalue.
60791 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60792 use __unbounded.
60793 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60794 or __ptrvalue.
60795 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60796 use __unbounded.
60797 (__new_shmctl): Do not use __ptrvalue.
60798 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60799 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60800 Likewise.
60801 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60803 (__libc_sigaction): Likewise.
60804 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60805 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60806 Likewise.
60807 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60808
60809 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60810
60811 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60812
60813 * string/mempcpy.c: Implement by calling memcpy.
60814
60815 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60816
60817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60818
60819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60820 evaluation.
60821
60822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60823 values in the mantissa.
60824
60825 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60826 minimize writes to Z.
60827 (sub_magnitudes): Simplify code a bit.
60828
60829 2013-02-12 Roland McGrath <roland@hack.frob.com>
60830
60831 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60832 from the message. The linker prefixes all warnings with that already.
60833
60834 2013-02-12 Andreas Schwab <schwab@suse.de>
60835
60836 [BZ #15078]
60837 * posix/regexec.c (extend_buffers): Add parameter min_len.
60838 (check_matching): Pass minimum needed length.
60839 (clean_state_log_if_needed): Likewise.
60840 (get_subexp): Likewise.
60841 * posix/Makefile (tests): Add bug-regex34.
60842 (bug-regex34-ENV): Define.
60843 * posix/bug-regex34.c: New file.
60844
60845 [BZ #11561]
60846 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60847 elements compare against the byte sequence of it, not its name.
60848 * posix/Makefile (tests): Add bug-regex35.
60849 (bug-regex35-ENV): Define.
60850 * posix/bug-regex35.c: New file.
60851
60852 2013-02-11 Tom de Vries <tom@codesourcery.com>
60853
60854 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60855 comment.
60856 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60857 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60858 (CHECK_EOL): Add undef.
60859
60860 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60861
60862 * bits/stdlib-bsearch.h: New file.
60863 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60864 * stdlib/stdlib.h: Likewise.
60865
60866 2013-02-11 Roland McGrath <roland@hack.frob.com>
60867
60868 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60869 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60870 declaration.
60871 * manual/search.texi (Array Search Function): Add missing const in
60872 lfind prototype.
60873 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60874 declaration to use rlim_t.
60875 (Basic Scheduling Functions): Remove erroneous const from
60876 sched_getparam prototype. Remove erroneous * from
60877 sched_get_priority_max and sched_get_priority_min prototypes.
60878 (Resource Usage): Fix summary @comment on vtimes to refer to
60879 sys/vtimes.h rather than vtimes.h.
60880 Add missing *s in vtimes prototype.
60881 (Limits on Resources): Fix ulimit prototype to return long int.
60882 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60883 prototypes to use long int rather than double.
60884 (BSD Random): Fix initstate and setstate to use char *, not void *.
60885 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60886 prototype to make second argument 'struct aiocb64 *const[]'.
60887 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60888 (Status of AIO Operations): Remove erroneous const in aio_return and
60889 aio_return64 prototypes.
60890 (Synchronizing I/O): Fix sync prototype to return void.
60891 * manual/startup.texi (Suboptions): Remove an erroneous const in
60892 getsubopt prototype.
60893 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60894 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60895 use size_t rather than int.
60896 (Scanning All Users): Likewise for getpwent_r.
60897 (Setting Groups): Add missing const to setgroups prototype.
60898 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60899 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60900 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60901 'const void *' rather than 'const char *'.
60902 (Host Address Functions): Likewise for inet_ntop.
60903 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60904 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60905 ssize_t for return value.
60906 (Sending Data): Likewise for send, sendto, sendmsg.
60907 (Socket Option Functions): Add a missing const in setsockopt prototype.
60908 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60909 use wchar_t for the argument.
60910 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60911 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60912 take no arguments.
60913 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60914 double/float/long double for second argument.
60915 Fix return types of significand, significandf, significandl.
60916 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60917 argument in fchmod prototype.
60918 (File Owner): Use uid_t and gid_t in fchown prototype.
60919 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60920 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60921 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60922 use 'const struct dirent **' as argument types to CMP function pointer
60923 argument.
60924 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60925 (File Times): Fix summary magic @comment for struct utimbuf and utime
60926 to refer to utime.h, not time.h.
60927 * manual/string.texi (Argz Functions): Add missing const in
60928 argz_extract and argz_next prototypes.
60929 (Finding Tokens in a String): Likewise for basename.
60930 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60931 (Copying and Concatenation): Fix typo in wmemmove prototype.
60932 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60933 (Signal Stack): Remove erroneous const in sigstack prototype.
60934 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60935 prototype.
60936 (Simple Calendar Time): Likewise for stime.
60937 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60938 prototype.
60939 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60940 say sys/sysctl.h instead.
60941 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60942 and vsyslog prototypes.
60943
60944 2013-02-11 Tom de Vries <tom@codesourcery.com>
60945
60946 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60947 Remove.
60948
60949 2013-02-11 Roland McGrath <roland@hack.frob.com>
60950
60951 * misc/sys/mman.h: Fix typo in mremap comment.
60952
60953 2013-02-08 Roland McGrath <roland@hack.frob.com>
60954
60955 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60956 the '\0' terminator.
60957
60958 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60959
60960 [BZ #13550]
60961 * debug/segfault.c: Don't include <bp-checks.h>.
60962 * sysdeps/generic/bp-checks.h: Remove file.
60963 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60964 (__GETDENTS): Don't use CHECK_N.
60965 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60966 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60967 (__getgroups): Don't use CHECK_N.
60968 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60969 (setgroups): Don't use CHECK_N.
60970 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60971 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60972 (__libc_msgrcv): Don't use CHECK_N.
60973 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60974 (__libc_msgsnd): Don't use CHECK_N.
60975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60976 <bp-checks.h>.
60977 (__libc_pread): Don't use CHECK_N.
60978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60979 include <bp-checks.h>.
60980 (__libc_pread64): Don't use CHECK_N.
60981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60982 include <bp-checks.h>.
60983 (__libc_pwrite): Don't use CHECK_N.
60984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60985 include <bp-checks.h>.
60986 (__libc_pwrite64): Don't use CHECK_N.
60987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60988 <bp-checks.h>.
60989 (__libc_pread): Don't use CHECK_N.
60990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60991 include <bp-checks.h>.
60992 (__libc_pread64): Don't use CHECK_N.
60993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60994 include <bp-checks.h>.
60995 (__libc_pwrite): Don't use CHECK_N.
60996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60997 include <bp-checks.h>.
60998 (__libc_pwrite64): Don't use CHECK_N.
60999 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61000 (do_pread): Don't use CHECK_N.
61001 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61002 (do_pread64): Don't use CHECK_N.
61003 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61004 (do_pwrite): Don't use CHECK_N.
61005 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61006 (do_pwrite64): Don't use CHECK_N.
61007 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61008 (__libc_readv): Don't use CHECK_N.
61009 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61010 (semop): Don't use CHECK_N.
61011 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61012 <bp-checks.h>.
61013 (semtimedop): Don't use CHECK_N.
61014 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61015 (__libc_pread): Don't use CHECK_N.
61016 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61017 <bp-checks.h>.
61018 (__libc_pread64): Don't use CHECK_N.
61019 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61020 <bp-checks.h>.
61021 (__libc_pwrite): Don't use CHECK_N.
61022 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61023 <bp-checks.h>.
61024 (__libc_pwrite64): Don't use CHECK_N.
61025 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61026 <bp-checks.h>.
61027 (__libc_msgrcv): Don't use CHECK_N.
61028 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61029 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
61030 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61031 (__libc_writev): Don't use CHECK_N.
61032
61033 2013-02-08 Roland McGrath <roland@hack.frob.com>
61034
61035 * string/strcpy.c: Removed unused variable.
61036
61037 * Makeconfig (+sysdep-includes): Define with := rather than =.
61038 Use an existing include/ subdir of each sysdeps dir before it.
61039
61040 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61041
61042 * nscd/connection.c (register_traced_file): Comment function.
61043 [HAVE_INOTIFY] (union __inev): Define.
61044 [HAVE_INOTIFY] (inotify_check_files): New function.
61045 [HAVE_INOTIFY] (clear_db_cache): Likewise.
61046 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61047 clear_db_cache.
61048 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61049
61050 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61051
61052 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61053 loaded if not already and that a failure is permanent.
61054
61055 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61056
61057 [BZ #15006]
61058 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61059 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61060
61061 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61062
61063 [BZ #13550]
61064 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61065 (CHECK_1_NULL_OK): Likewise.
61066 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61067 (__fxstat): Do not use CHECK_1.
61068 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61069 <bp-checks.h>.
61070 (___fxstat64): Do not use CHECK_1.
61071 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61072 <bp-checks.h>.
61073 (__fxstatat): Do not use CHECK_1.
61074 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61075 <bp-checks.h>.
61076 (__fxstatat64): Do not use CHECK_1.
61077 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61078 <bp-checks.h>.
61079 (__fxstat): Do not use CHECK_1.
61080 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61081 <bp-checks.h>.
61082 (__fxstatat): Do not use CHECK_1.
61083 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61084 <bp-checks.h>.
61085 (__getresgid): Do not use CHECK_1.
61086 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61087 <bp-checks.h>.
61088 (__getresuid): Do not use CHECK_1.
61089 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61090 <bp-checks.h>.
61091 (__lxstat): Do not use CHECK_1.
61092 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61093 <bp-checks.h>.
61094 (__old_msgctl): Do not use CHECK_1.
61095 (__new_msgctl): Likewise.
61096 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61097 <bp-checks.h>.
61098 (__new_setrlimit): Do not use CHECK_1.
61099 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61100 <bp-checks.h>.
61101 (__old_shmctl): Do not use CHECK_1.
61102 (__new_shmctl): Likewise.
61103 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61104 <bp-checks.h>.
61105 (__xstat): Do not use CHECK_1.
61106 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61107 (__lxstat): Do not use CHECK_1.
61108 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61109 <bp-checks.h>.
61110 (___lxstat64): Do not use CHECK_1.
61111 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61112 (__old_msgctl): Do not use CHECK_1.
61113 (__new_msgctl): Likewise.
61114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61115 <bp-checks.h>.
61116 (__gettimeofday): Do not use CHECK_1.
61117 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61118 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61119 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61120 <bp-checks.h>.
61121 (__gettimeofday): Do not use CHECK_1.
61122 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61123 (__old_shmctl): Do not use CHECK_1_NULL_OK.
61124 (__new_shmctl): Do not use CHECK_1.
61125 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61126 <bp-checks.h>.
61127 (do_sigtimedwait): Do not use CHECK_1.
61128 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61129 <bp-checks.h>.
61130 (do_sigwaitinfo): Do not use CHECK_1.
61131 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61132 <bp-checks.h>.
61133 (msgctl): Do not use CHECK_1.
61134 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61135 <bp-checks.h>.
61136 (shmctl): Do not use CHECK_1.
61137 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61138 (ustat): Do not use CHECK_1.
61139 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61140 <bp-checks.h>.
61141 (__fxstat): Do not use CHECK_1.
61142 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61143 <bp-checks.h>.
61144 (__fxstatat): Do not use CHECK_1.
61145 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61146 <bp-checks.h>.
61147 (__lxstat): Do not use CHECK_1.
61148 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61149 <bp-checks.h>.
61150 (__xstat): Do not use CHECK_1.
61151 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61152 (__xstat): Do not use CHECK_1.
61153 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61154 (___xstat64): Do not use CHECK_1.
61155
61156 [BZ #13550]
61157 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61158 definitions.
61159 (CHECK_BOUNDS_HIGH): Likewise.
61160 * string/strcpy.c: Do not include <bp-checks.h>.
61161 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61162
61163 2013-02-07 Roland McGrath <roland@hack.frob.com>
61164
61165 * nscd/nscd-client.h (__nscd_drop_map_ref):
61166 Add __attribute__ ((unused)).
61167 * nis/nss-nisplus.h (niserr2nss): Likewise.
61168
61169 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61170 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61171
61172 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61173 Remove inline keyword.
61174 * include/rounding-mode.h (round_away): Likewise.
61175 * libio/wfileops.c (adjust_wide_data): Likewise.
61176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61177 (__m128i_strloadu_tolower): Likewise.
61178 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61179 (__m128i_strloadu_tolower): Likewise.
61180 * time/mktime.c (ydhms_diff): Likewise.
61181 * locale/elem-hash.h (elem_hash): Likewise.
61182 * locale/setlocale.c (setdata): Likewise.
61183 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61184 (re_string_wchar_at): Likewise.
61185 (bitset_not, bitset_merge, bitset_mask): Likewise.
61186 [!(__GNUC__ > 3)] (inline): Remove macro.
61187 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61188 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61189 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61190 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61191 * string/memcmp.c (memcmp_bytes): Likewise.
61192 * locale/programs/locarchive.c (compute_hashval): Likewise.
61193 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61194 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61195 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61196 * nss/getent.c (print_rpc, print_protocols): Likewise.
61197 (print_passwd, print_group, print_aliases): Likewise.
61198 * nis/nss-nisplus.h (niserr2nss): Likewise.
61199 * nscd/connections.c (restart_p): Likewise.
61200 Change return type to bool.
61201
61202 2013-02-05 Roland McGrath <roland@hack.frob.com>
61203
61204 * Makeconfig (all-Depend-files): Add existing
61205 $(sorted-subdirs:=/Depend) files.
61206 (all-subdirs): Remove nss.
61207 * sysdeps/unix/inet/Subdirs: Add it here instead.
61208 * hesiod/Depend: New file.
61209
61210 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61211 instead of calling alloca.
61212
61213 * io/lseek.c (__lseek): Rename to __libc_lseek.
61214 Define __lseek as an alias.
61215
61216 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61217
61218 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61219
61220 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61221 else clause and remove check for non-standard endianness.
61222
61223 2013-02-04 David S. Miller <davem@davemloft.net>
61224
61225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61226
61227 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61228
61229 [BZ #13550]
61230 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61231 (__ubp_memchr): Remove prototype.
61232 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61233 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61234 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61235 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61236 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61237 Remove alias.
61238 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61239 (__ubp_memchr): Likewise.
61240 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61241 (__ubp_memchr): Likewise.
61242 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61243 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61244 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61245 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61246 CHECK_STRING.
61247 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61248 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61249 (__getcwd): Do not use CHECK_STRING.
61250 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61251 <bp-checks.h>.
61252 (__real_chown): Do not use CHECK_STRING.
61253 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61254 <bp-checks.h>.
61255 (fchownat): Do not use CHECK_STRING.
61256 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61257 CHECK_STRING.
61258 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61259 <bp-checks.h>.
61260 (__lchown): Do not use CHECK_STRING.
61261 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61262 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61263 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61264 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61266 include <bp-checks.h>.
61267 (truncate64): Do not use CHECK_STRING.
61268 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61269 <bp-checks.h>.
61270 (__real_chown): Do not use CHECK_STRING.
61271 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61272 <bp-checks.h>.
61273 (__lchown): Do not use CHECK_STRING.
61274 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61275 <bp-checks.h>.
61276 (__chown): Do not use CHECK_STRING.
61277 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61278 <bp-checks.h>.
61279 (truncate64): Do not use CHECK_STRING.
61280 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61281 Likewise.
61282 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61283 (__xmknod): Do not use CHECK_STRING.
61284 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61285 <bp-checks.h>.
61286 (__xmknodat): Do not use CHECK_STRING.
61287 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61288 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61289
61290 2013-02-04 Andreas Schwab <schwab@suse.de>
61291
61292 [BZ #14142]
61293 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61294 * include/netdb.h: Likewise for h_errno.
61295 * elf/tst-stackguard1.c: Include <tls.h>.
61296
61297 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61298
61299 * elf/link.h (struct link_map): Extend the l_addr comment.
61300 * include/link.h (struct link_map): Likewise.
61301
61302 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61303
61304 [BZ #13550]
61305 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61306 (BOUNDED_1): Remove macro.
61307 * debug/backtrace.c: Don't include <bp-checks.h>.
61308 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61309 (__backtrace): Likewise.
61310 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61311 <bp-checks.h>.
61312 (__backtrace): Don't use BOUNDED_1.
61313 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61314 <bp-checks.h>.
61315 (__backtrace): Don't use BOUNDED_1.
61316 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61317 (__backtrace): Don't use BOUNDED_1.
61318 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61319 (shmat): Don't use BOUNDED_N.
61320
61321 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61322
61323 [BZ #13550]
61324 * sysdeps/generic/bp-start.h: Remove file.
61325 * csu/libc-start.c: Don't include <bp-start.h>.
61326 (LIBC_START_MAIN): Set up __environ directly instead of using
61327 INIT_ARGV_and_ENVIRON.
61328 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61329 <bp-start.h>.
61330
61331 [BZ #13550]
61332 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61333 definitions.
61334 (CHECK_FCNTL): Likewise.
61335 (CHECK_N_PAGES): Likewise.
61336
61337 [BZ #13550]
61338 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61339 definitions.
61340 (CHECK_SIGSET_NULL_OK): Likewise.
61341 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61342 <bp-checks.h>.
61343 (sigpending): Don't use CHECK_SIGSET.
61344 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61345 <bp-checks.h>.
61346 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61347 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61348 <bp-checks.h>.
61349 (do_sigsuspend): Don't use CHECK_SIGSET.
61350 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61351 use CHECK_SIGSET.
61352 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61353 (do_sigwait): Don't use CHECK_SIGSET.
61354 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61355 use CHECK_SIGSET.
61356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61357 include <bp-checks.h>.
61358 (sigpending): Don't use CHECK_SIGSET.
61359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61360 include <bp-checks.h>.
61361 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61362 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61363 <bp-checks.h>.
61364 (sigpending): Don't use CHECK_SIGSET.
61365 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61366 <bp-checks.h>.
61367 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61368
61369 [BZ #13550]
61370 * sysdeps/generic/bp-semctl.h: Remove file.
61371 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61372 <bp-checks.h> and <bp-semctl.h>.
61373 (__old_semctl): Don't use CHECK_SEMCTL.
61374 (__new_semctl): Likewise.
61375 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61376 and <bp-semctl.h>.
61377 (__old_semctl): Don't use CHECK_SEMCTL.
61378 (__new_semctl): Likewise.
61379 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61380 <bp-checks.h> and <bp-semctl.h>.
61381 (__old_semctl): Don't use CHECK_SEMCTL.
61382 (__new_semctl): Likewise.
61383 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61384 <bp-checks.h> and <bp-semctl.h>.
61385 (semctl): Don't use CHECK_SEMCTL.
61386
61387 [BZ #13550]
61388 * Makerules (elide-bp-thunks): Remove variable.
61389 (elide-routines.oS): Don't use $(elide-bp-thunks).
61390 (elide-routines.os): Likewise.
61391 (elide-routines.o): Likewise.
61392 (elide-routines.op): Likewise.
61393 (elide-routines.og): Likewise.
61394 (objects): Don't use $(bp-thunks).
61395 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61396 include.
61397 (common-generated): Do not add s-proto-bp.d.
61398 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61399 (int): Likewise.
61400 (typ): Likewise.
61401 Do not generate makefile rules for bounded-pointer thunks.
61402 * sysdeps/generic/bp-thunks.h: Remove file.
61403 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61404 * sysdeps/unix/s-proto-bp.S: Likewise.
61405
61406 [BZ #15062]
61407 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61408 parts of result separately when argument is not close to line from
61409 -i to i and one part of argument is small.
61410 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61411 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61412 * math/libm-test.inc (cacos_test): Add more tests.
61413 (casin_test): Likewise.
61414 (casinh_test): Likewise.
61415 * sysdeps/i386/fpu/libm-test-ulps: Update.
61416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61417
61418 2013-01-31 David S. Miller <davem@davemloft.net>
61419
61420 * po/de.po: Update from translation team.
61421
61422 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61423
61424 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61425
61426 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61427
61428 * configure.in (_AC_PROG_CC_C89): New definition.
61429 * configure: Regenerate.
61430
61431 * configure.in (AC_PROG_CPP): New definition.
61432 * configure: Regenerate.
61433
61434 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61435
61436 * debug/tst-backtrace.h: New file.
61437 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61438 (ret): Remove variable.
61439 (x): Likewise.
61440 (FAIL): Remove macro.
61441 (NO_INLINE): Likewise.
61442 (fn1): Use match function instead of strstr.
61443 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61444 (ret): Remove variable.
61445 (x): Likewise.
61446 (FAIL): Remove macro.
61447 (NO_INLINE): Likewise.
61448 (fn): Use match function instead of strstr.
61449 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61450 (ret): Remove variable.
61451 (x): Likewise.
61452 (FAIL): Remove macro.
61453 (NO_INLINE): Likewise.
61454 (handle_signal): Use match function instead of strstr.
61455 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61456 (ret): Remove variable.
61457 (x): Likewise.
61458 (FAIL): Remove macro.
61459 (NO_INLINE): Likewise.
61460 (handle_signal): Use match function instead of strstr.
61461
61462 2013-01-23 Roland McGrath <roland@hack.frob.com>
61463
61464 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61465
61466 2013-01-23 David S. Miller <davem@davemloft.net>
61467
61468 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61469 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61470 argument of CAS if possible.
61471 * sysdeps/sparc/sparc64/bits/atomic.h
61472 (__arch_compare_and_exchange_val_32_acq): Likewise.
61473 (__arch_compare_and_exchange_val_64_acq): Likewise.
61474
61475 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61476
61477 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61478 * sysdeps/posix/ulimit.c: ... this.
61479 Include <limits.h>.
61480 * sysdeps/unix/bsd/ulimit.c: Remove file.
61481
61482 2013-01-23 Adam Conrad <adconrad@0c3.net>
61483
61484 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61485 (LDFLAGS-tst-array5): Likewise.
61486
61487 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61488
61489 [BZ #15036]
61490 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61491 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61492 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61493 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61494
61495 2013-01-21 David S. Miller <davem@davemloft.net>
61496
61497 * sysdeps/sparc/backtrace.c: New file.
61498 * sysdeps/sparc/sparc32/backtrace.h: New file.
61499 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61500 * sysdeps/sparc/sparc64/backtrace.h: New file.
61501 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61502 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61503 -funwind-tables.
61504
61505 2013-01-21 Andreas Schwab <schwab@suse.de>
61506
61507 [BZ #15020]
61508 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61509 closed its stdout.
61510
61511 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61512
61513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61514 "mpa2.h".
61515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61516
61517 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61518 Mark Mitchell <mark@codesourcery.com>
61519 Tom de Vries <tom@codesourcery.com>
61520 Paul Pluzhnikov <ppluzhnikov@google.com>
61521
61522 * debug/tst-backtrace2.c: New file.
61523 * debug/tst-backtrace3.c: Likewise.
61524 * debug/tst-backtrace4.c: Likewise.
61525 * debug/tst-backtrace5.c: Likewise.
61526 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61527 (CFLAGS-tst-backtrace3.c): Likewise.
61528 (CFLAGS-tst-backtrace4.c): Likewise.
61529 (CFLAGS-tst-backtrace5.c): Likewise.
61530 (LDFLAGS-tst-backtrace2): Likewise.
61531 (LDFLAGS-tst-backtrace3): Likewise.
61532 (LDFLAGS-tst-backtrace4): Likewise.
61533 (LDFLAGS-tst-backtrace5): Likewise.
61534 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61535 tst-backtrace4 and tst-backtrace5.
61536
61537 2013-01-18 Anton Blanchard <anton@samba.org>
61538 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61539
61540 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61541 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61543 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61545 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61546 "+r" and remove output regs list as redundant. Add explicit inline
61547 asm to specify register of return val to work around compiler codegen
61548 bug. Remove (int) cast on return value. Add return type parameter to
61549 use in macro so that this macro does not truncate return value for
61550 64-bit values.
61551 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61552 pass to INTERNAL_VSYSCALL_NCS.
61553 (INLINE_VSYSCALL): Add 'long int' as return type to
61554 INTERNAL_VSYSCALL_NCS macro invocation.
61555 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61556 INTERNAL_VSYSCALL_NCS macro invocation.
61557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61558
61559 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61560
61561 [BZ #14496]
61562 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61563 Fix application of SIMD FP exception mask.
61564
61565 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61566 mp_no from a power of two.
61567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61568 __mpexp_twomm1. Use __pow_mp.
61569
61570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61571 multiplication.
61572
61573 2013-01-17 David S. Miller <davem@davemloft.net>
61574
61575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61576
61577 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61578
61579 [BZ #15023]
61580 * include/complex.h: Condition contents on [!_COMPLEX_H].
61581 (__kernel_casinhf): New prototype.
61582 (__kernel_casinh): Likewise.
61583 (__kernel_casinhl): Likewise.
61584 * math/Makefile (libm_calls): Add k_casinh.
61585 * math/k_casinh.c: New file.
61586 * math/k_casinhf.c: Likewise.
61587 * math/k_casinhl.c: Likewise.
61588 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61589 finite nonzero arguments.
61590 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61591 finite nonzero arguments.
61592 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61593 finite nonzero arguments.
61594 * math/s_casinh.c: Do not include <float.h>.
61595 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61596 * math/s_casinhf.c: Do not include <float.h>.
61597 (__casinhf): Move code for finite nonzero arguments to
61598 k_casinhf.c.
61599 * math/s_casinhl.c: Do not include <float.h>.
61600 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61601 redefine.
61602 (__casinhl): Move code for finite nonzero arguments to
61603 k_casinhl.c.
61604 * math/libm-test.inc (cacos_test): Add more tests.
61605 * sysdeps/i386/fpu/libm-test-ulps: Update.
61606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61607
61608 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61609
61610 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61611 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61612 [!HAVE_MREMAP]: Remove [defined linux] case.
61613 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61614
61615 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61616
61617 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61618
61619 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61620
61621 * elf/elf.h (R_386_SIZE32): New relocation.
61622 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61623 R_386_SIZE32.
61624 (elf_machine_rela): Likewise.
61625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61626 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61627
61628 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61629
61630 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61631 (FP_FAST_FMA): Do not define.
61632 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61633 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61634 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61635 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61636 !_SOFT_FLOAT]: Likewise.
61637 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61638 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61639 value.
61640 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61641 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61642 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61643 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61644 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61645 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61646 file.
61647
61648 2013-01-16 Andreas Schwab <schwab@suse.de>
61649
61650 [BZ #14327]
61651 * include/stdlib.h (__mktemp): Add declaration.
61652 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61653 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61654
61655 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61656
61657 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61658 definitions.
61659 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61660 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61661 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61662 definitions here.
61663 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61664 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61665 definitions.
61666 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61667 and ONE.
61668 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61669 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61670 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61671 definitions.
61672 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61673 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61674 definitions.
61675 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61676
61677 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61678
61679 2013-01-15 David S. Miller <davem@davemloft.net>
61680
61681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61682 trunc{,f} to libm-sysdep_routes.
61683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61685 file.
61686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61688 file.
61689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61690 file.
61691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61693 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61694 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61695 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61696 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61697 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61698 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61699
61700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61701 nearbyint{,f} to libm-sysdep_routes.
61702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61704 New file.
61705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61706 file.
61707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61708 New file.
61709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61710 file.
61711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61714 file.
61715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61716 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61717 file.
61718 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61719 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61720 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61721
61722 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61723 libc_feholdexcept and libc_fesetenv.
61724
61725 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61726
61727 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61728
61729 2013-01-14 David S. Miller <davem@davemloft.net>
61730
61731 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61732 (SPARC_ASM_VIS2_IFUNC): Likewise.
61733 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61735 use of 'siam' instruction.
61736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61737 Likewise.
61738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61739 Likewise.
61740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61741 Likewise.
61742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61747 file.
61748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61749 file.
61750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61751 file.
61752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61753 file.
61754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61759 new VIS2 routines.
61760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61763 Likewise.
61764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61769 routines to libm-sysdep_routines.
61770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61771
61772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61773 fdim/fdimf to libm-sysdep_routines.
61774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61775 file.
61776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61778 file.
61779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61782 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61783 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61784 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61785 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61786
61787 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61788
61789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61790 to optimize copies.
61791
61792 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61795
61796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61797 local variable MPTWO.
61798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61799 Likewise.
61800
61801 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61802
61803 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61804 GLOB_NOESCAPE.
61805
61806 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61807
61808 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61809
61810 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61811
61812 * manual/pattern.texi (glob_t): Document gl_flags.
61813 (glob64_t): Likewise.
61814
61815 2013-01-11 David S. Miller <davem@davemloft.net>
61816
61817 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61818 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61819 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61820 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61821 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61822 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61823 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61824 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61825 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61826 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61827 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61828 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61829 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61830
61831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61832 sparc V9 rather than using V8 code.
61833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61835
61836 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61837 Move to...
61838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61839 Here.
61840
61841 2013-01-11 Roland McGrath <roland@hack.frob.com>
61842
61843 [BZ #14941]
61844 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61845 not in the main loop.
61846 * configure: Regenerated.
61847
61848 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61849
61850 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61851 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61852 to just #else.
61853 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61854 [!__GLIBC_HAVE_LONG_LONG] case.
61855 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61856 condition to just #else.
61857 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61858 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61859 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61860 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61861 unconditional.
61862 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61863 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61864 #elif condition to just #else.
61865 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61866 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61867 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61868 #elif condition to just #else.
61869
61870 2013-01-11 Steve Ellcey <sellcey@mips.com>
61871
61872 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61873 (EF_MIPS_ARCH_64): Fix value.
61874 (EF_MIPS_ARCH_32R2): New.
61875 (EF_MIPS_ARCH_64R2): New.
61876
61877 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61878
61879 * Makeconfig (+link-pie-before-libc): New.
61880 (+link-pie-after-libc): Likewise.
61881 (+link-pie-tests): Likewise.
61882 (+link-pie): Rewritten.
61883 (link-before-libc): Remove $(config-LDFLAGS).
61884 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61885 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61886 (config-LDFLAGS): Renamed to ...
61887 (rtld-LDFLAGS): This.
61888 (rtld-tests-LDFLAGS): New macro.
61889 (link-libc-rpath-link): Likewise.
61890 (link-libc-tests-rpath-link): Likewise.
61891 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61892 (link-libc): Prepand $(link-libc-rpath-link).
61893 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61894 (test-program-prefix): New macro.
61895 (test-via-rtld-prefix): Likewise.
61896 (test-program-cmd): Likewise.
61897 (host-test-program-cmd): Likewise.
61898 * Makefile ($(common-objpfx)testrun.sh): Replace
61899 $(run-program-prefix) with $(test-program-prefix).
61900 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61901 $(rtld-LDFLAGS).
61902 ($(common-objpfx)shlib.lds): Likewise.
61903 (build-module-helper): Likewise.
61904 ($(common-objpfx)format.lds): Likewise.
61905 * Rules (binaries-pie-tests): New.
61906 (binaries-pie-notests): Likewise.
61907 (binaries-pie): Rewritten.
61908 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61909 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61910 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61911 (make-test-out): Replace $(host-built-program-cmd) with
61912 $(host-test-program-cmd).
61913 * config.make.in (build-hardcoded-path-in-tests): New variable.
61914 * configure.in (--enable-hardcoded-path-in-tests): New configure
61915 option.
61916 (hardcoded_path_in_tests): New AC_SUBST.
61917 * configure: Regenerated.
61918 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61919 $(built-program-cmd) with $(test-program-cmd).
61920 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61921 (test_program_cmd): This.
61922 * elf/Makefile ($(objpfx)order.out): Run test with
61923 $(test-program-prefix).
61924 ($(objpfx)order2.out): Likewise.
61925 ($(objpfx)tst-initorder.out): Likewise.
61926 ($(objpfx)tst-initorder2.out): Likewise.
61927 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61928 $(test-program-cmd).
61929 ($(objpfx)tst-array1-static.out): Likewise.
61930 ($(objpfx)tst-array2.out): Likewise.
61931 ($(objpfx)tst-array3.out): Likewise.
61932 ($(objpfx)tst-array4.out): Likewise.
61933 ($(objpfx)tst-array5.out): Likewise.
61934 ($(objpfx)tst-array5-static.out): Likewise.
61935 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61936 $(test-program-cmd).
61937 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61938 $(run-program-prefix) with $(test-program-prefix).
61939 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61940 (test_program_prefix): This.
61941 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61942 $(run-program-prefix) with $(test-program-prefix).
61943 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61944 (test_program_prefix): This.
61945 * iconvdata/tst-tables.sh: Likewise.
61946 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61947 $(run-program-prefix) with $(test-program-prefix).
61948 ($(objpfx)tst-translit.out): Likewise.
61949 ($(objpfx)tst-gettext2.out): Likewise.
61950 ($(objpfx)tst-gettext4.out): Likewise.
61951 ($(objpfx)tst-gettext6.out): Likewise.
61952 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61953 (test_program_prefix): This.
61954 * intl/tst-gettext2.sh: Likewise.
61955 * intl/tst-gettext4.sh Likewise.
61956 * intl/tst-gettext6.sh: Likewise.
61957 * intl/tst-translit.sh: Likewise.
61958 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61959 with $(test-program-cmd).
61960 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61961 $(run-program-prefix) with $(test-program-prefix).
61962 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61963 (test_program_prefix): This.
61964 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61965 $(run-program-prefix) with $(test-program-prefix).
61966 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61967 (test_program_prefix): This.
61968 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61969 * posix/Makefile ($(objpfx)globtest.out): Replace
61970 $(run-via-rtld-prefix) and $(test-wrapper) with
61971 $(test-program-prefix) and $(test-via-rtld-prefix).
61972 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61973 $(test-program-prefix).
61974 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61975 $(host-test-program-cmd).
61976 (tst-spawn-ARGS): Likewise.
61977 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61978 $(test-program-prefix).
61979 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61980 (test_via_rtld_prefix): This.
61981 (test_wrapper): Renamed to ...
61982 (test_program_prefix): This.
61983 (run_program_prefix): Replaced by test_program_prefix.
61984 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61985 (test_program_prefix): This.
61986 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61987 with $(host-test-program-cmd).
61988 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61989 $(run-program-prefix) with $(test-program-prefix).
61990 ($(objpfx)tst-printf.out): Likewise.
61991 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61992 $(test-program-cmd).
61993 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61994 (test_program_prefix): This.
61995 * stdio-common/tst-unbputc.sh: Likewise.
61996 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61997 $(run-program-prefix) with $(test-program-prefix).
61998 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61999 (test_program_prefix): This.
62000 * string/Makefile ($(objpfx)tst-svc.out): Replace
62001 $(built-program-cmd) with $(test-program-cmd).
62002
62003 2013-01-11 Andreas Jaeger <aj@suse.de>
62004
62005 [BZ #15003]
62006 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62007 value. Sync with Linux 3.7.
62008
62009 2013-01-10 David S. Miller <davem@davemloft.net>
62010
62011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62014
62015 2013-01-10 Roland McGrath <roland@hack.frob.com>
62016
62017 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62018 never set.
62019 * configure: Regenerated.
62020
62021 2013-01-10 David S. Miller <davem@davemloft.net>
62022
62023 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62024 sparc V9 rather than using V8 code.
62025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62027
62028 2013-01-10 Roland McGrath <roland@hack.frob.com>
62029
62030 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62031 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62032 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62033 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62034 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62035 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62036 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62037 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62038 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62039 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62040 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62041 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62042 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62043 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62044 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62045 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62046 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62047 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62048 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62049 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62050 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62051 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62052 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62053 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62054 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62055 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62056 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62057
62058 2013-01-10 David S. Miller <davem@davemloft.net>
62059
62060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62061
62062 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62063
62064 * posix/Makefile (tests-static): New variable.
62065 (tests): Add $(tests-static).
62066 (tst-exec-static-ARGS): New variable.
62067 (tst-spawn-static-ARGS): Likewise.
62068 * posix/tst-exec-static.c: New file.
62069 * posix/tst-spawn-static.c: Likewise.
62070 * posix/tst-exec.c: Support run directly.
62071 * posix/tst-spawn.c: Likewise.
62072
62073 2013-01-10 Joseph Myers <joseph@codesourcery.com>
62074
62075 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62076 long.
62077 * math/bits/mathcalls.h (llrint): Likewise.
62078 (llround): Likewise.
62079 * stdlib/stdlib.h (struct drand48_data): Likewise.
62080 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62081 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62082 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62083 Likewise.
62084 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62085 Likewise.
62086 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62087 (elf_greg_t): Likewise.
62088 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62089 (__jmp_buf): Likewise.
62090 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62091 definitions.
62092 (llrint): Likewise, for all definitions.
62093 (llrintl): Likewise.
62094
62095 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62096 Remove [__GNUC__] condition.
62097 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62098 condition to just [__USE_ISOC99].
62099 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62100
62101 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62102
62103 [BZ #14200]
62104 * sysdeps/unix/sysv/linux/x86/bits/environments.h
62105 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62106 defined.
62107 (_POSIX_V6_ILP32_OFF32): Likewise.
62108 (_XBS5_ILP32_OFF32): Likewise.
62109 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62110 (__ILP32_OFFBIG_LDFLAGS): Likewise.
62111
62112 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62113
62114 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62115
62116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62117 doubles __mpexp_twomm1. Adjust usage.
62118 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62119 Remove.
62120
62121 2013-01-10 Andreas Schwab <schwab@suse.de>
62122
62123 [BZ #14964]
62124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62125 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62126
62127 2013-01-09 David S. Miller <davem@davemloft.net>
62128
62129 [BZ #15003]
62130 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62131 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62132 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62133 (TCP_FASTOPEN): Define.
62134 (tcp_repair_opt): New structure.
62135 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62136 enum values.
62137 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62138 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62139 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62140 (tcp_cookie_transactions): New structure.
62141
62142 2013-01-09 Anton Blanchard <anton@samba.org>
62143
62144 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62145 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62146 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62147 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62148
62149 2013-01-09 Joseph Myers <joseph@codesourcery.com>
62150
62151 * include/features.h (__USE_ANSI): Remove.
62152
62153 2013-01-09 Roland McGrath <roland@hack.frob.com>
62154
62155 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62156
62157 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62158
62159 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
62160
62161 * sysdeps/s390/fpu/libm-test-ulps: Update.
62162
62163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62164
62165 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62166 (__acr): Likewise.
62167 (__cpy): Likewise.
62168 (norm): Likewise.
62169 (denorm): Likewise.
62170 (__mp_dbl): Likewise.
62171 (__dbl_mp): Likewise.
62172 (add_magnitudes): Likewise.
62173 (sub_magnitudes): Likewise.
62174 (__add): Likewise.
62175 (__sub): Likewise.
62176 (__mul): Likewise.
62177 (__inv): Likewise.
62178 (__dvd): Likewise.
62179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62180 (__acr): Likewise.
62181 (__cpy): Likewise.
62182 (norm): Likewise.
62183 (denorm): Likewise.
62184 (__mp_dbl): Likewise.
62185 (__dbl_mp): Likewise.
62186 (add_magnitudes): Likewise.
62187 (sub_magnitudes): Likewise.
62188 (__add): Likewise.
62189 (__sub): Likewise.
62190 (__mul): Likewise.
62191 (__inv): Likewise.
62192 (__dvd): Likewise.
62193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62194 (__acr): Likewise.
62195 (__cpy): Likewise.
62196 (norm): Likewise.
62197 (denorm): Likewise.
62198 (__mp_dbl): Likewise.
62199 (__dbl_mp): Likewise.
62200 (add_magnitudes): Likewise.
62201 (sub_magnitudes): Likewise.
62202 (__add): Likewise.
62203 (__sub): Likewise.
62204 (__mul): Likewise.
62205 (__inv): Likewise.
62206 (__dvd): Likewise.
62207
62208 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62209
62210 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62211 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62212 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62213 2 && __USE_EXTERN_INLINES]: Likewise.
62214
62215 2013-01-08 Andreas Jaeger <aj@suse.de>
62216
62217 [BZ# 14985]
62218 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62219 Remove.
62220 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62221 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62222
62223 2013-01-07 Anton Blanchard <anton@samba.org>
62224
62225 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62226 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62227 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62228 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62229 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62230 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62231 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62235 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62236 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62237 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62238 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62239 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62240 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62241 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62243 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62245 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62246 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62247 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62248 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62249 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62250 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62251 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62252 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62254 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62255 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62258 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62260 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62262 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62264 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62267 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62268
62269 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62270
62271 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62272 (__MALLOC_PMT): Likewise.
62273 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62274 [__GNUC__], only on [_LIBC].
62275 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62276 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62277 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62278 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62279 forward declaration.
62280 (realloc_hook_ini): Likewise.
62281 (memalign_hook_ini): Likewise.
62282 (__libc_memalign): Do not use __MALLOC_PMT in variable
62283 declaration.
62284 (__libc_valloc): Likewise.
62285 (__libc_pvalloc): Likewise.
62286 (__libc_calloc): Likewise.
62287 (__posix_memalign): Likewise.
62288
62289 [BZ #14996]
62290 * math/s_casinh.c: Include <float.h>.
62291 (__casinh): Do not do computation with squaring and square root
62292 for large arguments.
62293 * math/s_casinhf.c: Include <float.h>.
62294 (__casinhf): Do not do computation with squaring and square root
62295 for large arguments.
62296 * math/s_casinhl.c: Include <float.h>.
62297 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62298 (__casinhl): Do not do computation with squaring and square root
62299 for large arguments.
62300 * math/libm-test.inc (casin_test): Add more tests.
62301 (casinh_test): Likewise.
62302 * sysdeps/i386/fpu/libm-test-ulps: Update.
62303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62304
62305 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62306
62307 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62308 (__x86_64_raw_data_cache_size): Likewise.
62309 (__x86_64_data_cache_size_half): Likewise.
62310 (__x86_64_raw_data_cache_size_half): Likewise.
62311 (__x86_64_shared_cache_size): Likewise.
62312 (__x86_64_raw_shared_cache_size): Likewise.
62313 (__x86_64_shared_cache_size_half): Likewise.
62314 (__x86_64_raw_shared_cache_size_half): Likewise.
62315 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62316 to ...
62317 (__x86_data_cache_size): This.
62318 (__x86_64_raw_data_cache_size): Renamed to ...
62319 (__x86_raw_data_cache_size): This.
62320 (__x86_64_data_cache_size_half): Renamed to ...
62321 (__x86_data_cache_size_half): This.
62322 (__x86_64_raw_data_cache_size_half): Renamed to ...
62323 (__x86_raw_data_cache_size_half): This.
62324 (__x86_64_shared_cache_size): Renamed to ...
62325 (__x86_shared_cache_size): This.
62326 (__x86_64_raw_shared_cache_size): Renamed to ...
62327 (__x86_raw_shared_cache_size): This.
62328 (__x86_64_shared_cache_size_half): Renamed to ...
62329 (__x86_shared_cache_size_half): This.
62330 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62331 (__x86_raw_shared_cache_size_half): This.
62332 * sysdeps/x86_64/memcpy.S: Updated.
62333 * sysdeps/x86_64/memset.S: Likewise.
62334 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62337
62338 2013-01-04 David S. Miller <davem@davemloft.net>
62339
62340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62341
62342 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62343
62344 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62345 1 to avoid redefinition warning.
62346 (__USE_GNU): Don't define.
62347 (init_signaling_nan): Protoize.
62348
62349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62350
62351 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62352
62353 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62355 (__cpymn): Likewise.
62356 (norm): Remove commented code.
62357 (denorm): Likewise.
62358 (__mp_dbl): Likewise.
62359 (__inv): Likewise.
62360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62361 (__cpymn): Likewise.
62362 (norm): Remove commented code.
62363 (denorm): Likewise.
62364 (__mp_dbl): Likewise.
62365 (__inv): Likewise.
62366
62367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62368 mp_no value for 1.0 and 2.0.
62369 (norm): Use RADIXI instead of radixi.d.
62370 (denorm): Likewise.
62371 (__mul): Use 0.0 instead of zero.d.
62372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62373 mp_no value for 1.0 and 2.0.
62374 (norm): Use RADIXI instead of radixi.d.
62375 (denorm): Likewise.
62376 (__mul): Use 0.0 instead of zero.d.
62377
62378 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62379
62380 [BZ #14994]
62381 * math/s_casinh.c (__casinh): Reduce finite argument to first
62382 quadrant then set signs of results at the end.
62383 * math/s_casinhf.c (__casinhf): Likewise.
62384 * math/s_casinhl.c (__casinhl): Likewise.
62385 * math/libm-test.inc (casin_test): Add more tests.
62386 (casinh_test): Likewise.
62387 * sysdeps/i386/fpu/libm-test-ulps: Update.
62388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62389
62390 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62391
62392 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62393
62394 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62395
62396 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62397 declarations.
62398 (denorm): Likewise.
62399 (__mp_dbl): Likewise.
62400 (__inv): Likewise.
62401
62402 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62403 and adjust the header comment.
62404
62405 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62406 variable name from declaration.
62407
62408 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62409
62410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62411 Initialize COMMON_CPUID_INDEX_7 element.
62412 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62413 (CPUID_RTM): Likewise.
62414 (HAS_RTM): Likewise.
62415 (COMMON_CPUID_INDEX_7): New enum.
62416
62417 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62418
62419 [BZ #14981]
62420 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62421 size is zero, record memory as freed.
62422
62423 2013-01-03 Andreas Jaeger <aj@suse.de>
62424
62425 * po/ia.po: Add new Interlingua translation.
62426
62427 2012-01-03 Allan McRae <allan@archlinux.org>
62428
62429 * locale/programs/localedef.c: Fix description of '--posix' flag.
62430
62431 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62432
62433 * NEWS: Update dates in second copyright notice.
62434 * README: Update copyright dates in example.
62435 * manual/libc.texinfo: Update copyright dates.
62436 * scripts/test-installation.pl: Update copyright date in --version
62437 output.
62438
62439 * hurd/ctty-input.c: Fix copyright notice formatting.
62440 * hurd/ctty-output.c: Likewise.
62441 * hurd/dtable.c: Likewise.
62442 * hurd/hurd-raise.c: Likewise.
62443 * hurd/hurdprio.c: Likewise.
62444 * hurd/msgportdemux.c: Likewise.
62445 * misc/sys/file.h: Likewise.
62446 * misc/sys/ioctl.h: Likewise.
62447 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62448 * sysdeps/mach/hurd/chdir.c: Likewise.
62449 * sysdeps/mach/hurd/fchdir.c: Likewise.
62450 * sysdeps/mach/hurd/rename.c: Likewise.
62451 * sysdeps/mach/hurd/rmdir.c: Likewise.
62452 * sysdeps/mach/hurd/seekdir.c: Likewise.
62453 * sysdeps/mach/hurd/setsid.c: Likewise.
62454 * sysdeps/posix/wait3.c: Likewise.
62455
62456 * All files with FSF copyright notices: Update copyright dates
62457 using scripts/update-copyrights.
62458 * intl/plural.c: Regenerated.
62459 * locale/programs/charmap-kw.h: Likewise.
62460 * locale/programs/locfile-kw.h: Likewise.
62461
62462 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62463
62464 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62465 four values.
62466
62467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62468 calculation loop and add branch prediction.
62469
62470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62471 check access beyond bounds of m1np.
62472
62473 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62474 MPTWO.
62475 (__inv): Remove local variable MPTWO to use the global
62476 constant.
62477 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62478 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62479 variable MPTWO.
62480 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62481 MP3HALFS static const.
62482
62483 2013-01-01 David S. Miller <davem@davemloft.net>
62484
62485 * po/ca.po: Update from translation team.
62486
62487 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62488
62489 * scripts/update-copyrights: New file.
62490 * Makeconfig: Reformat copyright notice.
62491 * ctype/ctype.h: Likewise.
62492 * debug/swprintf_chk.c: Likewise.
62493 * elf/dl-cache.c: Likewise.
62494 * elf/dl-debug.c: Likewise.
62495 * elf/dl-object.c: Likewise.
62496 * grp/initgroups.c: Likewise.
62497 * hurd/Makefile: Likewise.
62498 * hurd/hurd/signal.h: Likewise.
62499 * hurd/hurdfault.c: Likewise.
62500 * hurd/hurdioctl.c: Likewise.
62501 * hurd/hurdlookup.c: Likewise.
62502 * hurd/intr-msg.c: Likewise.
62503 * iconv/gconv_open.c: Likewise.
62504 * libio/swprintf.c: Likewise.
62505 * locale/lc-ctype.c: Likewise.
62506 * locale/nl_langinfo.c: Likewise.
62507 * mach/Machrules: Likewise.
62508 * mach/Makefile: Likewise.
62509 * malloc/obstack.h: Likewise.
62510 * manual/Makefile: Likewise.
62511 * manual/tsort.awk: Likewise.
62512 * misc/bits/stab.def: Likewise.
62513 * nis/nis_print_group_entry.c: Likewise.
62514 * nis/nis_table.c: Likewise.
62515 * nis/nss_compat/compat-pwd.c: Likewise.
62516 * nis/nss_compat/compat-spwd.c: Likewise.
62517 * po/Makefile: Likewise.
62518 * posix/fnmatch.c: Likewise.
62519 * posix/regex.h: Likewise.
62520 * resolv/Makefile: Likewise.
62521 * resolv/nss_dns/dns-network.c: Likewise.
62522 * resolv/res_hconf.c: Likewise.
62523 * scripts/gen-sorted.awk: Likewise.
62524 * soft-fp/soft-fp.h: Likewise.
62525 * stdio-common/printf.h: Likewise.
62526 * stdlib/monetary.h: Likewise.
62527 * stdlib/random.c: Likewise.
62528 * stdlib/random_r.c: Likewise.
62529 * sysdeps/generic/Makefile: Likewise.
62530 * sysdeps/gnu/Makefile: Likewise.
62531 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62542 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62543 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62544 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62545 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62547 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62554 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62555 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62557 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62558 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62559 * sysdeps/mach/hurd/errnos.awk: Likewise.
62560 * sysdeps/mach/hurd/fork.c: Likewise.
62561 * sysdeps/mach/hurd/getcwd.c: Likewise.
62562 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62563 * sysdeps/mach/hurd/mmap.c: Likewise.
62564 * sysdeps/mach/hurd/utimes.c: Likewise.
62565 * sysdeps/mach/hurd/xmknod.c: Likewise.
62566 * sysdeps/posix/profil.c: Likewise.
62567 * sysdeps/posix/readdir_r.c: Likewise.
62568 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62569 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62570 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62571 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62573 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62575 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62577 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62578 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62579 * sysdeps/pthread/lio_listio.c: Likewise.
62580 * sysdeps/sparc/dl-procinfo.h: Likewise.
62581 * sysdeps/unix/i386/sysdep.S: Likewise.
62582 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62583 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62584 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62585 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62587 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62588 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62589 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62590 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62591 * sysdeps/wordsize-32/divdi3.c: Likewise.
62592 * time/sys/time.h: Likewise.
62593 * wcsmbs/Makefile: Likewise.
62594
62595 2013-01-01 David S. Miller <davem@davemloft.net>
62596
62597 * po/fr.po: Update from translation team.
62598
62599 * catgets/gencat.c: Update copyright year.
62600 * csu/version.c: Likewise.
62601 * debug/catchsegv.sh: Likewise.
62602 * debug/pcprofiledump.c: Likewise.
62603 * debug/xtrace.sh: Likewise.
62604 * elf/ldconfig.c: Likewise.
62605 * elf/ldd.bash.in: Likewise.
62606 * elf/pldd.c: Likewise.
62607 * elf/sotruss.ksh: Likewise.
62608 * elf/sprof.c: Likewise.
62609 * iconv/iconv_prog.c: Likewise.
62610 * iconv/iconvconfig.c: Likewise.
62611 * locale/programs/locale.c: Likewise.
62612 * locale/programs/localedef.c: Likewise.
62613 * login/programs/pt_chown.c: Likewise.
62614 * malloc/memusage.sh: Likewise.
62615 * malloc/memusagestat.c: Likewise.
62616 * malloc/mtrace.pl: Likewise.
62617 * nscd/nscd.c: Likewise.
62618 * nss/getent.c: Likewise.
62619 * nss/makedb.c: Likewise.
62620 * posix/getconf.c: Likewise.
62621
62622 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62623
62624 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62625 numbers.
62626
62627 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62628
62629 * math/bits/mathcalls.h (modf): Use __nonnull.
62630
62631 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62632
62633 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62634 (split): Use macro CN instead of the bare value.
62635 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62636 could be used.
62637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62638 instead of the bare value.
62639 (power1): Likewise.
62640
62641 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62642
62643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62644 __ATAN_TWOM.
62645 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62646
62647 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62648 their values.
62649 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62650 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62651 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62652 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62653
62654 2012-12-28 Andreas Jaeger <aj@suse.de>
62655
62656 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62657 values are from Linux 3.7.
62658
62659 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62660 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62661
62662 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62663
62664 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62665 TRUE case.
62666
62667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62668 (norm): Likewise.
62669 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62670 variables with preprocessor constants.
62671 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62672 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62673 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62674
62675 2012-12-27 Bruno Haible <bruno@clisp.org>
62676
62677 [BZ #14317]
62678 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62679 only if needed.
62680
62681 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62682
62683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62684 and use variable directly.
62685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62686
62687 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62688 MPONE.
62689 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62691 variable MPONE.
62692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62694 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62695 include directive. Remove local variable MPONE.
62696 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62697 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62698 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62699
62700 2012-12-25 David S. Miller <davem@davemloft.net>
62701
62702 * version.h (RELEASE): Set to "development".
62703 (VERSION): Set to "2.17.90".
62704 * NEWS: Add 2.18 section.
62705
62706 2012-12-21 David S. Miller <davem@davemloft.net>
62707
62708 * po/hr.po: Update from translation team.
62709
62710 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62711
62712 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62713
62714 2012-12-19 Steve Ellcey <sellcey@mips.com>
62715
62716 * NEWS: Mention new memcpy for MIPS.
62717
62718 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62719
62720 * manual/contrib.texi (Contributors): Spelling correction.
62721
62722 2012-12-15 David S. Miller <davem@davemloft.net>
62723
62724 * po/ru.po: Update from translation team.
62725
62726 2012-12-13 David S. Miller <davem@davemloft.net>
62727
62728 * NEWS: Mention IFUNC testsuite enhancements.
62729
62730 * po/pl.po: Update from translation team.
62731 * po/bg.po: Likewise.
62732
62733 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62734 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62735
62736 2012-12-11 David S. Miller <davem@davemloft.net>
62737
62738 * po/sv.po: Update from translation team.
62739
62740 * po/vi.po: Update from translation team.
62741
62742 * po/cs.po: Update from translation team.
62743
62744 * po/de.po: Update from translation team.
62745 * po/eo.po: Likewise.
62746 * po/nl.po: Likewise.
62747
62748 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62749
62750 [BZ #14246]
62751 * manual/argp.texi (Argp Helper Functions): Move node to follow
62752 Argp Parsing State.
62753
62754 [BZ #14872]
62755 * manual/conf.texi (Limits on File System Capacity): Mention if
62756 terminating null is included in the max size.
62757
62758 2012-12-10 Andreas Jaeger <aj@suse.de>
62759
62760 * po/cs.po: Update from translation team.
62761
62762 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62763
62764 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62765 void pointer and cast to uintptr_t.
62766 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62767 path.
62768 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62769 * sysdeps/s390/s390-64/memset.S: Likewise.
62770
62771 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62772
62773 [BZ #14833]
62774 * menual/message.texi (Message Translation): Fix typos.
62775 (Helper programs for gettext): Likewise.
62776
62777 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62778
62779 [BZ #14898]
62780 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62781 Change to -1.
62782
62783 2012-12-07 David S. Miller <davem@davemloft.net>
62784
62785 * po/libc.pot: Update.
62786
62787 2012-12-07 Richard Henderson <rth@redhat.com>
62788
62789 [BZ #10114]
62790 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62791 normal/normal case to before the switch.
62792 (_FP_DIV): Likewise.
62793
62794 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62795 Mike Frysinger <vapier@gentoo.org>
62796
62797 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62798 check for __NR_fadvise64_64.
62799
62800 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62801
62802 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62803 0, not just to plain "0" as a statement.
62804 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62805 with cw.
62806
62807 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62808
62809 * NEWS: Use sourceware.org in Bugzilla URL.
62810
62811 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62812
62813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62814 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62815
62816 * stdio-common/tst-put-error.c (do_test): Add newline to the
62817 padded test to ensure flush.
62818
62819 2012-12-05 Jeff Law <law@redhat.com>
62820
62821 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62822
62823 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62824
62825 * README: Don't refer to ports add-on as distributed separately.
62826 Mention AArch64 in list of systems supported in the ports add-on.
62827
62828 * LICENSES: Add more non-FSF copyright and license notices.
62829
62830 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62831 ((unused)).
62832
62833 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62834
62835 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62836 10000 as width of padded output.
62837
62838 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62839
62840 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62841
62842 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62843 variable LX with __attribute__ ((unused)).
62844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62845 Likewise.
62846 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62849 with __attribute__ ((unused)).
62850
62851 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62852
62853 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62854
62855 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62856
62857 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62858 (CFLAGS-nldbl-acos.c): New variable.
62859 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62860 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62861 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62862 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62863 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62864 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62865 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62866 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62867 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62868 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62869 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62870 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62871 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62872 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62873 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62874 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62875 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62876 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62877 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62878 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62879 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62880 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62881 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62882 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62883 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62884 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62885 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62886 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62887 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62888 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62889 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62890 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62891 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62892 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62893 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62894 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62895 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62896 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62897 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62898 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62899 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62900 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62901 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62902 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62903 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62904 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62905 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62906 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62907 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62908 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62909 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62910 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62911 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62912 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62913 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62914 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62915 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62916 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62917 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62918 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62919 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62920 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62921 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62922 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62923 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62924 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62925 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62926 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62927 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62928 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62929 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62930 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62931 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62932 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62933 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62934 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62935 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62936 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62937 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62938 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62939 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62940 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62941 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62942 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62943 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62944 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62945 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62946 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62947 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62948 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62949 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62950 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62951 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62952 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62953 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62954 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62955 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62956
62957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62958 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62959
62960 [BZ #14914]
62961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62962 whole low double instead of just low 47 bits when splitting values
62963 into two parts.
62964
62965 2012-12-03 Allan McRae <allan@archlinux.org>
62966
62967 * manual/stdio.texi (Predefined Printf Handlers): Remove
62968 @hsep and @vsep usage.
62969
62970 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62971
62972 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62973 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62974
62975 2012-12-03 Jeff Law <law@redhat.com>
62976
62977 * time/sys/time.h (settimeofday): Do not mark TV argument
62978 as __nonnull.
62979
62980 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62981
62982 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62983 when currently writing and seek to current position when not.
62984 * libio/Makefile (tests): Remove bug-fclose1.
62985 * libio/bug-fclose1.c: Delete.
62986
62987 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62988
62989 * manual/arith.texi (feenableexcept): Fix typo.
62990 (fedisableexcept): Likewise.
62991
62992 2012-11-30 Roland McGrath <roland@hack.frob.com>
62993
62994 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62995 second, differently-typed declaration, rather than a cast.
62996
62997 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62998
62999 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63000 * include/rpc/svc.h: ... here.
63001
63002 2012-11-30 Aurelien Jarno <aurel32@debian.org>
63003
63004 [BZ #13013]
63005 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63006 depending n and resplen2 to catch cases where answer
63007 equals answerp2.
63008
63009 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
63010
63011 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63012 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63013
63014 2012-11-29 Mike Frysinger <vapier@gentoo.org>
63015
63016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63017
63018 2012-11-29 Roland McGrath <roland@hack.frob.com>
63019
63020 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63021
63022 2012-11-28 Jeff Law <law@redhat.com>
63023
63024 [BZ #13761]
63025 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63026 dataset_temporary. Track alloca usage into alloca_used.
63027 If dataset is large allocate and release it via malloc/free.
63028
63029 2012-06-04 Florian Weimer <fweimer@redhat.com>
63030
63031 [BZ #14197]
63032 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63033
63034 2012-11-28 David S. Miller <davem@davemloft.net>
63035
63036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63037
63038 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63039
63040 [BZ #14803]
63041 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63042 of pi/2 rounded to nearest to 64 bits.
63043 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63044 nearest to 64 bits.
63045 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63046 bits.
63047
63048 2012-11-28 Jeff Law <law@redhat.com>
63049 Martin Osvald <mosvald@redhat.com>
63050
63051 [BZ #14889]
63052 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63053 * sunrpc/svc.c: Include time.h.
63054 (__svc_accept_failed): New function.
63055 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63056 any reason other than EINTR, call __svc_accept_failed.
63057 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63058 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63059
63060 2012-11-28 Andreas Schwab <schwab@suse.de>
63061
63062 * scripts/abilist.awk: Also handle indirect functions in .opd
63063 section.
63064
63065 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63066
63067 [BZ #13881]
63068 * sysdeps/x86/fpu/powl_helper.c: New file.
63069 * sysdeps/x86/fpu/Makefile: Likewise.
63070 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63071 (p3): New object.
63072 (__ieee754_powl): Use __powl_helper for finite arguments except
63073 integer exponents below 8.
63074 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63075 (p3): New object.
63076 (__ieee754_powl): Use __powl_helper for finite arguments except
63077 integer exponents below 8.
63078 * math/libm-test.inc (pow_test): Add more tests and enable some
63079 previously disabled tests.
63080 * sysdeps/i386/fpu/libm-test-ulps: Update.
63081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63082
63083 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63084 Carlos O'Donell <carlos_odonell@mentor.com>
63085
63086 * nss/makedb.c (is_prime): Assert that input is odd and greater
63087 than 4. Note that fact in a comment too.
63088 (next_prime): Add 4 to input.
63089
63090 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63091
63092 [BZ #11741]
63093 * libio/Makefile (tests): Add test case tst-fwrite-error.
63094 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63095 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63096 * libio/tst-fwrite-error.c: New test case.
63097
63098 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
63099
63100 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63101 before casting to void *.
63102 * include/libc-internal.h (__pointer_type): New macro.
63103 (__integer_if_pointer_type_sub): Likewise.
63104 (__integer_if_pointer_type): Likewise.
63105 (cast_to_integer): Likewise.
63106 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63107 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63108 before casting to atomic64_t.
63109 (atomic_exchange_acq): Likewise.
63110 (__arch_exchange_and_add_body): Likewise.
63111 (__arch_add_body): Likewise.
63112 (atomic_add_negative): Likewise.
63113 (atomic_add_zero): Likewise.
63114
63115 2012-11-26 Joseph Myers <joseph@codesourcery.com>
63116
63117 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63118 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63119 (add_fdes): Likewise.
63120 (linear_search_fdes): Likewise.
63121 (binary_search_unencoded_fdes): Likewise.
63122
63123 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
63124
63125 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63126
63127 2012-11-24 Adam Conrad <adconrad@0c3.net>
63128
63129 * configure.in: Autodetect C++ header directories.
63130 * configure: Regenerated.
63131
63132 2012-11-23 Mike Frysinger <vapier@gentoo.org>
63133
63134 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63135
63136 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
63137
63138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63139
63140 2012-11-22 Joseph Myers <joseph@codesourcery.com>
63141
63142 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63143 LDBL_MANT_DIG == 106]: Disable some tests.
63144 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63145 Likewise.
63146 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63147 Likewise.
63148
63149 [BZ #14871]
63150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63151 input for small inputs. Return +/- pi/2 for large inputs.
63152 * math/libm-test.inc (atan_test): Add more tests.
63153
63154 * sysdeps/generic/unwind-dw2-fde-glibc.c
63155 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63156 __attribute__ ((unused)).
63157
63158 [BZ #14645]
63159 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63160 x * y if x and y are nonzero and z is zero.
63161
63162 [BZ #14811]
63163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63164 nonzero exponents with absolute value below 0x1p-117 to +/-
63165 0x1p-117.
63166
63167 [BZ #14869]
63168 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63169 up arguments below 2**-450, not just those below 2**-500.
63170 * math/libm-test.inc (hypot_test): Add another test.
63171
63172 [BZ #14868]
63173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63174 Return a+b for ratio over 2**120, not 2**60.
63175 * math/libm-test.inc (hypot_test): Add another test.
63176
63177 * math/libm-test.inc (clog_test): Use
63178 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63179 (clog10_test): Likewise.
63180
63181 [BZ #6778]
63182 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63183
63184 2012-11-22 Andreas Schwab <schwab@suse.de>
63185
63186 * sysdeps/i386/fpu/libm-test-ulps: Update.
63187
63188 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63189
63190 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63191 printf output with newline.
63192
63193 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63194
63195 [BZ #14865]
63196 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63197 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63198 -z nodlopen, -z initfirst and -z execstack support.
63199 * configure: Regenerated.
63200
63201 * elf/elf.h (DF_1_NODIRECT): New macro.
63202 (DF_1_IGNMULDEF): Likewise.
63203 (DF_1_NOKSYMS): Likewise.
63204 (DF_1_NOHDR): Likewise.
63205 (DF_1_EDITED): Likewise.
63206 (DF_1_NORELOC): Likewise.
63207 (DF_1_SYMINTPOSE): Likewise.
63208 (DF_1_GLOBAUDIT): Likewise.
63209 (DF_1_SINGLETON): Likewise.
63210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63211 DT_1_SUPPORTED_MASK bits.
63212 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63213
63214 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63215
63216 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63217
63218 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63219
63220 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63221 macro.
63222
63223 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63224 (sendmmsg): Move declarations...
63225 * socket/sys/socket.h: ... here.
63226 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63227 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63228 include it from...
63229 * socket/recvmmsg.c: ... this new file.
63230 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63231 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63232 definition of __sendmmsg hidden.
63233 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63234 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63235 Move ENOSYS stub into and include it from...
63236 * socket/sendmmsg.c: ... this new file.
63237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63238 (sysdep_routines): Move recvmmsg and sendmmsg...
63239 * socket/Makefile (routines): ... here.
63240 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63241 (GLIBC_PRIVATE): Add __sendmmsg.
63242 * include/sys/socket.h (__sendmmsg): Add declarations.
63243 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63244 sendmmsg.
63245
63246 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63247
63248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63249 variable I1 with __attribute__ ((unused)).
63250 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63251
63252 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63253
63254 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63255 DUMMY variables with __attribute__ ((unused)).
63256
63257 * bits/byteswap.h: Include <bits/types.h>.
63258 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63259
63260 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63261
63262 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63263 string_t. Do not manually set errno.
63264 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63265 length with __strnlen. Make sure to both set errno and return it on
63266 failure.
63267
63268 2012-11-19 David S. Miller <davem@davemloft.net>
63269
63270 With help from Joseph Myers.
63271 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63272 very large arguments properly.
63273 * math/libm-test.inc (atan_test): New tests.
63274 (atan2_test): New tests.
63275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63277
63278 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63279
63280 [BZ #14856]
63281 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63282 Define to 3.
63283
63284 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63285 [POSIX] (EADDRNOTAVAIL): Likewise.
63286 [POSIX] (EAFNOSUPPORT): Likewise.
63287 [POSIX] (EALREADY): Likewise.
63288 [POSIX] (ECONNABORTED): Likewise.
63289 [POSIX] (ECONNREFUSED): Likewise.
63290 [POSIX] (ECONNRESET): Likewise.
63291 [POSIX] (EDESTADDRREQ): Likewise.
63292 [POSIX] (EDQUOT): Likewise.
63293 [POSIX] (EHOSTUNREACH): Likewise.
63294 [POSIX] (EIDRM): Likewise.
63295 [POSIX] (EISCONN): Likewise.
63296 [POSIX] (ELOOP): Likewise.
63297 [POSIX] (EMULTIHOP): Likewise.
63298 [POSIX] (ENETDOWN): Likewise.
63299 [POSIX] (ENETUNREACH): Likewise.
63300 [POSIX] (ENOBUFS): Likewise.
63301 [POSIX] (ENODATA): Likewise.
63302 [POSIX] (ENOLINK): Likewise.
63303 [POSIX] (ENOMSG): Likewise.
63304 [POSIX] (ENOPROTOOPT): Likewise.
63305 [POSIX] (ENOSR): Likewise.
63306 [POSIX] (ENOSTR): Likewise.
63307 [POSIX] (ENOTCONN): Likewise.
63308 [POSIX] (ENOTSOCK): Likewise.
63309 [POSIX] (EOPNOTSUPP): Likewise.
63310 [POSIX] (EOVERFLOW): Likewise.
63311 [POSIX] (EPROTO): Likewise.
63312 [POSIX] (EPROTONOSUPPORT): Likewise.
63313 [POSIX] (EPROTOTYPE): Likewise.
63314 [POSIX] (ESTALE): Likewise.
63315 [POSIX] (ETIME): Likewise.
63316 [POSIX] (ETXTBSY): Likewise.
63317 [POSIX] (EWOULDBLOCK): Likewise.
63318 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63319 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63320 [POSIX] (SEEK_CUR): Likewise.
63321 [POSIX] (SEEK_END): Likewise.
63322 [POSIX || UNIX98] (mode_t): Do not require.
63323 [POSIX] (off_t): Likewise.
63324 [POSIX] (pid_t): Likewise.
63325 [POSIX] (sys/stat.h): Do not allow header.
63326 [POSIX] (unistd.h): Likewise.
63327 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63328 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63329 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63330 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63331 require.
63332 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63333 sigevent): Specify elements.
63334 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63335 entry.
63336 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63337 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63338
63339 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63340 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63341 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63342 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63343 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63344 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63345 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63346 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63347 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63348 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63349 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63350 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63351 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63352 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63353 Likewise.
63354 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63355 Likewise.
63356 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63357 Likewise.
63358 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63359 Likewise.
63360 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63361 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63362 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63363 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63364 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63365 Specify lower bound on value.
63366 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63367 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63368 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63369 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63370 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63371 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63372 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63373 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63374 value.
63375 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63376 as optional.
63377 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63378 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63379 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63380 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63381 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63382 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63383 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63384 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63385 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63386 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63387 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63388 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63389 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63390 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63391 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63392 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63393 entry.
63394 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63395 optional.
63396 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63397 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63398 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63399 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63400 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63401 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63402 Likewise.
63403 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63404 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63405 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63406 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63407 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63408 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63409 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63410 as optional.
63411 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63412 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63413 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63414 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63415 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63416 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63417 specify as optional.
63418 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63419 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63420 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63421 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63422 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63423 [XPG3] (NL_LANGMAX): Likewise.
63424 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63425 [POSIX || XPG3] (NL_NMAX): Likewise.
63426 [POSIX || XPG3] (NL_SETMAX): Likewise.
63427 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63428 [XPG3] (NZERO): Likewise.
63429 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63430 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63431 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63432 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63433 (REG_ERANGE): Expect.
63434 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63435 optional-constant.
63436 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63437 Use (void) in prototype.
63438 [POSIX] (*_t): Allow.
63439 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63440 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63441 (WRDE_BADVAL): Expect.
63442
63443 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63444 expect.
63445 [XPG3 || XPG4] (O_RSYNC): Likewise.
63446 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63447 Likewise.
63448 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63449 [XPG3 || XPG4] (sigqueue): Likewise.
63450 [XPG3 || XPG4] (sigtimedwait): Likewise.
63451 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63452 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63453 [XPG3 || XPG4] (vsnprintf): Likewise.
63454 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63455 Likewise.
63456 [XPG3 || XPG4] (blksize_t): Likewise.
63457 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63458 Likewise.
63459 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63460 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63461 [XPG3 || XPG4] (struct itimerspec): Likewise.
63462 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63463 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63464 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63465 [XPG3 || XPG4] (clockid_t): Likewise.
63466 [XPG3 || XPG4] (timer_t): Likewise.
63467 [XPG3 || XPG4] (clock_getres): Likewise.
63468 [XPG3 || XPG4] (clock_gettime): Likewise.
63469 [XPG3 || XPG4] (clock_settime): Likewise.
63470 [XPG3 || XPG4] (nanosleep): Likewise.
63471 [XPG3 || XPG4] (timer_create): Likewise.
63472 [XPG3 || XPG4] (timer_delete): Likewise.
63473 [XPG3 || XPG4] (timer_gettime): Likewise.
63474 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63475 [XPG3 || XPG4] (timer_settime): Likewise.
63476 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63477 [XPG3 || XPG4] (getlogin_r): Likewise.
63478 [XPG3 || XPG4] (pread): Likewise.
63479 [XPG3 || XPG4] (pthread_atfork): Likewise.
63480 [XPG3 || XPG4] (pwrite): Likewise.
63481
63482 [BZ #14835]
63483 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63484 <bits/siginfo.h>.
63485
63486 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63487
63488 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63489 finalizing MALLSTREAM.
63490
63491 * sysdeps/mach/hurd/syncfs.c: New file.
63492
63493 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63494
63495 [BZ #14719]
63496 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63497 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63498 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63499 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63500 (_nss_dns_gethostbyname4_r): Likewise.
63501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63502 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63503
63504 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63505
63506 [BZ #13763]
63507 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63508
63509 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63510
63511 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63512 * elf/cache.c (print_entry): Print ",AArch64" for
63513 FLAG_AARCH64_LIB64
63514
63515 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63516 * elf/cache.c (print_entry): Print ",hard-float" for
63517 FLAG_ARM_LIBHF.
63518
63519 2012-11-18 David S. Miller <davem@davemloft.net>
63520
63521 With help from Joseph Myers.
63522 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63523 cutoff to 2**-13.
63524 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63525 cutoff to 2**-25.
63526 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63527 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63528 small.
63529 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63530 * math/libm-test.inc (y0_test): New tests.
63531 (y1_test): New tests.
63532 * sysdeps/i386/fpu/libm-test-ulps: Update.
63533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63535
63536 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63537
63538 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63539 64-bit targets.
63540 * configure: Regenerated.
63541
63542 2012-11-17 David S. Miller <davem@davemloft.net>
63543
63544 [BZ #14811]
63545 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63546 nonzero exponents with absolute value below 0x1p-128 to +/-
63547 0x1p-128.
63548
63549 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63550
63551 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63552
63553 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63554
63555 * posix/getconf-speclist.c: New file.
63556 * posix/posix-envs.def: Likewise.
63557 * posix/confstr.c (START_ENV_GROUP): New macro.
63558 (END_ENV_GROUP): Likewise.
63559 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63560 (KNOWN_PRESENT_ENV_STRING): Likewise.
63561 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63562 (UNKNOWN_ENVIRONMENT): Likewise.
63563 (confstr): Include posix-envs.def instead of handling
63564 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63565 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63566 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63567 (END_ENV_GROUP): Likewise.
63568 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63569 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63570 (UNKNOWN_ENVIRONMENT): Likewise.
63571 (__sysconf): Include posix-envs.def instead of handling associated
63572 cases directly here.
63573 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63574 preprocessing getconf-speclist.c rather than running getconf or
63575 generating empty file.
63576
63577 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63578
63579 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63580
63581 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63582
63583 [BZ #14672]
63584 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63585
63586 2012-11-16 David S. Miller <davem@davemloft.net>
63587
63588 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63589 smaller than LDBL_EPSILON/2.0L, just return xm1.
63590
63591 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63592
63593 * elf/tst-array1.c (init): Set constructor priority to 1000.
63594 (fini): Set destructor priority to 1000.
63595 * elf/tst-array2dep.c: Likewise.
63596
63597 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63598
63599 [BZ #11741]
63600 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63601 (_IO_new_file_xsputn): Also return EOF if none of the input
63602 data was written when overflow failed.
63603 * libio/iopadn.c (_IO_padn): Likewise.
63604 * libio/iowpadn.c (_IO_wpadn): Likewise.
63605 * stdio-common/tst-put-error.c: Add copyright notice.
63606 (do_test): Add case for printing padded string.
63607 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63608 _IO_padn returned error.
63609 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63610 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63611 return EOF.
63612
63613 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63614
63615 * libio/libioP.h: Add comment note that the references to C++
63616 bits are now obsolete.
63617
63618 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63619
63620 * math/libm-test.inc (check_complex): Use asprintf.
63621
63622 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63623
63624 * debug/pcprofiledump.c (print_version): Update copyright year.
63625 * malloc/memusagestat.c (print_version): Likewise.
63626
63627 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63628
63629 [BZ #14831]
63630 * elf/Makefile (tests): Add tst-audit8.
63631 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63632 ($(objpfx)tst-audit8.out): New target.
63633 (tst-audit8-ENV): New variable.
63634 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63635 audit if l_reloc_result is NULL.
63636 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63637 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63638 * elf/tst-audit8.c: New file.
63639
63640 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63641
63642 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63643 * misc/Makefile (CFLAGS-select.c): Define.
63644 * posix/Makefile (CFLAGS-pause.c): Define.
63645
63646 2012-11-13 David S. Miller <davem@davemloft.net>
63647
63648 * crypt/Makefile: Move test targets after toplevel Rules
63649 inclusion. Grab any necessary sysdep routines when linking.
63650 * crypt/md5.c (md5_process_block): Remove define, we will always
63651 name it __md5_process_block.
63652 (md5_finish_ctx): Update md5_process_block call.
63653 (md5_stream): Likewise.
63654 (md5_process_bytes): Likewise.
63655 (md5_process_block): Rename to __md5_process_block and move to ...
63656 * crypt/md5-block.c: ... here.
63657 * crypt/sha256.c (sha256_process_block): Move to ...
63658 * crypt/sha256-block.c: ... here.
63659 * crypt/sha512.c (sha512_process_block): Move to ...
63660 * crypt/sha512-block.c: ... here.
63661 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63662 path.
63663 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63664 * sysdeps/sparc/sparc64/multiarch/Makefile
63665 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63666 crypt subdir.
63667 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63668 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63669 multiarch changes.
63670 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63671 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63672 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63673 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63674 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63675 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63676 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63677 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63678 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63679 file.
63680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63681 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63682 file.
63683 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63684
63685 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63686
63687 * timezone/tzselect.ksh: Update from tzcode git revision
63688 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63689 * timezone/zdump.c: Likewise.
63690 * timezone/zic.c: Likewise.
63691 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63692 in TZVERSION setting, not $(PKGVERSION).
63693 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63694 REPORT_BUGS_TO settings.
63695
63696 [BZ #14838]
63697 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63698 macro.
63699
63700 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63701
63702 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63703 detection to immediately after _FP_ROUND().
63704 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63705 bits are 0.
63706
63707 2012-11-11 David S. Miller <davem@davemloft.net>
63708
63709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63710 inttypes.h
63711 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63712 __close rather than their public counterparts.
63713
63714 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63715
63716 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63717 file.
63718 [UNIX98] (sem_timedwait): Do not expect.
63719 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63720 [XPG4 || UNIX98] (sockatmark): Do not expect.
63721 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63722 (clock_getcpuclockid): Do not expect.
63723 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63724 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63725 Do not expect.
63726 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63727 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63728 [UNIX98] (vwscanf): Likewise.
63729 [UNIX98] (vswscanf): Likewise.
63730
63731 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63732
63733 * timezone/version.h: Remove file.
63734 * timezone/README: Do not refer to version.h.
63735 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63736 $(objpfx)version.h.
63737 ($(objpfx)zdump.o): Likewise.
63738 ($(objpfx)version.h): New target.
63739
63740 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63741 2012i.
63742 * timezone/README: Don't mention modification to tzselect.ksh.
63743 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63744 work on unmodified tzselect.ksh. Substitute version numbers in
63745 tzselect.ksh.
63746
63747 * Makefile (format-me): Remove.
63748 (INSTALL): Adjust indentation. Use commands directly instead of
63749 using $(format-me).
63750
63751 * aclocal.m4 (ACX_PKGVERSION): New macro.
63752 (ACX_BUGURL): Likewise.
63753 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63754 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63755 (REPORT_BUGS_TO): Likewise.
63756 * configure: Regenerated.
63757 * config.h.in (PKGVERSION): New macro.
63758 (REPORT_BUGS_TO): Likewise.
63759 * config.make.in (PKGVERSION): New variable.
63760 (PKGVERSION_TEXI): Likewise.
63761 (REPORT_BUGS_TO): Likewise.
63762 (REPORT_BUGS_TEXI): Likewise.
63763 * Makefile (format-me): Use -I$(common-objpfx)manual.
63764 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63765 ($(common-objpfx)manual/%): New target.
63766 (manual/%): Remove target.
63767 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63768 (print_version): Use PKGVERSION.
63769 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63770 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63771 and REPORT_BUGS_TO.
63772 ($(objpfx)xtrace): Likewise.
63773 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63774 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63775 (print_version): Use PKGVERSION.
63776 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63777 (do_version): Use PKGVERSION.
63778 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63779 REPORT_BUGS_TO.
63780 (common-ldd-rewrite): Likewise.
63781 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63782 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63783 (print_version): Use PKGVERSION.
63784 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63785 * elf/pldd.c (argp_program_bug_address): Remove variable.
63786 (more_help): New function.
63787 (argp): Use more_help.
63788 (print_version): Use PKGVERSION.
63789 * elf/sln.c (main): Use PKGVERSION.
63790 (usage): Use REPORT_BUGS_TO.
63791 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63792 (top level): Use PKGVERSION.
63793 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63794 (print_version): Use PKGVERSION.
63795 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63796 (print_version): Use PKGVERSION.
63797 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63798 (print_version): Use PKGVERSION.
63799 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63800 (print_version): Use PKGVERSION.
63801 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63802 (print_version): Use PKGVERSION.
63803 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63804 (print_version): Use PKGVERSION.
63805 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63806 and BUGURL.
63807 ($(objpfx)memusage): Likewise.
63808 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63809 (do_version): Use PKGVERSION.
63810 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63811 (print_version): Use PKGVERSION.
63812 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63813 ($PKGVERSION): New variable.
63814 ($REPORT_BUGS_TO): Likewise.
63815 (usage): Use $REPORT_BUGS_TO.
63816 (top level): Use $PKGVERSION.
63817 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63818 ($(objpfx)pkgvers.texi): New rule.
63819 ($(objpfx)stamp-pkgvers): Likewise.
63820 * manual/install.texi: Include pkgvers.texi.
63821 (--with-pkgversion): Document new configure option.
63822 (--with-bugurl): Likewise.
63823 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63824 than necessarily for this particular distribution. Use
63825 REPORT_BUGS_TO for where to report bugs.
63826 * INSTALL: Regenerated.
63827 * manual/libc.texinfo: Include pkgvers.texi.
63828 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63829 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63830 (print_version): Use PKGVERSION.
63831 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63832 (print_version): Use PKGVERSION.
63833 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63834 (print_version): Use PKGVERSION.
63835 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63836 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63837 macro.
63838 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63839 (print_version): Use PKGVERSION.
63840 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63841 (print_version): Use PKGVERSION.
63842 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63843 and PKGVERSION.
63844
63845 * timezone/checktab.awk: Update from tzcode 2012i.
63846 * timezone/ialloc.c: Likewise.
63847 * timezone/private.h: Likewise.
63848 * timezone/scheck.c: Likewise.
63849 * timezone/tzfile.h: Likewise.
63850 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63851 (TZVERSION): Hardcode tzcode version number.
63852 * timezone/zdump.c: Update from tzcode 2012i.
63853 * timezone/zic.c: Likewise.
63854 * timezone/version.h: New file.
63855 * timezone/README: Describe version.h. Update upstream location.
63856
63857 [BZ #14824]
63858 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63859 (mktemp): Enable declaration.
63860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63864 Likewise.
63865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63866 Likewise.
63867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63868 Likewise.
63869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63870 Likewise.
63871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63872 Likewise.
63873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63874 Likewise.
63875
63876 [BZ #14821]
63877 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63878 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63879 for copies of such integer values.
63880 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63881 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63882
63883 2012-11-09 Andreas Jaeger <aj@suse.de>
63884
63885 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63886 definitions and declarations that are provided by
63887 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63888
63889 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63890
63891 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63892 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63893 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63894 definition.
63895
63896 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63897
63898 * elf/elf.h: Update comment before AArch64 relocations.
63899
63900 2012-11-07 David S. Miller <davem@davemloft.net>
63901
63902 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63903 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63904 (__start_context): Declare.
63905 (__makecontext_ret): Delete.
63906 (__makecontext): Hook up __start_context instead of
63907 __makecontext_ret.
63908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63909 (sysdep_routines): Add __start_context when in stdlib.
63910
63911 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63912
63913 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63914 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63915 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63916 hardcoded "nm".
63917 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63918 (READELF): New variable. Use it instead of hardcoded "readelf".
63919
63920 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63921
63922 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63923 * sysdeps/x86/Makefile: Here.
63924 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63925 * sysdeps/x86/tst-xmmymm.sh: This.
63926
63927 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63928
63929 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63930 expectations.
63931 [UNIX98] (pthread_barrier_t): Do not expect.
63932 [UNIX98] (pthread_barrierattr_t): Likewise.
63933 [UNIX98] (pthread_spinlock_t): Likewise.
63934 [UNIX98] (pthread_barrier_destroy): Likewise.
63935 [UNIX98] (pthread_barrier_init): Likewise.
63936 [UNIX98] (pthread_barrier_wait): Likewise.
63937 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63938 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63939 [UNIX98] (pthread_barrierattr_init): Likewise.
63940 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63941 [UNIX98] (pthread_getcpuclockid): Likewise.
63942 [UNIX98] (pthread_mutex_timedlock): Likewise.
63943 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63944 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63945 [UNIX98] (pthread_sigmask): Likewise.
63946 [UNIX98] (pthread_spin_destroy): Likewise.
63947 [UNIX98] (pthread_spin_init): Likewise.
63948 [UNIX98] (pthread_spin_lock): Likewise.
63949 [UNIX98] (pthread_spin_trylock): Likewise.
63950 [UNIX98] (pthread_spin_unlock): Likewise.
63951 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63952 Do not expect.
63953 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63954 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63955 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63956 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63957 [XPG3 || XPG4] (pthread_key_t): Likewise.
63958 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63959 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63960 [XPG3 || XPG4] (pthread_once_t): Likewise.
63961 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63962 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63963 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63964 [XPG3 || XPG4] (pthread_t): Likewise.
63965
63966 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63967 not expect.
63968 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63969
63970 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63971 Change function return type to int.
63972
63973 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63974 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63975 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63976 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63977 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63978 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63979 [!POSIX] (posix_madvise): Likewise.
63980 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63981 && !UNIX98].
63982 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63983 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63984 (mode_t): Likewise.
63985 (posix_mem_offset): Likewise.
63986 (posix_typed_mem_get_info): Likewise.
63987 (posix_typed_mem_open): Likewise.
63988
63989 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63990 Change condition to [XOPEN2K8].
63991
63992 * conform/conformtest.pl: Preprocess allow-header data with -x c
63993 instead of from stdin.
63994 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63995 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63996 [C99-based standards] (cerfc): Likewise.
63997 [C99-based standards] (cexp2): Likewise.
63998 [C99-based standards] (cexpm1): Likewise.
63999 [C99-based standards] (clog10): Likewise.
64000 [C99-based standards] (clog1p): Likewise.
64001 [C99-based standards] (clog2): Likewise.
64002 [C99-based standards] (clgamma): Likewise.
64003 [C99-based standards] (ctgamma): Likewise.
64004 [C99-based standards] (cerff): Likewise.
64005 [C99-based standards] (cerfcf): Likewise.
64006 [C99-based standards] (cexp2f): Likewise.
64007 [C99-based standards] (cexpm1f): Likewise.
64008 [C99-based standards] (clog10f): Likewise.
64009 [C99-based standards] (clog1pf): Likewise.
64010 [C99-based standards] (clog2f): Likewise.
64011 [C99-based standards] (clgammaf): Likewise.
64012 [C99-based standards] (ctgammaf): Likewise.
64013 [C99-based standards] (cerfl): Likewise.
64014 [C99-based standards] (cerfcl): Likewise.
64015 [C99-based standards] (cexp2l): Likewise.
64016 [C99-based standards] (cexpm1l): Likewise.
64017 [C99-based standards] (clog10l): Likewise.
64018 [C99-based standards] (clog1pl): Likewise.
64019 [C99-based standards] (clog2l): Likewise.
64020 [C99-based standards] (clgammal): Likewise.
64021 [C99-based standards] (ctgammal): Likewise.
64022 * conform/data/inttypes.h-data [C99-based standards]: Include
64023 stdint.h-data. Remove all expectations for stdint.h contents.
64024 [C99-based standards] (PRI*): Do not allow.
64025 [C99-based standards] (SCN*): Likewise.
64026 [C99-based standards] (*_t): Likewise.
64027 [C99-based-standards] (PRId8): Expect macro.
64028 [C99-based-standards] (PRIi8): Likewise.
64029 [C99-based-standards] (PRIo8): Likewise.
64030 [C99-based-standards] (PRIu8): Likewise.
64031 [C99-based-standards] (PRIx8): Likewise.
64032 [C99-based-standards] (PRIX8): Likewise.
64033 [C99-based-standards] (SCNd8): Likewise.
64034 [C99-based-standards] (SCNi8): Likewise.
64035 [C99-based-standards] (SCNo8): Likewise.
64036 [C99-based-standards] (SCNu8): Likewise.
64037 [C99-based-standards] (SCNx8): Likewise.
64038 [C99-based-standards] (PRIdLEAST8): Likewise.
64039 [C99-based-standards] (PRIiLEAST8): Likewise.
64040 [C99-based-standards] (PRIoLEAST8): Likewise.
64041 [C99-based-standards] (PRIuLEAST8): Likewise.
64042 [C99-based-standards] (PRIxLEAST8): Likewise.
64043 [C99-based-standards] (PRIXLEAST8): Likewise.
64044 [C99-based-standards] (SCNdLEAST8): Likewise.
64045 [C99-based-standards] (SCNiLEAST8): Likewise.
64046 [C99-based-standards] (SCNoLEAST8): Likewise.
64047 [C99-based-standards] (SCNuLEAST8): Likewise.
64048 [C99-based-standards] (SCNxLEAST8): Likewise.
64049 [C99-based-standards] (PRIdFAST8): Likewise.
64050 [C99-based-standards] (PRIiFAST8): Likewise.
64051 [C99-based-standards] (PRIoFAST8): Likewise.
64052 [C99-based-standards] (PRIuFAST8): Likewise.
64053 [C99-based-standards] (PRIxFAST8): Likewise.
64054 [C99-based-standards] (PRIXFAST8): Likewise.
64055 [C99-based-standards] (SCNdFAST8): Likewise.
64056 [C99-based-standards] (SCNiFAST8): Likewise.
64057 [C99-based-standards] (SCNoFAST8): Likewise.
64058 [C99-based-standards] (SCNuFAST8): Likewise.
64059 [C99-based-standards] (SCNxFAST8): Likewise.
64060 [C99-based-standards] (PRId16): Likewise.
64061 [C99-based-standards] (PRIi16): Likewise.
64062 [C99-based-standards] (PRIo16): Likewise.
64063 [C99-based-standards] (PRIu16): Likewise.
64064 [C99-based-standards] (PRIx16): Likewise.
64065 [C99-based-standards] (PRIX16): Likewise.
64066 [C99-based-standards] (SCNd16): Likewise.
64067 [C99-based-standards] (SCNi16): Likewise.
64068 [C99-based-standards] (SCNo16): Likewise.
64069 [C99-based-standards] (SCNu16): Likewise.
64070 [C99-based-standards] (SCNx16): Likewise.
64071 [C99-based-standards] (PRIdLEAST16): Likewise.
64072 [C99-based-standards] (PRIiLEAST16): Likewise.
64073 [C99-based-standards] (PRIoLEAST16): Likewise.
64074 [C99-based-standards] (PRIuLEAST16): Likewise.
64075 [C99-based-standards] (PRIxLEAST16): Likewise.
64076 [C99-based-standards] (PRIXLEAST16): Likewise.
64077 [C99-based-standards] (SCNdLEAST16): Likewise.
64078 [C99-based-standards] (SCNiLEAST16): Likewise.
64079 [C99-based-standards] (SCNoLEAST16): Likewise.
64080 [C99-based-standards] (SCNuLEAST16): Likewise.
64081 [C99-based-standards] (SCNxLEAST16): Likewise.
64082 [C99-based-standards] (PRIdFAST16): Likewise.
64083 [C99-based-standards] (PRIiFAST16): Likewise.
64084 [C99-based-standards] (PRIoFAST16): Likewise.
64085 [C99-based-standards] (PRIuFAST16): Likewise.
64086 [C99-based-standards] (PRIxFAST16): Likewise.
64087 [C99-based-standards] (PRIXFAST16): Likewise.
64088 [C99-based-standards] (SCNdFAST16): Likewise.
64089 [C99-based-standards] (SCNiFAST16): Likewise.
64090 [C99-based-standards] (SCNoFAST16): Likewise.
64091 [C99-based-standards] (SCNuFAST16): Likewise.
64092 [C99-based-standards] (SCNxFAST16): Likewise.
64093 [C99-based-standards] (PRId32): Likewise.
64094 [C99-based-standards] (PRIi32): Likewise.
64095 [C99-based-standards] (PRIo32): Likewise.
64096 [C99-based-standards] (PRIu32): Likewise.
64097 [C99-based-standards] (PRIx32): Likewise.
64098 [C99-based-standards] (PRIX32): Likewise.
64099 [C99-based-standards] (SCNd32): Likewise.
64100 [C99-based-standards] (SCNi32): Likewise.
64101 [C99-based-standards] (SCNo32): Likewise.
64102 [C99-based-standards] (SCNu32): Likewise.
64103 [C99-based-standards] (SCNx32): Likewise.
64104 [C99-based-standards] (PRIdLEAST32): Likewise.
64105 [C99-based-standards] (PRIiLEAST32): Likewise.
64106 [C99-based-standards] (PRIoLEAST32): Likewise.
64107 [C99-based-standards] (PRIuLEAST32): Likewise.
64108 [C99-based-standards] (PRIxLEAST32): Likewise.
64109 [C99-based-standards] (PRIXLEAST32): Likewise.
64110 [C99-based-standards] (SCNdLEAST32): Likewise.
64111 [C99-based-standards] (SCNiLEAST32): Likewise.
64112 [C99-based-standards] (SCNoLEAST32): Likewise.
64113 [C99-based-standards] (SCNuLEAST32): Likewise.
64114 [C99-based-standards] (SCNxLEAST32): Likewise.
64115 [C99-based-standards] (PRIdFAST32): Likewise.
64116 [C99-based-standards] (PRIiFAST32): Likewise.
64117 [C99-based-standards] (PRIoFAST32): Likewise.
64118 [C99-based-standards] (PRIuFAST32): Likewise.
64119 [C99-based-standards] (PRIxFAST32): Likewise.
64120 [C99-based-standards] (PRIXFAST32): Likewise.
64121 [C99-based-standards] (SCNdFAST32): Likewise.
64122 [C99-based-standards] (SCNiFAST32): Likewise.
64123 [C99-based-standards] (SCNoFAST32): Likewise.
64124 [C99-based-standards] (SCNuFAST32): Likewise.
64125 [C99-based-standards] (SCNxFAST32): Likewise.
64126 [C99-based-standards] (PRId64): Likewise.
64127 [C99-based-standards] (PRIi64): Likewise.
64128 [C99-based-standards] (PRIo64): Likewise.
64129 [C99-based-standards] (PRIu64): Likewise.
64130 [C99-based-standards] (PRIx64): Likewise.
64131 [C99-based-standards] (PRIX64): Likewise.
64132 [C99-based-standards] (SCNd64): Likewise.
64133 [C99-based-standards] (SCNi64): Likewise.
64134 [C99-based-standards] (SCNo64): Likewise.
64135 [C99-based-standards] (SCNu64): Likewise.
64136 [C99-based-standards] (SCNx64): Likewise.
64137 [C99-based-standards] (PRIdLEAST64): Likewise.
64138 [C99-based-standards] (PRIiLEAST64): Likewise.
64139 [C99-based-standards] (PRIoLEAST64): Likewise.
64140 [C99-based-standards] (PRIuLEAST64): Likewise.
64141 [C99-based-standards] (PRIxLEAST64): Likewise.
64142 [C99-based-standards] (PRIXLEAST64): Likewise.
64143 [C99-based-standards] (SCNdLEAST64): Likewise.
64144 [C99-based-standards] (SCNiLEAST64): Likewise.
64145 [C99-based-standards] (SCNoLEAST64): Likewise.
64146 [C99-based-standards] (SCNuLEAST64): Likewise.
64147 [C99-based-standards] (SCNxLEAST64): Likewise.
64148 [C99-based-standards] (PRIdFAST64): Likewise.
64149 [C99-based-standards] (PRIiFAST64): Likewise.
64150 [C99-based-standards] (PRIoFAST64): Likewise.
64151 [C99-based-standards] (PRIuFAST64): Likewise.
64152 [C99-based-standards] (PRIxFAST64): Likewise.
64153 [C99-based-standards] (PRIXFAST64): Likewise.
64154 [C99-based-standards] (SCNdFAST64): Likewise.
64155 [C99-based-standards] (SCNiFAST64): Likewise.
64156 [C99-based-standards] (SCNoFAST64): Likewise.
64157 [C99-based-standards] (SCNuFAST64): Likewise.
64158 [C99-based-standards] (SCNxFAST64): Likewise.
64159 [C99-based-standards] (PRIdMAX): Likewise.
64160 [C99-based-standards] (PRIiMAX): Likewise.
64161 [C99-based-standards] (PRIoMAX): Likewise.
64162 [C99-based-standards] (PRIuMAX): Likewise.
64163 [C99-based-standards] (PRIxMAX): Likewise.
64164 [C99-based-standards] (PRIXMAX): Likewise.
64165 [C99-based-standards] (SCNdMAX): Likewise.
64166 [C99-based-standards] (SCNiMAX): Likewise.
64167 [C99-based-standards] (SCNoMAX): Likewise.
64168 [C99-based-standards] (SCNuMAX): Likewise.
64169 [C99-based-standards] (SCNxMAX): Likewise.
64170 [C99-based-standards] (PRIdPTR): Likewise.
64171 [C99-based-standards] (PRIiPTR): Likewise.
64172 [C99-based-standards] (PRIoPTR): Likewise.
64173 [C99-based-standards] (PRIuPTR): Likewise.
64174 [C99-based-standards] (PRIxPTR): Likewise.
64175 [C99-based-standards] (PRIXPTR): Likewise.
64176 [C99-based-standards] (SCNdPTR): Likewise.
64177 [C99-based-standards] (SCNiPTR): Likewise.
64178 [C99-based-standards] (SCNoPTR): Likewise.
64179 [C99-based-standards] (SCNuPTR): Likewise.
64180 [C99-based-standards] (SCNxPTR): Likewise.
64181 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64182 allow.
64183 * conform/data/stdint.h-data: Update comments to clarify
64184 requirements.
64185 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64186 type.
64187 [C99-based standards] (INT8_MAX): Likewise.
64188 [C99-based standards] (INT16_MIN): Likewise.
64189 [C99-based standards] (INT16_MAX): Likewise.
64190 [C99-based standards] (INT32_MIN): Likewise.
64191 [C99-based standards] (INT32_MAX): Likewise.
64192 [C99-based standards] (INT64_MIN): Likewise.
64193 [C99-based standards] (INT64_MAX): Likewise.
64194 [C99-based standards] (UINT8_MAX): Likewise.
64195 [C99-based standards] (UINT16_MAX): Likewise.
64196 [C99-based standards] (UINT32_MAX): Likewise.
64197 [C99-based standards] (UINT64_MAX): Likewise.
64198 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64199 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64200 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64201 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64202 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64203 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64204 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64205 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64206 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64207 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64208 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64209 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64210 [C99-based standards] (INT_FAST8_MIN): Likewise.
64211 [C99-based standards] (INT_FAST8_MAX): Likewise.
64212 [C99-based standards] (INT_FAST16_MIN): Likewise.
64213 [C99-based standards] (INT_FAST16_MAX): Likewise.
64214 [C99-based standards] (INT_FAST32_MIN): Likewise.
64215 [C99-based standards] (INT_FAST32_MAX): Likewise.
64216 [C99-based standards] (INT_FAST64_MIN): Likewise.
64217 [C99-based standards] (INT_FAST64_MAX): Likewise.
64218 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64219 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64220 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64221 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64222 [C99-based standards] (INTPTR_MIN): Likewise.
64223 [C99-based standards] (INTPTR_MAX): Likewise.
64224 [C99-based standards] (UINTPTR_MAX): Likewise.
64225 [C99-based standards] (INTMAX_MIN): Likewise.
64226 [C99-based standards] (INTMAX_MAX): Likewise.
64227 [C99-based standards] (UINTMAX_MAX): Likewise.
64228 [C99-based standards] (PTRDIFF_MIN): Likewise.
64229 [C99-based standards] (PTRDIFF_MAX): Likewise.
64230 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64231 [C99-based standards] (SIZE_MAX): Likewise.
64232 [C99-based standards] (WCHAR_MAX): Likewise.
64233 [C99-based standards] (WINT_MAX): Likewise.
64234 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64235 constraint on value.
64236 [C99-based standards] (WCHAR_MIN): Likewise.
64237 [C99-based standards] (WINT_MIN): Likewise.
64238 [C99-based standards] (*_t): Allow.
64239 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64240 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64241 Include math.h-data and complex.h-data. Remove all expectations
64242 of math.h and complex.h contents.
64243 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64244 at end of line.
64245 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64246 (struct tm): Expect tag.
64247 [C99-based-standards] (wcstof): Expect function.
64248 [C99-based-standards] (wcstold): Likewise.
64249 [C99-based-standards] (wcstoll): Likewise.
64250 [C99-based-standards] (wcstoull): Likewise.
64251 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64252 macro-int-constant. Specify type.
64253 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64254 constraint on value.
64255 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64256 Specify type.
64257 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64258 Specify value.
64259 [ISO C standards]: Do not allow headers.
64260 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64261 wcs[abcdefghijklmnopqrstuvwxyz]*.
64262 [ISO C standards] (*_t): Do not allow.
64263 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64264 Expect function.
64265 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64266 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64267 Specify type.
64268 [ISO C standards]: Do not allow headers.
64269 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64270 is[abcdefghijklmnopqrstuvwxyz]*.
64271 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64272 to[abcdefghijklmnopqrstuvwxyz]*.
64273 [ISO C standards] (*_t): Do not allow.
64274 * conform/data/stdalign.h-data: New file.
64275 * conform/data/stdbool.h-data: Likewise.
64276 * conform/data/stdnoreturn.h-data: Likewise.
64277
64278 2012-11-07 Roland McGrath <roland@hack.frob.com>
64279
64280 [BZ #14815]
64281 * manual/filesys.texi (Directory Entries): Typo fix.
64282 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64283
64284 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64285
64286 * elf/elf.h (EM_AARCH64): New macro.
64287 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64288 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64289 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64290 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64291 (R_AARCH64_TLSDESC): Likewise.
64292 (NT_ARM_TLS): Likewise.
64293 (NT_ARM_HW_BREAK): Likewise.
64294 (NT_ARM_HW_WATCH): Likewise.
64295
64296 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64297
64298 [BZ #14811]
64299 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64300 (__ieee754_powl): Saturate nonzero exponents with absolute value
64301 below 0x1p-79 to +/- 0x1p-79.
64302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64303 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64304 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64305 nonzero exponents with absolute value below 0x1p-32 to +/-
64306 0x1p-32.
64307 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64308 (__ieee754_powl): Saturate nonzero exponents with absolute value
64309 below 0x1p-79 to +/- 0x1p-79.
64310 * math/libm-test.inc (pow_test): Add more tests.
64311
64312 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64313
64314 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64315 _dl_s390_cap_flags with kernel. Increase string length.
64316 (_dl_s390_platforms): Add z196 and zEC12.
64317
64318 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64319
64320 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64321 Change XOPEN21K to XOPEN2K.
64322
64323 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64324
64325 * string/memmove.c: Use memcpy when possible.
64326
64327 2012-11-06 Andreas Jaeger <aj@suse.de>
64328
64329 * po/eo.po: Update from translation team.
64330
64331 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64332
64333 [BZ #14793]
64334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64335 exponent and small x and y exponents, scale x or y up. Increase
64336 by 2 the exponent used in scaling up.
64337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64339 * math/libm-test.inc (fma_test): Add more tests.
64340 (fma_test_towardzero): Likewise.
64341 (fma_test_downward): Likewise.
64342 (fma_test_upward): Likewise.
64343
64344 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64345
64346 [BZ #14805]
64347 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64348 fenv_t *.
64349
64350 [BZ #14801]
64351 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64352 namespace for names of struct fields.
64353 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64354 fenv_t fields.
64355 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64356 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64357
64358 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64359
64360 [BZ #3665]
64361 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64362
64363 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64364
64365 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64366 PTR_DEMANGLE.
64367
64368 [BZ #5246]
64369 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64370 PTR_DEMANGLE.
64371
64372 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64373
64374 [BZ #14797]
64375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64376 definitely overflow as x * y not x * y + z.
64377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64379 * math/libm-test.inc (fma_test): Add more tests.
64380 (fma_test_towardzero): Likewise.
64381 (fma_test_downward): Likewise.
64382 (fma_test_upward): Likewise.
64383
64384 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64385
64386 [BZ #157]
64387
64388 * include/stub-tag.h: Remove file.
64389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64390 '#include' of it.
64391 * manual/maint.texi (Porting): Don't reference it.
64392 * Makerules ($(objpfx)stubs): Likewise.
64393 * dirent/closedir.c: Don't include <stub-tag.h>.
64394 * dirent/dirfd.c: Likewise.
64395 * dirent/fdopendir.c: Likewise.
64396 * dirent/getdents.c: Likewise.
64397 * dirent/getdents64.c: Likewise.
64398 * dirent/opendir.c: Likewise.
64399 * dirent/readdir.c: Likewise.
64400 * dirent/readdir64.c: Likewise.
64401 * dirent/readdir64_r.c: Likewise.
64402 * dirent/readdir_r.c: Likewise.
64403 * dirent/rewinddir.c: Likewise.
64404 * dirent/seekdir.c: Likewise.
64405 * dirent/telldir.c: Likewise.
64406 * gmon/profil.c: Likewise.
64407 * grp/setgroups.c: Likewise.
64408 * inet/if_index.c: Likewise.
64409 * io/access.c: Likewise.
64410 * io/chdir.c: Likewise.
64411 * io/chmod.c: Likewise.
64412 * io/chown.c: Likewise.
64413 * io/close.c: Likewise.
64414 * io/dup.c: Likewise.
64415 * io/dup2.c: Likewise.
64416 * io/dup3.c: Likewise.
64417 * io/euidaccess.c: Likewise.
64418 * io/faccessat.c: Likewise.
64419 * io/fchdir.c: Likewise.
64420 * io/fchmod.c: Likewise.
64421 * io/fchmodat.c: Likewise.
64422 * io/fchown.c: Likewise.
64423 * io/fchownat.c: Likewise.
64424 * io/fcntl.c: Likewise.
64425 * io/flock.c: Likewise.
64426 * io/fstatfs.c: Likewise.
64427 * io/fstatfs64.c: Likewise.
64428 * io/fstatvfs.c: Likewise.
64429 * io/fstatvfs64.c: Likewise.
64430 * io/futimens.c: Likewise.
64431 * io/fxstat.c: Likewise.
64432 * io/fxstat64.c: Likewise.
64433 * io/fxstatat.c: Likewise.
64434 * io/fxstatat64.c: Likewise.
64435 * io/getcwd.c: Likewise.
64436 * io/isatty.c: Likewise.
64437 * io/lchmod.c: Likewise.
64438 * io/lchown.c: Likewise.
64439 * io/link.c: Likewise.
64440 * io/linkat.c: Likewise.
64441 * io/lseek.c: Likewise.
64442 * io/lseek64.c: Likewise.
64443 * io/lxstat64.c: Likewise.
64444 * io/mkdir.c: Likewise.
64445 * io/mkdirat.c: Likewise.
64446 * io/mkfifo.c: Likewise.
64447 * io/mkfifoat.c: Likewise.
64448 * io/open.c: Likewise.
64449 * io/open64.c: Likewise.
64450 * io/openat.c: Likewise.
64451 * io/openat64.c: Likewise.
64452 * io/pipe.c: Likewise.
64453 * io/pipe2.c: Likewise.
64454 * io/poll.c: Likewise.
64455 * io/posix_fadvise.c: Likewise.
64456 * io/posix_fadvise64.c: Likewise.
64457 * io/posix_fallocate.c: Likewise.
64458 * io/posix_fallocate64.c: Likewise.
64459 * io/read.c: Likewise.
64460 * io/readlink.c: Likewise.
64461 * io/readlinkat.c: Likewise.
64462 * io/rmdir.c: Likewise.
64463 * io/sendfile.c: Likewise.
64464 * io/sendfile64.c: Likewise.
64465 * io/statfs.c: Likewise.
64466 * io/statfs64.c: Likewise.
64467 * io/statvfs.c: Likewise.
64468 * io/statvfs64.c: Likewise.
64469 * io/symlink.c: Likewise.
64470 * io/symlinkat.c: Likewise.
64471 * io/ttyname.c: Likewise.
64472 * io/ttyname_r.c: Likewise.
64473 * io/umask.c: Likewise.
64474 * io/unlink.c: Likewise.
64475 * io/unlinkat.c: Likewise.
64476 * io/utime.c: Likewise.
64477 * io/utimensat.c: Likewise.
64478 * io/write.c: Likewise.
64479 * io/xmknod.c: Likewise.
64480 * io/xmknodat.c: Likewise.
64481 * io/xstat.c: Likewise.
64482 * io/xstat64.c: Likewise.
64483 * login/getpt.c: Likewise.
64484 * login/grantpt.c: Likewise.
64485 * login/unlockpt.c: Likewise.
64486 * math/e_acoshl.c: Likewise.
64487 * math/e_acosl.c: Likewise.
64488 * math/e_asinl.c: Likewise.
64489 * math/e_atan2l.c: Likewise.
64490 * math/e_atanhl.c: Likewise.
64491 * math/e_coshl.c: Likewise.
64492 * math/e_expl.c: Likewise.
64493 * math/e_fmodl.c: Likewise.
64494 * math/e_gammal_r.c: Likewise.
64495 * math/e_hypotl.c: Likewise.
64496 * math/e_j0l.c: Likewise.
64497 * math/e_j1l.c: Likewise.
64498 * math/e_jnl.c: Likewise.
64499 * math/e_lgammal_r.c: Likewise.
64500 * math/e_log10l.c: Likewise.
64501 * math/e_log2l.c: Likewise.
64502 * math/e_logl.c: Likewise.
64503 * math/e_powl.c: Likewise.
64504 * math/e_rem_pio2l.c: Likewise.
64505 * math/e_sinhl.c: Likewise.
64506 * math/e_sqrtl.c: Likewise.
64507 * math/fclrexcpt.c: Likewise.
64508 * math/fedisblxcpt.c: Likewise.
64509 * math/feenablxcpt.c: Likewise.
64510 * math/fegetenv.c: Likewise.
64511 * math/fegetexcept.c: Likewise.
64512 * math/fegetround.c: Likewise.
64513 * math/feholdexcpt.c: Likewise.
64514 * math/fesetenv.c: Likewise.
64515 * math/fesetround.c: Likewise.
64516 * math/feupdateenv.c: Likewise.
64517 * math/fgetexcptflg.c: Likewise.
64518 * math/fraiseexcpt.c: Likewise.
64519 * math/fsetexcptflg.c: Likewise.
64520 * math/ftestexcept.c: Likewise.
64521 * math/k_cosl.c: Likewise.
64522 * math/k_rem_pio2l.c: Likewise.
64523 * math/k_sinl.c: Likewise.
64524 * math/k_tanl.c: Likewise.
64525 * math/s_asinhl.c: Likewise.
64526 * math/s_atanl.c: Likewise.
64527 * math/s_cbrtl.c: Likewise.
64528 * math/s_erfl.c: Likewise.
64529 * math/s_expm1l.c: Likewise.
64530 * math/s_log1pl.c: Likewise.
64531 * math/s_tanhl.c: Likewise.
64532 * misc/acct.c: Likewise.
64533 * misc/brk.c: Likewise.
64534 * misc/chflags.c: Likewise.
64535 * misc/chroot.c: Likewise.
64536 * misc/fchflags.c: Likewise.
64537 * misc/fgetxattr.c: Likewise.
64538 * misc/flistxattr.c: Likewise.
64539 * misc/fremovexattr.c: Likewise.
64540 * misc/fsetxattr.c: Likewise.
64541 * misc/fsync.c: Likewise.
64542 * misc/ftruncate.c: Likewise.
64543 * misc/futimes.c: Likewise.
64544 * misc/futimesat.c: Likewise.
64545 * misc/getdomain.c: Likewise.
64546 * misc/getdtsz.c: Likewise.
64547 * misc/gethostid.c: Likewise.
64548 * misc/gethostname.c: Likewise.
64549 * misc/getloadavg.c: Likewise.
64550 * misc/getpagesize.c: Likewise.
64551 * misc/getsysstats.c: Likewise.
64552 * misc/getxattr.c: Likewise.
64553 * misc/gtty.c: Likewise.
64554 * misc/ioctl.c: Likewise.
64555 * misc/lgetxattr.c: Likewise.
64556 * misc/listxattr.c: Likewise.
64557 * misc/llistxattr.c: Likewise.
64558 * misc/lremovexattr.c: Likewise.
64559 * misc/lsetxattr.c: Likewise.
64560 * misc/lutimes.c: Likewise.
64561 * misc/madvise.c: Likewise.
64562 * misc/mincore.c: Likewise.
64563 * misc/mlock.c: Likewise.
64564 * misc/mlockall.c: Likewise.
64565 * misc/mmap.c: Likewise.
64566 * misc/mprotect.c: Likewise.
64567 * misc/msync.c: Likewise.
64568 * misc/munlock.c: Likewise.
64569 * misc/munlockall.c: Likewise.
64570 * misc/munmap.c: Likewise.
64571 * misc/preadv.c: Likewise.
64572 * misc/preadv64.c: Likewise.
64573 * misc/ptrace.c: Likewise.
64574 * misc/pwritev.c: Likewise.
64575 * misc/pwritev64.c: Likewise.
64576 * misc/readv.c: Likewise.
64577 * misc/reboot.c: Likewise.
64578 * misc/remap_file_pages.c: Likewise.
64579 * misc/removexattr.c: Likewise.
64580 * misc/revoke.c: Likewise.
64581 * misc/select.c: Likewise.
64582 * misc/setdomain.c: Likewise.
64583 * misc/setegid.c: Likewise.
64584 * misc/seteuid.c: Likewise.
64585 * misc/sethostid.c: Likewise.
64586 * misc/sethostname.c: Likewise.
64587 * misc/setregid.c: Likewise.
64588 * misc/setreuid.c: Likewise.
64589 * misc/setxattr.c: Likewise.
64590 * misc/sstk.c: Likewise.
64591 * misc/stty.c: Likewise.
64592 * misc/swapoff.c: Likewise.
64593 * misc/swapon.c: Likewise.
64594 * misc/sync.c: Likewise.
64595 * misc/syncfs.c: Likewise.
64596 * misc/syscall.c: Likewise.
64597 * misc/truncate.c: Likewise.
64598 * misc/ualarm.c: Likewise.
64599 * misc/usleep.c: Likewise.
64600 * misc/ustat.c: Likewise.
64601 * misc/utimes.c: Likewise.
64602 * misc/vhangup.c: Likewise.
64603 * misc/writev.c: Likewise.
64604 * posix/_exit.c: Likewise.
64605 * posix/alarm.c: Likewise.
64606 * posix/execve.c: Likewise.
64607 * posix/fexecve.c: Likewise.
64608 * posix/fork.c: Likewise.
64609 * posix/fpathconf.c: Likewise.
64610 * posix/getaddrinfo.c: Likewise.
64611 * posix/getegid.c: Likewise.
64612 * posix/geteuid.c: Likewise.
64613 * posix/getgid.c: Likewise.
64614 * posix/getgroups.c: Likewise.
64615 * posix/getlogin.c: Likewise.
64616 * posix/getlogin_r.c: Likewise.
64617 * posix/getpgid.c: Likewise.
64618 * posix/getpid.c: Likewise.
64619 * posix/getppid.c: Likewise.
64620 * posix/getresgid.c: Likewise.
64621 * posix/getresuid.c: Likewise.
64622 * posix/getsid.c: Likewise.
64623 * posix/getuid.c: Likewise.
64624 * posix/glob64.c: Likewise.
64625 * posix/nanosleep.c: Likewise.
64626 * posix/pathconf.c: Likewise.
64627 * posix/pause.c: Likewise.
64628 * posix/posix_madvise.c: Likewise.
64629 * posix/pread.c: Likewise.
64630 * posix/pread64.c: Likewise.
64631 * posix/pwrite.c: Likewise.
64632 * posix/pwrite64.c: Likewise.
64633 * posix/sched_getaffinity.c: Likewise.
64634 * posix/sched_getp.c: Likewise.
64635 * posix/sched_gets.c: Likewise.
64636 * posix/sched_primax.c: Likewise.
64637 * posix/sched_primin.c: Likewise.
64638 * posix/sched_rr_gi.c: Likewise.
64639 * posix/sched_setaffinity.c: Likewise.
64640 * posix/sched_setp.c: Likewise.
64641 * posix/sched_sets.c: Likewise.
64642 * posix/sched_yield.c: Likewise.
64643 * posix/setgid.c: Likewise.
64644 * posix/setlogin.c: Likewise.
64645 * posix/setpgid.c: Likewise.
64646 * posix/setresgid.c: Likewise.
64647 * posix/setresuid.c: Likewise.
64648 * posix/setsid.c: Likewise.
64649 * posix/setuid.c: Likewise.
64650 * posix/sleep.c: Likewise.
64651 * posix/spawni.c: Likewise.
64652 * posix/sysconf.c: Likewise.
64653 * posix/times.c: Likewise.
64654 * posix/wait.c: Likewise.
64655 * posix/wait3.c: Likewise.
64656 * posix/wait4.c: Likewise.
64657 * posix/waitpid.c: Likewise.
64658 * resolv/gai_sigqueue.c: Likewise.
64659 * resource/getpriority.c: Likewise.
64660 * resource/getrlimit.c: Likewise.
64661 * resource/getrusage.c: Likewise.
64662 * resource/nice.c: Likewise.
64663 * resource/setpriority.c: Likewise.
64664 * resource/setrlimit.c: Likewise.
64665 * resource/ulimit.c: Likewise.
64666 * rt/aio_cancel.c: Likewise.
64667 * rt/aio_fsync.c: Likewise.
64668 * rt/aio_read.c: Likewise.
64669 * rt/aio_sigqueue.c: Likewise.
64670 * rt/aio_suspend.c: Likewise.
64671 * rt/aio_write.c: Likewise.
64672 * rt/clock_getres.c: Likewise.
64673 * rt/clock_gettime.c: Likewise.
64674 * rt/clock_nanosleep.c: Likewise.
64675 * rt/clock_settime.c: Likewise.
64676 * rt/lio_listio.c: Likewise.
64677 * rt/mq_close.c: Likewise.
64678 * rt/mq_getattr.c: Likewise.
64679 * rt/mq_notify.c: Likewise.
64680 * rt/mq_open.c: Likewise.
64681 * rt/mq_receive.c: Likewise.
64682 * rt/mq_send.c: Likewise.
64683 * rt/mq_setattr.c: Likewise.
64684 * rt/mq_timedreceive.c: Likewise.
64685 * rt/mq_timedsend.c: Likewise.
64686 * rt/mq_unlink.c: Likewise.
64687 * rt/shm_open.c: Likewise.
64688 * rt/shm_unlink.c: Likewise.
64689 * rt/timer_create.c: Likewise.
64690 * rt/timer_delete.c: Likewise.
64691 * rt/timer_getoverr.c: Likewise.
64692 * rt/timer_gettime.c: Likewise.
64693 * rt/timer_settime.c: Likewise.
64694 * setjmp/__longjmp.c: Likewise.
64695 * setjmp/setjmp.c: Likewise.
64696 * signal/kill.c: Likewise.
64697 * signal/killpg.c: Likewise.
64698 * signal/raise.c: Likewise.
64699 * signal/sigaction.c: Likewise.
64700 * signal/sigaltstack.c: Likewise.
64701 * signal/sigblock.c: Likewise.
64702 * signal/sigignore.c: Likewise.
64703 * signal/sigintr.c: Likewise.
64704 * signal/signal.c: Likewise.
64705 * signal/sigpause.c: Likewise.
64706 * signal/sigpending.c: Likewise.
64707 * signal/sigqueue.c: Likewise.
64708 * signal/sigreturn.c: Likewise.
64709 * signal/sigset.c: Likewise.
64710 * signal/sigsetmask.c: Likewise.
64711 * signal/sigstack.c: Likewise.
64712 * signal/sigsuspend.c: Likewise.
64713 * signal/sigtimedwait.c: Likewise.
64714 * signal/sigvec.c: Likewise.
64715 * signal/sigwait.c: Likewise.
64716 * signal/sigwaitinfo.c: Likewise.
64717 * signal/sysv_signal.c: Likewise.
64718 * socket/accept.c: Likewise.
64719 * socket/accept4.c: Likewise.
64720 * socket/bind.c: Likewise.
64721 * socket/connect.c: Likewise.
64722 * socket/getpeername.c: Likewise.
64723 * socket/getsockname.c: Likewise.
64724 * socket/getsockopt.c: Likewise.
64725 * socket/isfdtype.c: Likewise.
64726 * socket/listen.c: Likewise.
64727 * socket/recv.c: Likewise.
64728 * socket/recvfrom.c: Likewise.
64729 * socket/recvmsg.c: Likewise.
64730 * socket/send.c: Likewise.
64731 * socket/sendmsg.c: Likewise.
64732 * socket/sendto.c: Likewise.
64733 * socket/setsockopt.c: Likewise.
64734 * socket/shutdown.c: Likewise.
64735 * socket/sockatmark.c: Likewise.
64736 * socket/socket.c: Likewise.
64737 * socket/socketpair.c: Likewise.
64738 * stdio-common/ctermid.c: Likewise.
64739 * stdio-common/cuserid.c: Likewise.
64740 * stdio-common/remove.c: Likewise.
64741 * stdio-common/rename.c: Likewise.
64742 * stdio-common/renameat.c: Likewise.
64743 * stdio-common/tempname.c: Likewise.
64744 * stdlib/getcontext.c: Likewise.
64745 * stdlib/makecontext.c: Likewise.
64746 * stdlib/setcontext.c: Likewise.
64747 * stdlib/swapcontext.c: Likewise.
64748 * stdlib/system.c: Likewise.
64749 * streams/fattach.c: Likewise.
64750 * streams/fdetach.c: Likewise.
64751 * streams/getmsg.c: Likewise.
64752 * streams/getpmsg.c: Likewise.
64753 * streams/putmsg.c: Likewise.
64754 * streams/putpmsg.c: Likewise.
64755 * sysdeps/unix/bsd/getpt.c: Likewise.
64756 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64757 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64758 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64760 Likewise.
64761 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64762 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64763 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64764 * sysvipc/msgctl.c: Likewise.
64765 * sysvipc/msgget.c: Likewise.
64766 * sysvipc/msgrcv.c: Likewise.
64767 * sysvipc/msgsnd.c: Likewise.
64768 * sysvipc/semctl.c: Likewise.
64769 * sysvipc/semget.c: Likewise.
64770 * sysvipc/semop.c: Likewise.
64771 * sysvipc/semtimedop.c: Likewise.
64772 * sysvipc/shmat.c: Likewise.
64773 * sysvipc/shmctl.c: Likewise.
64774 * sysvipc/shmdt.c: Likewise.
64775 * sysvipc/shmget.c: Likewise.
64776 * termios/tcdrain.c: Likewise.
64777 * termios/tcflow.c: Likewise.
64778 * termios/tcflush.c: Likewise.
64779 * termios/tcgetattr.c: Likewise.
64780 * termios/tcgetpgrp.c: Likewise.
64781 * termios/tcsendbrk.c: Likewise.
64782 * termios/tcsetattr.c: Likewise.
64783 * termios/tcsetpgrp.c: Likewise.
64784 * time/adjtime.c: Likewise.
64785 * time/clock.c: Likewise.
64786 * time/getitimer.c: Likewise.
64787 * time/gettimeofday.c: Likewise.
64788 * time/setitimer.c: Likewise.
64789 * time/settimeofday.c: Likewise.
64790 * time/stime.c: Likewise.
64791 * time/time.c: Likewise.
64792
64793 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64794
64795 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64796 /usr/old/bin.
64797
64798 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64799 instead of spaces.
64800 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64801
64802 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64803
64804 [BZ #14796]
64805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64806 FE_TONEAREST before applying Dekker multiplication and Knuth
64807 addition. Clear inexact exceptions and check for exact zero
64808 results afterwards.
64809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64812 * math/libm-test.inc (fma_test): Add more tests.
64813 (fma_test_towardzero): Likewise.
64814 (fma_test_downward): Likewise.
64815 (fma_test_upward): Likewise.
64816 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64817 function.
64818 (libc_fesetround): New macro.
64819 (libc_fesetroundf): Likewise.
64820 (libc_fesetroundl): Likewise.
64821 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64822 function.
64823 (libc_fesetround_387): Likewise.
64824 (libc_fesetroundf): New macro.
64825 (libc_fesetround): Likewise.
64826 (libc_fesetroundl): Likewise.
64827 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64828 function.
64829 (libc_fesetroundf): New macro.
64830 (libc_fesetround): Likewise.
64831 (libc_fesetroundl): Likewise.
64832 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64833 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64834 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64835 libm_hidden_ver.
64836 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64837 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64838 libm_hidden_def.
64839 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64840 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64841 libm_hidden_ver.
64842 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64843 libm_hidden_def.
64844
64845 [BZ #3439]
64846 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64847 integer constant usable in #if and use that to give value to enum
64848 constant.
64849 (FE_DIVBYZERO): Likewise.
64850 (FE_UNDERFLOW): Likewise.
64851 (FE_OVERFLOW): Likewise.
64852 (FE_INVALID): Likewise.
64853 (FE_INVALID_SNAN): Likewise.
64854 (FE_INVALID_ISI): Likewise.
64855 (FE_INVALID_IDI): Likewise.
64856 (FE_INVALID_ZDZ): Likewise.
64857 (FE_INVALID_IMZ): Likewise.
64858 (FE_INVALID_COMPARE): Likewise.
64859 (FE_INVALID_SOFTWARE): Likewise.
64860 (FE_INVALID_SQRT): Likewise.
64861 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64862 (FE_TONEAREST): Likewise.
64863 (FE_TOWARDZERO): Likewise.
64864 (FE_UPWARD): Likewise.
64865 (FE_DOWNWARD): Likewise.
64866 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64867 (FE_DIVBYZERO): Likewise.
64868 (FE_OVERFLOW): Likewise.
64869 (FE_UNDERFLOW): Likewise.
64870 (FE_INEXACT): Likewise.
64871 (FE_TONEAREST): Likewise.
64872 (FE_DOWNWARD): Likewise.
64873 (FE_UPWARD): Likewise.
64874 (FE_TOWARDZERO): Likewise.
64875 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64876 (FE_UNDERFLOW): Likewise.
64877 (FE_OVERFLOW): Likewise.
64878 (FE_DIVBYZERO): Likewise.
64879 (FE_INVALID): Likewise.
64880 (FE_TONEAREST): Likewise.
64881 (FE_TOWARDZERO): Likewise.
64882 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64883 (FE_OVERFLOW): Likewise.
64884 (FE_UNDERFLOW): Likewise.
64885 (FE_DIVBYZERO): Likewise.
64886 (FE_INEXACT): Likewise.
64887 (FE_TONEAREST): Likewise.
64888 (FE_TOWARDZERO): Likewise.
64889 (FE_UPWARD): Likewise.
64890 (FE_DOWNWARD): Likewise.
64891 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64892 (FE_DIVBYZERO): Likewise.
64893 (FE_OVERFLOW): Likewise.
64894 (FE_UNDERFLOW): Likewise.
64895 (FE_INEXACT): Likewise.
64896 (FE_TONEAREST): Likewise.
64897 (FE_DOWNWARD): Likewise.
64898 (FE_UPWARD): Likewise.
64899 (FE_TOWARDZERO): Likewise.
64900
64901 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64902
64903 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64904
64905 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64906
64907 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64908 commands. Quote $PWD.
64909 (blacklist_exports): Don't use remove_newlines. Replace "declare
64910 -x" by "export".
64911 (remove_newlines): Remove.
64912
64913 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64914
64915 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64916 * stdlib/stdlib.h (atof): Moved to ...
64917 * include/bits/stdlib-float.h: Here. New file.
64918 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64919 * stdlib/bits/stdlib-float.h: New file.
64920 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64921 -mno-sse -mno-mmx.
64922 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64923 <xmmintrin.h>.
64924
64925 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64926
64927 * conform/conformtest.pl (@headers): Add fenv.h.
64928 * conform/data/fenv.h-data: New file.
64929 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64930 include of <math/fenv.h>.
64931
64932 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64933 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64934 && !UNIX98]. Enables tests for XOPEN2K8.
64935 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64936 POSIX2008]: Likewise.
64937
64938 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64939 (struct rusage): Do not expect type or its members.
64940
64941 [BZ #3439]
64942 * math/math.h (FP_NAN): Define macro to integer constant usable in
64943 #if and use that to give value to enum constant.
64944 (FP_INFINITE): Likewise.
64945 (FP_ZERO): Likewise.
64946 (FP_SUBNORMAL): Likewise.
64947 (FP_NORMAL): Likewise.
64948
64949 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64950
64951 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64952 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64953 arguments.
64954
64955 2012-11-02 Roland McGrath <roland@hack.frob.com>
64956
64957 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64958 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64959 autoconf-time if not.
64960 * configure.in: Remove AC_PREREQ.
64961
64962 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64963
64964 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64965 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64966 of the internal implementation.
64967
64968 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64969
64970 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64971 except include of <misc/sys/syslog.h>.
64972
64973 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64974
64975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64976 function returns with a NULL context exit with zero.
64977
64978 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64979
64980 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64981
64982 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64983
64984 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64985 (run_program_cmd): This.
64986 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64987 (tst_langinfo): New variable. Use it.
64988
64989 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64990
64991 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64992 floating point opcodes.
64993
64994 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64995
64996 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64997 variable.
64998
64999 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65000
65001 * sysdeps/mach/hurd/powerpc: Remove directory.
65002 * sysdeps/mach/powerpc: Likewise.
65003
65004 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65005
65006 * scripts/check-local-headers.sh: Ignore c++ headers.
65007
65008 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65009
65010 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65011 __libc_cleanup_region_start argument.
65012
65013 2012-11-01 Joseph Myers <joseph@codesourcery.com>
65014
65015 [BZ #14784]
65016 [BZ #14785]
65017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65018 x * y using scaling, not as x * y + z.
65019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65021 * math/libm-test.inc (fma_test): Add more tests.
65022 (fma_test_towardzero): Likewise.
65023 (fma_test_downward): Likewise.
65024 (fma_test_upward): Likewise.
65025
65026 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65027
65028 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65029
65030 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65031
65032 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65033 New variable.
65034
65035 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65036
65037 * rt/tst-shm.c (worker): Correct checking for mmap failure.
65038
65039 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65040
65041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65042 Fix sort order.
65043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65044 Likewise.
65045
65046 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65047
65048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65049 Fix the order of the list for glibc 2.17.
65050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65051 Likewise.
65052
65053 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65054
65055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65056
65057 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65058
65059 [BZ #14610]
65060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65061 for low part of x being zero before using __atanl (y).
65062 * math/libm-test.inc (atan2_test): Add another test.
65063
65064 * manual/install.texi (Configuring and compiling): Document
65065 general use of test-wrapper and test-wrapper-env.
65066 * INSTALL: Regenerated.
65067
65068 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65069 (__fma): Do not extract and scale down low bits on after-rounding
65070 systems when result rounded to normal precision would have normal
65071 exponent.
65072 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65073 (__fmal): Do not extract and scale down low bits on after-rounding
65074 systems when result rounded to normal precision would have normal
65075 exponent.
65076 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65077 (__fmal): Do not extract and scale down low bits on after-rounding
65078 systems when result rounded to normal precision would have normal
65079 exponent.
65080 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65081 macro.
65082 (fma_test): Add more tests.
65083 (fma_test_towardzero): Likewise.
65084 (fma_test_downward): Likewise.
65085 (fma_test_upward): Likewise.
65086
65087 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
65088
65089 * sysdeps/i386/tininess.h: Renamed to ...
65090 * sysdeps/x86/tininess.h: This.
65091 * sysdeps/x86_64/tininess.h: Removed.
65092
65093 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65094
65095 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65096 input. Use $(build-program-cmd).
65097 ($(objpfx)tst-array1-static.out): Likewise.
65098 ($(objpfx)tst-array2.out): Likewise.
65099 ($(objpfx)tst-array3.out): Likewise.
65100 ($(objpfx)tst-array4.out): Likewise.
65101 ($(objpfx)tst-array5.out): Likewise.
65102 ($(objpfx)tst-array5-static.out): Likewise.
65103
65104 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
65105
65106 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65107 if defined.
65108
65109 * nss/nsswitch.h (nss_interface_function): Provide new
65110 macro for use with NSS functions.
65111 * grp/initgroups.c: Use new macro.
65112 * nss/getXXbyYY.c: Likewise.
65113 * nss/getXXbyYY_r.c: Likewise.
65114 * nss/getXXent.c: Likewise.
65115 * nss/getXXent_r.c: Likewise.
65116 * sysdeps/posix/getaddrinfo.c: Likewise.
65117
65118 2012-10-30 Andreas Jaeger <aj@suse.de>
65119
65120 * po/ru.po: Update Russion translation from translation project.
65121
65122 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65123
65124 [BZ #14152]
65125 [BZ #14783]
65126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65127 result and shift together with sticky bit instead of replicating
65128 round-to-nearest rounding.
65129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65131 * math/libm-test.inc (fma_test): Add more tests. Do not permit
65132 missing underflow exceptions.
65133 (fma_test_towardzero): Add more tests.
65134 (fma_test_downward): Likewise.
65135 (fma_test_upward): Likewise.
65136
65137 [BZ #14047]
65138 * sysdeps/generic/tininess.h: New file.
65139 * sysdeps/i386/tininess.h: Likewise.
65140 * sysdeps/sh/tininess.h: Likewise.
65141 * sysdeps/x86_64/tininess.h: Likewise.
65142 * stdlib/tst-strtod-underflow.c: Likewise.
65143 * stdlib/tst-tininess.c: Likewise.
65144 * stdlib/strtod_l.c: Include <tininess.h>.
65145 (round_and_return): Do not set errno for exact underflow cases.
65146 Force an underflow exception when setting errno for underflow.
65147 Determine underflow based on rounding to normal precision if
65148 TININESS_AFTER_ROUNDING.
65149 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65150 ERANGE for exact underflow cases.
65151 * stdlib/Makefile (tests): Add tst-tininess and
65152 tst-strtod-underflow.
65153 ($(objpfx)tst-tininess): Use $(link-libm).
65154 ($(objpfx)tst-strtod-underflow): Likewise.
65155
65156 2012-10-30 Andreas Jaeger <aj@suse.de>
65157
65158 [BZ#14767]
65159 * elf/Makefile (tests): Remove conditional for have-initfini-array
65160 since this is now always required and the variable does not exist
65161 anymore.
65162 (tests-static): Likewise.
65163 (modules-names): Likewise.
65164
65165 * po/eo.po: Add Esperanto translation from translation project.
65166
65167 * elf/tst-array1.c (fini_array): Make writeable so that it can be
65168 merged with constructor/destructor.
65169 (init_array): Likewise.
65170 * elf/tst-array2dep.c (fini_array): Likewise.
65171 (init_array): Likewise.
65172
65173 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65174
65175 * manual/message.texi: Delete @cartouche tags.
65176
65177 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65178
65179 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65180 EOPNOTSUPP.
65181 * sysdeps/mach/hurd/fsync.c: Likewise.
65182
65183 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65184 [_POSIX_REALTIME_SIGNALS]: Change condition to
65185 [_POSIX_REALTIME_SIGNALS > 0].
65186
65187 2012-10-27 Andreas Jaeger <aj@suse.de>
65188
65189 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65190 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65192 [__WORDSIZE != 64]: Likewise.
65193
65194 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65195
65196 * iconvdata/tst-table.sh: Remove ${SHELL}.
65197 * iconvdata/tst-tables.sh: Likewise.
65198
65199 2012-10-25 David S. Miller <davem@davemloft.net>
65200
65201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65202 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65203 of strtoull.
65204
65205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65206 ifunc-impl-list.c
65207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65208 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65209 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65210 file.
65211
65212 2012-10-25 Roland McGrath <roland@hack.frob.com>
65213
65214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65215 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65216 __getdirentries.
65217
65218 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65219 Jim Blandy <jimb@codesourcery.com>
65220
65221 * scripts/cross-test-ssh.sh: New file.
65222 * manual/install.texi (Configuring and compiling): Document use of
65223 cross-test-ssh.sh.
65224 * INSTALL: Regenerated.
65225
65226 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65227
65228 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65229 EOPNOTSUPP.
65230
65231 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65232
65233 * Makeconfig (run-program-prefix): Fix comment.
65234
65235 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65236 Jim Blandy <jimb@codesourcery.com>
65237
65238 * Makeconfig (test-wrapper): New variable,
65239 (test-wrapper-env): Likewise.
65240 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65241 (run-built-tests): Define to yes.
65242 (run-program-prefix): Use $(test-wrapper).
65243 (built-program-cmd): Likewise.
65244 * Rules (make-test-out): Use $(test-wrapper-env) and
65245 $(host-built-program-cmd).
65246 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65247 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65248 tst-pathopt.sh.
65249 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65250 $(test-wrapper-env) to tst-rtld-load-self.sh.
65251 ($(objpfx)order2.out): Use $(test-wrapper).
65252 ($(objpfx)tst-initorder.out): Likewise.
65253 ($(objpfx)tst-initorder2.out): Likewise.
65254 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65255 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65256 (test_wrapper_env): New variable. Use it to run ld.so.
65257 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65258 Use it to run ld.so.
65259 (test_wrapper_env): Likewise.
65260 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65261 $(test-wrapper) to run-iconv-test.sh.
65262 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65263 (ICONV): Use $test_wrapper.
65264 * posix/Makefile ($(objpfx)globtest.out): Pass
65265 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65266 globtest.sh, not $(run-program-prefix).
65267 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65268 (test_wrapper): Likewise.
65269 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65270 set together with run_via_rtld_prefix.
65271 (run_program_prefix): Define in terms of test_wrapper and
65272 run_via_rtld_prefix.
65273
65274 2012-10-24 Roland McGrath <roland@hack.frob.com>
65275
65276 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65277 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65278 Targets removed.
65279
65280 [BZ #14743]
65281 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65282 Declare __clock_getres, __clock_gettime, __clock_settime,
65283 __clock_nanosleep, and __clock_getcpuclockid.
65284 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65285 Remove librt_hidden_def (clock_gettime).
65286 * sysdeps/unix/clock_gettime.c: Likewise.
65287 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65289 * rt/clock_getres.c: Define __clock_getres as an alias.
65290 * sysdeps/posix/clock_getres.c: Likewise.
65291 * rt/clock_settime.c: Define __clock_settime as an alias.
65292 * sysdeps/unix/clock_settime.c: Likewise.
65293 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65294 * sysdeps/unix/clock_nanosleep.c: Likewise.
65295 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65296 * rt/clock-compat.c: New file.
65297 * rt/Makefile (librt-routines): Add clock-compat and move
65298 $(clock-routines) to ...
65299 (routines): ... here, new variable.
65300 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65301 Don't add get_clockfreq here.
65302 * rt/Versions (libc: GLIBC_2.17): New version set.
65303 Add clock_* symbols here.
65304 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65306 (GLIBC_2.17): Add clock_* symbols.
65307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65311 Likewise.
65312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65313 Likewise.
65314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65318 * NEWS: Mention the move.
65319
65320 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65321 Use __open, __read, __close rather than their public counterparts.
65322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65323 (__get_clockfreq_via_cpuinfo): Likewise.
65324 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65325 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65326
65327 * config.h.in (HAVE_IFUNC): New #undef.
65328 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65329 was successful.
65330 * configure: Regenerated.
65331
65332 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65333
65334 * configure.in: Move READELF check to start of file.
65335 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65336 libc_cv_asm_gnu_indirect_function in the process.
65337 * configure: Regenerated.
65338
65339 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65340
65341 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65342 send the output to /dev/null.
65343 (libc_cv_cc_with_libunwind): Likewise.
65344 (libc_cv_as_noexecstack): Likewise.
65345 * configure: Regenerate.
65346
65347 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65348
65349 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65350
65351 * posix/globtest.sh (TMPDIR): Do not set.
65352 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65353 (testout): Likewise.
65354
65355 2012-10-24 Andreas Jaeger <aj@suse.de>
65356
65357 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65358 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65359 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65360 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65361 posix_fadvise64, posix_fallocate64.
65362
65363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65364 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65365 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65366 Likewise.
65367 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65368 Likewise.
65369 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65370
65371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65372 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65373 <bits/fcntl-linux.h>.
65374 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65375
65376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65377 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65378 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65379 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65380 [__WORDSIZE != 64]: Likewise.
65381
65382 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65383
65384 * Makeconfig (run-built-tests): New variable.
65385 * Rules [$(cross-compiling) = yes]: Change condition to
65386 [$(run-built-tests) = no].
65387 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65388 to [$(run-built-tests) = yes].
65389 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65390 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65391 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65392 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65393 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65394 * io/Makefile [$(cross-compiling) = no]: Likewise.
65395 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65396 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65397 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65398 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65399 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65400 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65401 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65402 * string/Makefile [$(cross-compiling) = no]: Likewise.
65403
65404 * posix/Makefile ($(objpfx)globtest.out): Pass
65405 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65406 $(rtld-installed-name).
65407 * posix/globtest.sh (elf_objpfx): Remove variable.
65408 (rtld_installed_name): Likewise.
65409 (library_path): Likewise.
65410 (run_program_prefix): New variable. Use for running globtest
65411 binary.
65412
65413 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65414 Joseph Myers <joseph@codesourcery.com>
65415
65416 * Makeconfig (host-built-program-cmd): New variable.
65417 * elf/Makefile (tst-stackguard1-ARGS): Use
65418 $(host-built-program-cmd).
65419 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65420 (tst-spawn-ARGS): Likewise.
65421 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65422
65423 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65424 Jim Blandy <jimb@codesourcery.com>
65425
65426 * Makeconfig (run-via-rtld-prefix): New variable.
65427 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65428 (built-program-cmd): Likewise.
65429
65430 2012-10-22 Andreas Jaeger <aj@suse.de>
65431
65432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65433 __O_RSYNC if it exists, otherwise to O_SYNC.
65434
65435 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65436 Joseph Myers <joseph@codesourcery.com>
65437
65438 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65439 /dev/null.
65440 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65441 from /dev/null
65442 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65443 /dev/null.
65444
65445 2012-10-22 Andreas Jaeger <aj@suse.de>
65446
65447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65448 Define always.
65449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65450
65451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65452 bits/fcntl-linux.h.
65453
65454 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65455 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65456
65457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65458 to __O_LARGEFILE.
65459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65460 to __O_LARGEFILE.
65461
65462 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65463 Joseph Myers <joseph@codesourcery.com>
65464
65465 * config.make.in (NM): New variable.
65466
65467 2012-10-21 Andreas Jaeger <aj@suse.de>
65468
65469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65470 definitions and declarations that are provided by
65471 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65472
65473 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65474
65475 [BZ #14683]
65476 * elf/Makefile (tests-static): Add tst-leaks1-static.
65477 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65478 ($(objpfx)tst-leaks1-static): New rule.
65479 ($(objpfx)tst-leaks1-static-mem): Likewise.
65480 (tst-leaks1-static-ENV): New macro.
65481 * elf/dl-open.c (dl_open_worker): Check the main application
65482 only if SHARED is defined.
65483 * elf/tst-leaks1-static.c: New file.
65484
65485 2012-10-20 Andreas Jaeger <aj@suse.de>
65486
65487 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65488 generic values for Linux.
65489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65490 and declarations that are provided by <bits/fcntl-linux.h> and
65491 include <bits/fcntl-linux.h>.
65492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65494
65495 2012-10-20 Roland McGrath <roland@hack.frob.com>
65496
65497 * io/fcntl.h: Move include of <bits/types.h> to the top and
65498 include it unconditionally.
65499
65500 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65501
65502 * wcsmbs/Makefile (tests-ifunc): New variable.
65503 (tests): Add $(tests-ifunc).
65504 * wcsmbs/test-wcschr-ifunc.c: New file.
65505 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65506 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65507 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65508 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65509 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65510
65511 * string/Makefile (tests-ifunc): New variable.
65512 (tests): Add $(tests-ifunc).
65513 * string/test-memccpy.c (TEST_NAME): New macro.
65514 * string/test-memchr.c (TEST_NAME): Likewise.
65515 * string/test-memcmp.c (TEST_NAME): Likewise.
65516 * string/test-memcpy.c (TEST_NAME): Likewise.
65517 * string/test-memmem.c (TEST_NAME): Likewise.
65518 * string/test-memmove.c (TEST_NAME): Likewise.
65519 * string/test-memset.c (TEST_NAME): Likewise.
65520 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65521 * string/test-stpcpy.c (TEST_NAME): Likewise.
65522 * string/test-stpncpy.c (TEST_NAME): Likewise.
65523 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65524 * string/test-strcasestr.c (TEST_NAME): Likewise.
65525 * string/test-strcat.c (TEST_NAME): Likewise.
65526 * string/test-strchr.c (TEST_NAME): Likewise.
65527 * string/test-strcmp.c(TEST_NAME): Likewise.
65528 * string/test-strcpy.c (TEST_NAME): Likewise.
65529 * string/test-strcspn.c (TEST_NAME): Likewise.
65530 * string/test-strlen.c (TEST_NAME): Likewise.
65531 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65532 * string/test-strncmp.c (TEST_NAME): Likewise.
65533 * string/test-strncpy.c (TEST_NAME): Likewise.
65534 * string/test-strnlen.c (TEST_NAME): Likewise.
65535 * string/test-strpbrk.c (TEST_NAME): Likewise.
65536 * string/test-strrchr.c (TEST_NAME): Likewise.
65537 * string/test-strspn.c (TEST_NAME): Likewise.
65538 * string/test-strstr.c (TEST_NAME): Likewise.
65539 * string/test-bcopy-ifunc.c: New file.
65540 * string/test-bzero-ifunc.c: Likewise.
65541 * string/test-memccpy-ifunc.c: Likewise.
65542 * string/test-memchr-ifunc.c: Likewise.
65543 * string/test-memcmp-ifunc.c: Likewise.
65544 * string/test-memcpy-ifunc.c: Likewise.
65545 * string/test-memmem-ifunc.c: Likewise.
65546 * string/test-memmove-ifunc.c: Likewise.
65547 * string/test-mempcpy-ifunc.c: Likewise.
65548 * string/test-memset-ifunc.c: Likewise.
65549 * string/test-rawmemchr-ifunc.c: Likewise.
65550 * string/test-stpcpy-ifunc.c: Likewise.
65551 * string/test-stpncpy-ifunc.c: Likewise.
65552 * string/test-strcasecmp-ifunc.c: Likewise.
65553 * string/test-strcasestr-ifunc.c: Likewise.
65554 * string/test-strcat-ifunc.c: Likewise.
65555 * string/test-strchr-ifunc.c: Likewise.
65556 * string/test-strchrnul-ifunc.c: Likewise.
65557 * string/test-strcmp-ifunc.c: Likewise.
65558 * string/test-strcpy-ifunc.c: Likewise.
65559 * string/test-strcspn-ifunc.c: Likewise.
65560 * string/test-strlen-ifunc.c: Likewise.
65561 * string/test-strncasecmp-ifunc.c: Likewise.
65562 * string/test-strncat-ifunc.c: Likewise.
65563 * string/test-strncmp-ifunc.c: Likewise.
65564 * string/test-strncpy-ifunc.c: Likewise.
65565 * string/test-strnlen-ifunc.c: Likewise.
65566 * string/test-strpbrk-ifunc.c: Likewise.
65567 * string/test-strrchr-ifunc.c: Likewise.
65568 * string/test-strspn-ifunc.c: Likewise.
65569 * string/test-strstr-ifunc.c: Likewise.
65570
65571 * debug/Makefile (tests-ifunc): New variable.
65572 (tests): Add $(tests-ifunc).
65573 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65574 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65575 * debug/test-stpcpy_chk-ifunc.c: New file.
65576 * debug/test-strcpy_chk-ifunc.c: Likewise.
65577
65578 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65579
65580 [BZ #13601]
65581 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65582 header is not read in.
65583
65584 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65585
65586 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65587 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65588 directly. Pass built executable to script as
65589 $(built-program-cmd).
65590 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65591 $testprogram without using LD_LIBRARY_PATH and $ldso.
65592
65593 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65594 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65595 $(rtld-installed-name).
65596 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65597 (rtld_installed_name): Likewise.
65598 (library_path): Likewise.
65599 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65600 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65601 $(run-program-prefix) to tst-tables.sh.
65602 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65603 it to run tst-table-from and tst-table-to.
65604 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65605 Pass it to tst-table.sh.
65606 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65607 $(run-program-prefix) to tst-gettext.sh.
65608 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65609 tst-translit.sh.
65610 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65611 tst-gettext2.sh.
65612 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65613 to run tst-gettext.
65614 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65615 to run tst-gettext2.
65616 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65617 to run tst-translit.
65618 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65619 $(run-program-prefix) to tst-mtrace.sh.
65620 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65621 to run tst-mtrace.
65622 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65623 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65624 $(rtld-installed-name).
65625 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65626 (rtld_installed_name): Likewise.
65627 (run_program_prefix): New variable. Use it to run wordexp-test.
65628
65629 * Makeconfig (ARCH): Remove all definitions.
65630 (machine): Likewise.
65631 [ARCH]: Remove conditional code.
65632 [!objdir]: Give error.
65633 [!objdir] (objpfx): Remove.
65634 [!objdir] (common-objpfx): Likewise.
65635 [!objdir] (common-objdir): Likewise.
65636 * configure.in (config_makefile): Remove. Hardcode Makefile in
65637 AC_CONFIG_FILES call.
65638 * configure: Regenerated.
65639
65640 [BZ #13888]
65641 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65642 or TMPDIR.
65643 (testout): Likewise.
65644
65645 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65646 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65647 $(rtld-installed-name).
65648 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65649 (rtld_installed_name): Likewise.
65650 (runit): Remove function.
65651 (run_getconf): New variable, Use it for running getconf binary.
65652
65653 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65654
65655 [BZ #14716]
65656 * string/test-memmem.c (check_result): New function.
65657 (do_one_test): Use it.
65658 (check1): New function.
65659 (test_main): Use it.
65660
65661 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65662
65663 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65664
65665 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65666
65667 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65668 (_G_LSEEK64): Likewise.
65669 (_G_MMAP64): Likewise.
65670 (_G_FSTAT64): Likewise.
65671 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65672 (_G_LSEEK64): Likewise.
65673 (_G_MMAP64): Likewise.
65674 (_G_FSTAT64): Likewise.
65675 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65676 unconditional. Call __mmap64 directly.
65677 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65678 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65679 __lseek64 directly.
65680 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65681 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65682 __mmap64 directly.
65683 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65684 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65685 __lseek64 directly.
65686 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65687 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65688 __lseek64 directly.
65689 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65690 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65691 __lseek64 directly.
65692 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65693 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65694 __fxstat64 directly.
65695 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65696 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65697 unconditional.
65698 (freopen64) [!_G_OPEN64]: Remove conditional code.
65699 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65700 unconditional.
65701 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65702 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65703 unconditional.
65704 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65705 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65706 unconditional.
65707 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65708 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65709 unconditional.
65710 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65711 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65712 unconditional.
65713 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65714 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65715 unconditional.
65716 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65717 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65718 unconditional.
65719 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65720
65721 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65722
65723 [BZ #12140]
65724 * manual/memory.texi (Malloc Tunable Parameters): Add note
65725 about free list pointers overwriting some perturb bytes.
65726 Wording suggested by Roland McGrath.
65727
65728 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65729
65730 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65731 (lgamma_test): Likewise.
65732 (tgamma_test): Likewise.
65733
65734 2012-10-16 Florian Weimer <fweimer@redhat.com>
65735
65736 [BZ #14700]
65737 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65738 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65739
65740 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65741
65742 * NEWS: Mention BZ #14716.
65743 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65744 when removing AVAILABLE1_USES_J macro.
65745
65746 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65747
65748 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65749 (__bswap_64): __uint64_t for unsigned 64-bit int.
65750
65751 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65752
65753 * include/string.h (memmem): Declare libc hidden alias.
65754 * string/memmem.c (memmem): Define libc hidden alias.
65755 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65756 __read, __close instead of open, read, close.
65757
65758 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65759
65760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65761 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65762 global and hidden.
65763 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65764 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65765 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65766 Likewise.
65767 (__rawmemchr_sse2): Likewise.
65768 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65769 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65770 (__strchr_sse2): Likewise.
65771 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65772 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65773 (__strcasecmp_sse2): Likewise.
65774 (__strncasecmp_sse2): Likewise.
65775 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65776 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65777 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65778 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65779 (__strrchr_sse2): Likewise.
65780 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65781 ifunc-impl-list.c.
65782 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65783 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65784 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65785 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65786 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65788 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65789 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65790 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65791 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65792 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65793 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65794 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65795 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65796 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65797 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65798 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65799 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65800 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65801 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65802 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65803 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65804 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65805 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65806 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65807 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65808 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65809 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65810 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65811 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65812
65813 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65814 global and hidden.
65815 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65816 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65817 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65818 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65819 Likewise.
65820 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65821 Likewise.
65822 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65823 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65824 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65825 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65826 ifunc-impl-list.c.
65827 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65828 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65829 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65830 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65831 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65832 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65833 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65834 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65835 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65836 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65837 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65838 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65839 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65840 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65841 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65843 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65844 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65845 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65846 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65847 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65848 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65849 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65850 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65851 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65852 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65853 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65854 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65855 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65856 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65857 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65858 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65859 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65860 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65867 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65868
65869 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65870 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65871 * include/ifunc-impl-list.h: New file.
65872 * misc/ifunc-impl-list.c: Likewise.
65873 * misc/Makefile (routines): Add ifunc-impl-list.
65874 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65875 * string/test-string.h: Include <ifunc-impl-list.h>.
65876 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65877 TEST_NAME]: New variables.
65878 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65879 are defined.
65880 (test_init): Call __libc_ifunc_impl_list to initialize
65881 func_list if TEST_IFUNC and TEST_NAME are defined.
65882
65883 * string/Makefile (strop-tests): Add bcopy and bzero.
65884 * string/test-bcopy.c: New file.
65885 * string/test-bzero.c: Likewise.
65886 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65887 defined.
65888 * string/test-memset.c: Support bzero test if TEST_BZERO is
65889 defined.
65890 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65891 __libc_memmove.
65892 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65893 __libc_memset.
65894 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65895 of memset.
65896
65897 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65898
65899 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65900 * configure: Regenerated.
65901
65902 * Makeconfig (+link-static-before-libc): Don't include
65903 $(link-static-libc).
65904
65905 * libio/libio.h (_IO_pos_t): Remove.
65906
65907 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65908
65909 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65910 McGrath.
65911
65912 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65913
65914 * crypt/crypt-entry.c: Include fips-private.h.
65915 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65916 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65917 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65918 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65919
65920 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65921
65922 * crypt/crypt-private.h: Include stdbool.h.
65923 (_ufc_setup_salt_r): Return bool.
65924 * crypt/crypt-entry.c: Include errno.h.
65925 (__crypt_r): Return NULL with EINVAL for bad salt.
65926 * crypt/crypt_util.c (bad_for_salt): New.
65927 (_ufc_setup_salt_r): Check that salt is long enough and within
65928 the specified alphabet.
65929 * crypt/badsalttest.c: New file.
65930 * crypt/Makefile (tests): Add it.
65931 ($(objpfx)badsalttest): New.
65932
65933 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65934
65935 * NEWS: Add entry for BZ #14602.
65936
65937 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65938
65939 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65940 type-generic.
65941 * math/libm-test.inc: Update comment listing what functions and
65942 macros are tested.
65943 (isgreater_test): New function.
65944 (isgreaterequal_test): Likewise.
65945 (isless_test): Likewise.
65946 (islessequal_test): Likewise.
65947 (islessgreater_test): Likewise.
65948 (isunordered_test): Likewise.
65949 (main): Call the new functions.
65950
65951 2012-10-09 Roland McGrath <roland@hack.frob.com>
65952
65953 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65954 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65955 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65956 * sysdeps/i386/configure: Regenerated.
65957 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65958 * sysdeps/mach/configure: Regenerated.
65959 * sysdeps/mach/hurd/configure: Regenerated.
65960 * sysdeps/powerpc/configure: Regenerated.
65961 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65962 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65963 * sysdeps/s390/s390-32/configure: Regenerated.
65964 * sysdeps/s390/s390-64/configure: Regenerated.
65965 * sysdeps/sh/configure: Regenerated.
65966 * sysdeps/sparc/configure: Regenerated.
65967 * sysdeps/unix/sysv/linux/configure: Regenerated.
65968 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65969 * sysdeps/x86_64/configure: Regenerated.
65970
65971 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65972 defined. Don't check if MAP is NULL.
65973
65974 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65975
65976 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65977 (_G_stat64): Likewise.
65978 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65979 (_G_stat64): Likewise.
65980 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65981 instead of struct _G_stat64.
65982 * libio/fileops.c (mmap_remap_check): Likewise.
65983 (decide_maybe_mmap): Likewise.
65984 (_IO_new_file_seekoff): Likewise.
65985 (_IO_file_stat): Likewise.
65986 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65987 _G_off64_t.
65988 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65989 instead of struct _G_stat64.
65990 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65991
65992 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65993
65994 [BZ #14602]
65995 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65996 Replace with ...
65997 (CHECK_EOL): New macro.
65998 (two_way_short_needle): Check beginning of haystack for EOL. Use
65999 CHECK_EOL.
66000 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66001 Replace with CHECK_EOL.
66002 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66003 Replace with CHECK_EOL.
66004
66005 2012-10-08 Joseph Myers <joseph@codesourcery.com>
66006
66007 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66008 type-generic.
66009 * math/libm-test.inc: Update comment listing what functions and
66010 macros are tested.
66011 (finite_test): New function.
66012 (isinf_test): Likewise.
66013 (isnan_test): Likewise.
66014 (fpclassify_test): Test subnormal input.
66015 (isfinite_test): Likewise.
66016 (isnormal_test): Likewise.
66017 (main): Call the new functions.
66018
66019 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
66020
66021 [BZ #14660]
66022 * Makerules (%.dynsym): Force C locale when running
66023 $(OBJDUMP) --dynamic-syms.
66024
66025 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
66026
66027 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66028 <stdint.h>.
66029
66030 2012-10-06 David S. Miller <davem@davemloft.net>
66031
66032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66033 upper 32-bits of the length value in %o2 since we use branch-on-register
66034 tests which consider the entire 64-bit register.
66035
66036 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
66037
66038 * string/test-strstr.c (check2): Add a test for page boundary.
66039
66040 2012-10-05 David S. Miller <davem@davemloft.net>
66041
66042 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66043 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66044 file.
66045 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66046 sysdep_routines.
66047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66048 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66049 and bzero when HWCAP_SPARC_CRYPTO is present.
66050
66051 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
66052
66053 [BZ #14602]
66054 * string/test-strstr.c (check2): New function.
66055 (test_main): Call check2.
66056
66057 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66058 and bug-strchr1.
66059 * string/bug-strcasestr1.c (do_test): Moved to ...
66060 * string/test-strcasestr.c (check1): Here. New function.
66061 (do_one_test): Break out result checking code into ...
66062 (check_result): This. New function.
66063 (do_one_test): Call check_result.
66064 (test_main): Call check1.
66065 * string/bug-strchr1.c (do_test): Moved to ...
66066 * string/test-strchr.c (check1): Here. New function.
66067 (do_one_test): Break out result checking code into ...
66068 (check_result): This. New function.
66069 (do_one_test): Call check_result.
66070 (test_main): Call check1.
66071 * string/bug-strstr1.c (main): Moved to ...
66072 * string/test-strstr.c (check1): Here. New function.
66073 (do_one_test): Break out result checking code into ...
66074 (check_result): This. New function.
66075 (do_one_test): Call check_result.
66076 (test_main): Call check1.
66077 * string/bug-strcasestr1.c: Removed.
66078 * string/bug-strchr1.c: Likewise.
66079 * string/bug-strstr1.c: Likewise.
66080
66081 * elf/Makefile (dl-routines): Add hwcaps.
66082 * elf/dl-support.c (_dl_important_hwcaps): Removed.
66083 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66084 (_dl_important_hwcaps): Moved to ...
66085 * elf/dl-hwcaps.c: Here. New file.
66086 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66087
66088 [BZ #14557]
66089 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66090 if IS_IN_rtld isn't defined.
66091
66092 * elf/dl-support.c (_dl_sysinfo_map): New.
66093 Include "get-dynamic-info.h" and "setup-vdso.h".
66094 (_dl_non_dynamic_init): Call setup_vdso.
66095 * elf/dynamic-link.h: Don't include <assert.h>.
66096 (elf_get_dynamic_info): Moved to ...
66097 * elf/get-dynamic-info.h: Here. New file.
66098 * elf/dynamic-link.h: Include "get-dynamic-info.h".
66099 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66100 * elf/setup-vdso.h: Here. New file.
66101 * elf/rtld.c: Include "setup-vdso.h".
66102 (dl_main): Call setup_vdso.
66103
66104 2012-10-05 Joseph Myers <joseph@codesourcery.com>
66105
66106 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66107 creal in comment listing functions tested. List finite, isinf,
66108 isnan, isless, islessequal, isgreater, isgreaterequal,
66109 islessgreater, isunordered, lgamma_r and pow10 as functions and
66110 macros not tested. Mention which functions not tested are aliases
66111 for other functions. Fix typo. Note that signs of NaNs are not
66112 tested.
66113
66114 * scripts/config.guess: Update from config.git.
66115 * scripts/config.sub: Likewise.
66116
66117 2012-10-04 Roland McGrath <roland@hack.frob.com>
66118
66119 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66120 * misc/madvise.c (madvise): Renamed to __madvise.
66121 Make madvise a weak alias.
66122 * include/sys/mman.h: Declare __madvise.
66123 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66124 * sysdeps/unix/syscalls.list
66125 (madvise): Make __madvise the strong name, and madvise a weak alias.
66126 * sysdeps/unix/sysv/linux/syscalls.list
66127 (madvise, mmap): Remove redundant entries.
66128 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66129 * malloc/malloc.c (mtrim): Likewise.
66130 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66131
66132 2012-10-03 Roland McGrath <roland@hack.frob.com>
66133
66134 * sysdeps/mach/hurd/dl-cache.c: File removed.
66135 * config.h.in (USE_LDCONFIG): New #undef.
66136 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66137 * configure: Regenerated.
66138 * elf/Makefile (dl-routines): Add dl-cache only under
66139 [$(use-ldconfig) = yes].
66140 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66141 cache on [USE_LDCONFIG].
66142 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66143 [USE_LDCONFIG].
66144 * elf/rtld.c (dl_main): Likewise.
66145
66146 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
66147
66148 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66149 _SC_LEVEL4_CACHE_LINESIZE.
66150
66151 2012-10-03 Roland McGrath <roland@hack.frob.com>
66152
66153 * sysdeps/unix/bsd/confstr.h: File removed.
66154
66155 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
66156
66157 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66158 sys/sdt-config.h.
66159
66160 2012-10-02 Roland McGrath <roland@hack.frob.com>
66161
66162 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66163 Make 'mapoff' field ElfW(Off) rather than off_t.
66164
66165 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
66166
66167 * nscd/Makefile: Remove nscd-cflags and all its users.
66168 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66169 (CFLAGS-nonlib): Add compiler flags for nscd modules.
66170
66171 [BZ #10631]
66172 * malloc.c (malloc_printerr): Clarify error message.
66173
66174 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66175
66176 [BZ #14648]
66177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66178 Set bit_FMA_Usable if FMA is supported.
66179 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66180 macro.
66181 (bit_FMA4_Usable): Updated.
66182 (index_FMA_Usable): New macro.
66183 (CPUID_FMA): Likewise.
66184 (HAS_FMA): Defined with bit_FMA_Usable.
66185
66186 2012-10-01 Roland McGrath <roland@hack.frob.com>
66187
66188 * bits/types.h (__swblk_t): Type removed.
66189 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66190 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66192 (__SWBLK_T_TYPE): Likewise.
66193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66194 (__SWBLK_T_TYPE): Likewise.
66195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66196 (__SWBLK_T_TYPE): Likewise.
66197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66198 (__SWBLK_T_TYPE): Likewise.
66199
66200 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66201 Honza Horak <hhorak@redhat.com>
66202
66203 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66204 (xdr_mapname): Use YPMAXMAP as maxsize.
66205 (xdr_peername): Use YPMAXPEER as maxsize.
66206 (xdr_keydat): Use YPAXRECORD as maxsize.
66207 (xdr_valdat): Use YPMAXRECORD as maxsize.
66208
66209 2012-10-01 Roland McGrath <roland@hack.frob.com>
66210
66211 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66212
66213 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66214 * csu/init-first.c: ... here.
66215 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66216 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66217 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66218 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66219 * sysdeps/i386/init-first.c: File removed.
66220 * sysdeps/sh/init-first.c: File removed.
66221
66222 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66223
66224 [BZ #14645]
66225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66226 if x * y might underflow to zero and z is zero.
66227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66229 * math/libm-test.inc (min_subnorm_value): New variable.
66230 (fma_test): Add more tests.
66231 (fma_test_towardzero): Likewise.
66232 (fma_test_downward): Likewise.
66233 (fma_test_upward): Likewise.
66234 (initialize): Set min_subnorm_value.
66235
66236 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66237
66238 [BZ #14638]
66239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66240 0 + 0.
66241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66242 mode for addition resulting in exact zero.
66243 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66245 exact 0 + 0.
66246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66248 * math/libm-test.inc (fma_test): Add more tests.
66249 (fma_test_towardzero): New function.
66250 (fma_test_downward): Likewise.
66251 (fma_test_upward): Likewise.
66252 (main): Call the new functions.
66253
66254 2012-09-28 David S. Miller <davem@davemloft.net>
66255
66256 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66257
66258 2012-09-28 Roland McGrath <roland@hack.frob.com>
66259
66260 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66261 instead of SIGALRM.
66262
66263 * sysdeps/gnu/_G_config.h: Moved to ...
66264 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66265 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66266 * sysdeps/generic/_G_config.h: ... here.
66267
66268 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66269
66270 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66271
66272 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66273 Conditionalize target on [libnss_test1.so-version].
66274
66275 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66276
66277 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66278 (elfobjdir): Move out of conditionals.
66279
66280 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66281 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66282 (__nss_lookup_function): Conditionalize label remove_from_tree on
66283 [!DO_STATIC_NSS || SHARED], matching its only use.
66284
66285 2012-09-28 David S. Miller <davem@davemloft.net>
66286
66287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66288 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66289 file.
66290 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66291 sysdep_routines.
66292 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66294 when HWCAP_SPARC_CRYPTO is present.
66295
66296 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66297
66298 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66299
66300 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66301
66302 [BZ #6530]
66303 * stdio-common/vfprintf.c (process_string_arg): Revert
66304 2000-07-22 change.
66305
66306 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66307
66308 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66309 for testcase.
66310 * stdio-common/tst-sprintf.c: Include <locale.h>
66311 (main): Test sprintf's handling of incomplete multibyte
66312 characters.
66313
66314 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66315
66316 * elf/dl-runtime.c (VERSYMIDX): Removed.
66317 * elf/dl-version.c (VERSYMIDX): Likewise.
66318 * elf/do-rel.h (VERSYMIDX): Likewise.
66319 (VALIDX): Likewise.
66320 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66321 * elf/rtld.c (VALIDX): Likewise.
66322 (ADDRIDX): Likewise.
66323 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66324 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66325 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66326 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66327 (VALIDX): Likewise.
66328 (ADDRIDX): Likewise.
66329
66330 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66331
66332 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66333
66334 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66335
66336 [BZ #11438]
66337 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66338 to global scope.
66339 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66340 addresses are in the same scope as 192.0.2/24.
66341 * posix/gai.conf: Document new scope table defaults.
66342
66343 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66344
66345 [BZ #5298]
66346 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66347 for ftell. Compute offsets from write pointers instead.
66348 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66349
66350 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66351
66352 [BZ #14543]
66353 * libio/Makefile (tests): New test case tst-fseek.
66354 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66355 combination works in wide mode.
66356 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66357 state when the external buffer state changes.
66358
66359 2012-09-27 David S. Miller <davem@davemloft.net>
66360
66361 [BZ #14376]
66362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66363 pass reloc->r_addend in as the 'high' argument to
66364 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66365
66366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66367
66368 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66369
66370 * rt/tst-aio2.c: Include <pthread.h>.
66371 * rt/tst-aio3.c: Likewise.
66372
66373 2012-09-27 Steve Ellcey <sellcey@mips.com>
66374
66375 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66376
66377 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66378
66379 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66380 contents on [SHARED].
66381
66382 2012-09-26 Marek Polacek <polacek@redhat.com>
66383
66384 [BZ #14530]
66385 [BZ #13741]
66386 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66387 for C++ and GCC <4.3 as well as for non GCC compilers.
66388
66389 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66390
66391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66392
66393 2012-09-25 Roland McGrath <roland@hack.frob.com>
66394
66395 * Makefile.in (all, install): Declare with .PHONY.
66396 Reported by Michael Hope <michael.hope@linaro.org>.
66397
66398 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66399
66400 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66401 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66402 system header.
66403 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66404 Likewise.
66405 (sydep_routines): Add the new and the internal functions.
66406 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66407 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66409 (GLIBC_2.17): Add the new function.
66410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66411 (GLIBC_2.17): Likewise.
66412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66413 (GLIBC_2.17): Likewise.
66414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66415 (GLIBC_2.17): Likewise.
66416 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66417
66418 2012-09-25 Alan Modra <amodra@gmail.com>
66419
66420 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66421 Add release barrier before setting once_control to say
66422 initialisation is done. Add hints on lwarx. Use macro in
66423 place of isync.
66424 (clear_once_control): Add release barrier.
66425
66426 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66427
66428 [BZ #13629]
66429 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66430 specially.
66431 * math/s_clog10.c (__clog10): Likewise.
66432 * math/s_clog10f.c (__clog10f): Likewise.
66433 * math/s_clog10l.c (__clog10l): Likewise.
66434 * math/s_clogf.c (__clogf): Likewise.
66435 * math/s_clogl.c (__clogl): Likewise.
66436 * math/Makefile (libm-calls): Add x2y2m1.
66437 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66438 (__x2y2m1): Likewise.
66439 (__x2y2m1l): Likewise.
66440 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66441 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66442 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66444 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66445 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66446 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66447 * sysdeps/i386/fpu/libm-test-ulps: Update.
66448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66449
66450 [BZ #14621]
66451 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66452 int as type of variable DEPTH.
66453 (glob): Use size_t instead of int as type of variables NEWCOUNT
66454 and OLD_PATHC.
66455
66456 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66457
66458 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66459 Add s_sincosf-sse2.
66460 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66461 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66462 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66463 macros for using routine as __sincosf_ia32.
66464 Use macro for function declaration and weak_alias.
66465 * sysdeps/i386/fpu/libm-test-ulps: Update.
66466
66467 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66469
66470 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66471 subnormal argument.
66472 * math/s_cexpf.c (__cexpf): Likewise.
66473 * math/s_csinf.c (__csinf): Likewise.
66474 * math/s_csinhf.c (__csinhf): Likewise.
66475 * math/s_ctanf.c (__ctanf): Likewise.
66476 * math/s_ctanhf.c (__ctanhf): Likewise.
66477 * math/s_ccosh.c (__ccoshf): Likewise.
66478 * math/s_cexp.c (__cexpl): Likewise.
66479 * math/s_csin.c (__csin): Likewise.
66480 * math/s_csinh.c (__csinh): Likewise.
66481 * math/s_ctan.c (__ctan): Likewise.
66482 * math/s_ctanh.c (ctanh): Likewise.
66483 * math/s_ccoshl.c (__ccoshl): Likewise.
66484 * math/s_cexpl.c (__cexpl): Likewise.
66485 * math/s_csinl.c (__csinl): Likewise.
66486 * math/s_csinhl.c (__csinhl): Likewise.
66487 * math/s_ctanl.c (__ctanl): Likewise.
66488 * math/s_ctanhl.c (__ctanhl): Likewise.
66489
66490 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66491
66492 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66493 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66494 (_IO_off_t): Define to __off_t, not _G_off_t.
66495 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66496 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66497 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66498 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66499 type of __dummy and __dummy2 fields.
66500 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66501 (_G_ssize_t): Likewise.
66502 (_G_off_t): Likewise.
66503 (_G_pid_t): Likewise.
66504 (_G_uid_t): Likewise.
66505 (_G_wchar_t): Likewise.
66506 (_G_wint_t): Likewise.
66507 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66508 (_G_ssize_t): Likewise.
66509 (_G_off_t): Likewise.
66510 (_G_pid_t): Likewise.
66511 (_G_uid_t): Likewise.
66512 (_G_wchar_t): Likewise.
66513 (_G_wint_t): Likewise.
66514 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66515 (_G_ssize_t): Likewise.
66516 (_G_off_t): Likewise.
66517 (_G_pid_t): Likewise.
66518 (_G_uid_t): Likewise.
66519 (_G_wchar_t): Likewise.
66520 (_G_wint_t): Likewise.
66521
66522 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66523
66524 * malloc/arena.c: Include malloc-sysdep.h.
66525 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66526 is sufficient to shrink the heap or an unmap is needed.
66527 * sysdeps/generic/malloc-sysdep.h: New file. Define
66528 new function check_may_shrink_heap.
66529 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66530 new function check_may_shrink_heap.
66531
66532 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66533
66534 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66535 comments.
66536
66537 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66538
66539 * catgets/test-gencat.sh: Add "set -e".
66540 * elf/tst-pathopt.sh: Likewise.
66541 * grp/tst_fgetgrent.sh: Likewise.
66542 * iconvdata/run-iconv-test.sh: Likewise.
66543 * intl/tst-gettext.sh: Likewise.
66544 * intl/tst-gettext2.sh: Likewise.
66545 * intl/tst-gettext4.sh: Likewise.
66546 * intl/tst-gettext6.sh: Likewise.
66547 * intl/tst-translit.sh: Likewise.
66548 * io/ftwtest-sh: Likewise.
66549 * libio/test-freopen.sh: Likewise.
66550 * malloc/tst-mtrace.sh: Likewise.
66551 * posix/globtest.sh: Likewise.
66552 * posix/tst-getconf.sh: Likewise.
66553 * posix/wordexp-tst.sh: Likewise.
66554 * stdio-common/tst-printf.sh: Likewise.
66555 * stdio-common/tst-unbputc.sh: Likewise.
66556 * stdlib/tst-fmtmsg.sh: Likewise.
66557 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66558 * catgets/Makefile: Do not specify -e option when running
66559 testsuite shell scripts.
66560 * elf/Makefile: Likewise.
66561 * grp/Makefile: Likewise.
66562 * iconvdata/Makefile: Likewise.
66563 * intl/Makefile: Likewise.
66564 * io/Makefile: Likewise.
66565 * libio/Makefile: Likewise.
66566 * malloc/Makefile: Likewise.
66567 * posix/Makefile: Likewise.
66568 * stdio-common/Makefile: Likewise.
66569 * stdlib/Makefile: Likewise.
66570 * sysdeps/x86_64/Makefile: Likewise.
66571
66572 * io/ftwtest-sh: Add copyright header.
66573 * posix/globtest.sh: Likewise.
66574 * posix/tst-getconf.sh: Likewise.
66575 * posix/wordexp-tst.sh: Likewise.
66576 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66577
66578 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66579
66580 [BZ #13679]
66581 * Makeconfig (+link): Defined as $(+link-static) if
66582 $(build-shared) isn't yes.
66583 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66584 isn't yes.
66585 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66586
66587 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66588
66589 [BZ #14562]
66590 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66591 new chunk size with MALLOC_ALIGN_MASK.
66592
66593 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66594
66595 [BZ #5044]
66596 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66597 <rounding-mode.h>.
66598 (__printf_fphex): Determine rounding using get_rounding_mode and
66599 round_away.
66600 * stdio-common/tst-printf-round.c (struct hex_test): New
66601 structure.
66602 (hex_tests): New variable.
66603 (test_hex_in_one_mode): New function.
66604 (do_test): Also run tests for hex float output.
66605
66606 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66607
66608 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66609 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66610 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66611 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66612 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66613 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66614 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66616
66617 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66618
66619 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66620 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66621 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66622 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66623
66624 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66625
66626 [BZ #14579]
66627 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66628 mode only.
66629 * elf/tst-rtld-load-self.sh: New test.
66630 * elf/Makefile: Run it.
66631
66632 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66633
66634 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66635 (tst-writev-ENV): Remove.
66636 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66637
66638 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66639
66640 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66641
66642 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66643
66644 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66645 unconditional.
66646 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66647 Likewise.
66648 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66649 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66650 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66651 Likewise.
66652
66653 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66654
66655 [BZ #14587]
66656 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66657 * config.make.in (have-cpp-asm-debuginfo): Removed.
66658 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66659 * configure: Regenerated.
66660
66661 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66662
66663 [BZ #5044]
66664 * stdio-common/printf_fp.c: Include <stdbool.h> and
66665 <rounding-mode.h>.
66666 (___printf_fp): Determine rounding using get_rounding_mode and
66667 round_away.
66668 * stdio-common/tst-printf-round.c: New file.
66669 * stdio-common/Makefile (tests): Add tst-printf-round.
66670 (link-libm): New variable.
66671 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66672
66673 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66674
66675 [BZ #14576]
66676 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66677 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66678 Likewise.
66679 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66680 Likewise.
66681
66682 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66683
66684 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66685 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66686 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66688
66689 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66690
66691 [BZ #14518]
66692 * include/rounding-mode.h: New file.
66693 * sysdeps/generic/get-rounding-mode.h: Likewise.
66694 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66695 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66696 (MAX_VALUE): New macro.
66697 (MIN_VALUE): Likewise.
66698 (overflow_value): New function.
66699 (underflow_value): Likewise.
66700 (round_and_return): Use overflow_value and underflow_value to
66701 determine return values in overflow and underflow cases. Use
66702 round_away to determine rounding depending on rounding mode.
66703 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66704 determine return values in overflow and underflow cases.
66705 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66706 (struct test_results): New structure.
66707 (struct test): Use struct test_results to store expected results
66708 for all rounding modes.
66709 (TEST): Include expected results for all rounding modes.
66710 (test_in_one_mode): New function.
66711 (do_test): Use test_in_one_mode to compute and check results.
66712 Check results for all rounding modes.
66713 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66714 $(link-libm).
66715
66716 2012-12-09 Allan McRae <allan@archlinux.org>
66717
66718 * sysdeps/i386/fpu/libm-test-ulps: Update
66719
66720 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66721
66722 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66723 (_G_int32_t): Likewise.
66724 (_G_uint16_t): Likewise.
66725 (_G_uint32_t): Likewise.
66726 (_G_HAVE_BOOL): Likewise.
66727 (_G_HAVE_ATEXIT): Likewise.
66728 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66729 (_G_HAVE_IO_FILE_OPEN): Likewise.
66730 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66731 (_G_int32_t): Likewise.
66732 (_G_uint16_t): Likewise.
66733 (_G_uint32_t): Likewise.
66734 (_G_HAVE_BOOL): Likewise.
66735 (_G_HAVE_ATEXIT): Likewise.
66736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66737 (_G_HAVE_IO_FILE_OPEN): Likewise.
66738 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66739 (_G_int32_t): Likewise.
66740 (_G_uint16_t): Likewise.
66741 (_G_uint32_t): Likewise.
66742 (_G_HAVE_BOOL): Likewise.
66743 (_G_HAVE_ATEXIT): Likewise.
66744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66745 (_G_HAVE_IO_FILE_OPEN): Likewise.
66746
66747 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66748
66749 * csu/libc-tls.c: Update copyright years.
66750
66751 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66752
66753 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66754 [!_G_USING_THUNKS]: Remove conditional code.
66755 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66756 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66757
66758 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66759 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66760 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66761 (_G_VTABLE_LABEL_PREFIX): Likewise.
66762 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66763 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66764 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66765 (_G_VTABLE_LABEL_PREFIX): Likewise.
66766 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66767 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66768 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66769 (_G_VTABLE_LABEL_PREFIX): Likewise.
66770 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66771
66772 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66773
66774 * libio/Makefile: Include ../Makeconfig before tests.
66775 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66776 only if $(build-shared) is yes.
66777
66778 * iconv/gconv_db.c: Update copyright years.
66779
66780 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66781
66782 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66783 unwind info if defined PIC. Fix special cases description.
66784 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66785
66786 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66787 DP_HI_MASK entry.
66788 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66789
66790 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66791
66792 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66793
66794 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66795 is NULL.
66796
66797 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66798 (LDLIBS-tst-chk4): This.
66799 (LDFLAGS-tst-chk5): Renamed to ...
66800 (LDLIBS-tst-chk5): This.
66801 (LDFLAGS-tst-chk6): Renamed to ...
66802 (LDLIBS-tst-chk6): This.
66803 (LDFLAGS-tst-lfschk4): Renamed to ...
66804 (LDLIBS-tst-lfschk4): This.
66805 (LDFLAGS-tst-lfschk5): Renamed to ...
66806 (LDLIBS-tst-lfschk5): This.
66807 (LDFLAGS-tst-lfschk6): Renamed to ...
66808 (LDLIBS-tst-lfschk6): This.
66809
66810 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66811 on $(common-objpfx)soversions.mk.
66812
66813 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66814
66815 [BZ #10014]
66816 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66817 example host name.
66818
66819 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66820
66821 * malloc/arena.c (arena_get_retry): New function that gets
66822 another arena for the caller to try its request on.
66823 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66824 current arena cannot fulfill the request.
66825 (__libc_memalign): Likewise.
66826 (__libc_memalign): Likewise.
66827 (__libc_pvalloc): Likewise.
66828 (__libc_calloc): Likewise.
66829
66830 2012-09-05 John Tobey <john.tobey@gmail.com>
66831
66832 [BZ #13542]
66833 * manual/arith.texi (Operations on Complex): Fix description
66834 of carg branch cut.
66835
66836 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66837
66838 [BZ #10014]
66839 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66840 host name.
66841
66842 [BZ #10038]
66843 * manual/memory.texi (Memory): Make order of menu items match
66844 order of sections.
66845
66846 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66847
66848 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66849 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66850 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66851
66852 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66853
66854 * csu/libc-tls.c (static_dtv): Renamed to ...
66855 (_dl_static_dtv): This. Make it global.
66856 (_dl_initial_dtv): Removed.
66857 (__libc_setup_tls): Updated.
66858 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66859 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66860 DL_INITIAL_DTV.
66861
66862 2012-09-06 Petr Machata <pmachata@redhat.com>
66863
66864 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66865 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66866 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66867 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66868
66869 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66870
66871 [BZ #14545]
66872 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66873 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66874 freeing dtv[-1].
66875
66876 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66877
66878 [BZ #14544]
66879 * Makeconfig (link-static-before-libc): Replace $(+prector)
66880 with $(+prectorT).
66881 (link-static-after-libc): Replace $(+postctor) with
66882 $(+postctorT).
66883 (link-bounded): Replace $(+prector)/$(+postctor) with
66884 $(+prectorT)/$(+postctorT).
66885 (+prectorT): New macro.
66886 (+postctorT): Likewise.
66887
66888 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66889
66890 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66891 (round_str): Handle values above the maximum for IBM long double
66892 as inexact.
66893 * stdlib/tst-strtod-round.c (tests): Regenerated.
66894
66895 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66896
66897 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66898 assembler flag.
66899 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66900 zarch_nohighgprs around the zarch optimized routines.
66901 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66902 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66903 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66904 for zarch.
66905
66906 2012-09-05 David S. Miller <davem@davemloft.net>
66907
66908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66909
66910 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66911 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66912 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66913 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66914 entries.
66915
66916 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66917
66918 * malloc/arena.c: Fold copyright years.
66919 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66920
66921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66922
66923 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66924
66925 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66926
66927 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66928
66929 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66930
66931 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66932 change internal state upon failure.
66933
66934 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66935
66936 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66937 * malloc/memusage.c (mmap): Likewise.
66938 (mmap64, mremap): Likewise. Adjust name in comment.
66939
66940 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66941
66942 * libio/fileops.c: Fix typos in comments.
66943 * libio/oldfileops.c: Likewise.
66944 * libio/wfileops.c: Likewise.
66945
66946 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66947
66948 [BZ #1349]
66949 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66950 (tst-malloc-usable-ENV): Set environment for test case.
66951 * malloc/hooks.c (malloc_check_get_size): New function to get
66952 requested size.
66953 * malloc/malloc.c (musable): Use malloc_check_get_size.
66954 * malloc/tst-malloc-usable.c: New test case.
66955
66956 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66957
66958 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66959
66960 2012-09-05 Allan McRae <allan@archlinux.org>
66961
66962 [BZ #13966]
66963 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66964 determine header location.
66965 * configure: Regenerated.
66966
66967 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66968
66969 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66970 float format.
66971 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66972 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66973 format.
66974 (test): Regenerate.
66975
66976 2012-09-04 David S. Miller <davem@davemloft.net>
66977
66978 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66979 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66980 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66981
66982 2012-09-04 Florian Weimer <fweimer@redhat.com>
66983
66984 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66985 failures.
66986
66987 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66988
66989 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66990
66991 [BZ #9914]
66992 * libio/iogetdelim.c: Include <limits.h>.
66993 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66994 + len + 1 would overflow.
66995
66996 2012-09-03 Andreas Jaeger <aj@suse.de>
66997
66998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66999 * sysdeps/i386/fpu/libm-test-ulps: Update.
67000
67001 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67002
67003 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67004 Add s_sinf-sse2, s_conf-sse2.
67005
67006 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67007 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67008 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67009 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67010
67011 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67012 for using routine as __sinf_ia32.
67013 Use macro for function declaration and weak_alias.
67014 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67015 for using routine as __cosf_ia32.
67016 Use macro for function declaration and weak_alias.
67017
67018 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67019 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67020
67021 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67022 * sysdeps/x86_64/fpu/s_cosf.S: New file.
67023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67024
67025 * math/libm-test.inc (cos_test): Add more test cases.
67026 (sin_test): Likewise.
67027 (sincos_test): Likewise.
67028
67029 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67030
67031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67032 (IFUNC_RESOLVE): Make pointers to the specialized implementations
67033 hidden.
67034 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67035
67036 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
67037
67038 [BZ #14538]
67039 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67040 first element of the GOT.
67041 (elf_machine_load_address): Return the difference between
67042 the runtime address of _DYNAMIC and elf_machine_dynamic ().
67043
67044 2012-09-01 Allan McRae <allan@archlinux.org>
67045
67046 [BZ #13412]
67047 * configure.in (AWK): Require gawk version 3.0 or later.
67048 * configure: Regenerated.
67049
67050 2012-09-01 Joseph Myers <joseph@codesourcery.com>
67051
67052 * sysdeps/unix/sysv/linux/kernel-features.h
67053 (__ASSUME_POSIX_CPU_TIMERS): Remove.
67054 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67055 [__NR_clock_getres]: Make code unconditional.
67056 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67057 (clock_getcpuclockid): Remove code left unreachable by removal of
67058 conditionals.
67059 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67060 code unconditional.
67061 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67062 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67063 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67064 Make code unconditional.
67065 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67066 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67067 * sysdeps/unix/sysv/linux/clock_settime.c
67068 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67069 conditional code.
67070 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67072
67073 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
67074
67075 [BZ #14476]
67076 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67077 scripts/test-installation.pl.
67078
67079 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67080 and $ld_so_version if it is set.
67081
67082 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67083
67084 [BZ #14516]
67085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67086 failure if reading from procfs failed.
67087 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67088
67089 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67090
67091 * sysdeps/unix/sysv/linux/kernel-features.h
67092 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67093 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67094 Remove conditional code.
67095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67096 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67097 Remove conditional code.
67098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67099 * sysdeps/unix/sysv/linux/i386/fxstat.c
67100 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67102 * sysdeps/unix/sysv/linux/i386/fxstatat.c
67103 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67105 * sysdeps/unix/sysv/linux/i386/lxstat.c
67106 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67108 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67109 Remove conditional code.
67110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67111 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67112 Remove conditional code.
67113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67114 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67115 <kernel-features.h>.
67116 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67117 Remove.
67118 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67119 Remove conditional code.
67120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67121 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67122 Remove conditional.
67123
67124 2012-08-27 Mike Frysinger <vapier@gentoo.org>
67125
67126 [BZ #5400]
67127 * NEWS: Add fixed bug number.
67128
67129 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67130
67131 [BZ #14519]
67132 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67133 underflowing exponent in case of negative sign.
67134 * stdlib/tst-strtod-round-data: Add more tests.
67135 * stdlib/tst-strtod-round.c (tests): Regenerated.
67136
67137 [BZ #3479]
67138 * stdlib/strtod_l.c (NDIG): Remove.
67139 (HEXNDIG): Likewise.
67140 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67141 smallest representable value.
67142 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67143 lie within an exact representation of 1/2 ulp of the result.
67144 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67145 unconditionally.
67146 (TENS_P9_IDX): Define unconditionally.
67147 (TENS_P9_SIZE): Likewise.
67148 (TENS_P10_IDX): Likewise.
67149 (TENS_P10_SIZE): Likewise.
67150 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67151 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67152 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67153 entries for 10^2^13 and 10^2^14.
67154 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67155 (TENS_P13_IDX): Define.
67156 (TENS_P13_SIZE): Likewise.
67157 (TENS_P14_IDX): Likewise.
67158 (TENS_P14_SIZE): Likewise.
67159 (_fpioconst_pow10): Change array size to
67160 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
67161 unconditional.
67162 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67163 1024]: Add entries for 10^2^13 and 10^2^14.
67164 [LAST_POW10 > _LAST_POW10]: Remove #error.
67165 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67166 (_fpioconst_pow10): Change array size to
67167 FPIOCONST_POW10_ARRAY_SIZE.
67168 * stdlib/gen-fpioconst.c: New file.
67169 * stdlib/gen-tst-strtod-round.c: Likewise.
67170 * stdlib/tst-strtod-round-data: Likewise.
67171 * stdlib/tst-strtod-round.c: Likewise.
67172 * stdlib/Makefile (tests): Add tst-strtod-round.
67173
67174 [BZ #14459]
67175 * stdlib/strtod_l.c: Include <stdint.h>.
67176 (NDEBUG): Do not define.
67177 (round_and_return): Change EXPONENT parameter to type intmax_t.
67178 Rearrange calculations to avoid internal overflow possibilities.
67179 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67180 Rearrange calculations to avoid internal overflow possibilities.
67181 Assert that number fits inside MPNSIZE limbs.
67182 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67183 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67184 calculations and add assertions to avoid internal overflow
67185 possibilities. Add casts to avoid signed/unsigned operations.
67186 * stdlib/tst-strtod-overflow.c: New file.
67187 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67188
67189 2012-08-25 Marek Polacek <polacek@redhat.com>
67190
67191 * time/time.h: Fix some typos in comments.
67192
67193 2012-08-23 Roland McGrath <roland@hack.frob.com>
67194
67195 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67196 * posix/tst-rfc3484-2.c: Likewise.
67197 * posix/tst-rfc3484-3.c: Likewise.
67198
67199 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67200
67201 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67202 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67203
67204 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67205
67206 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67207 #include of fxstatat64.c.
67208
67209 2012-08-22 Roland McGrath <roland@hack.frob.com>
67210
67211 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67212 * shadow/getspent_r.c: Likewise.
67213 * shadow/getspnam.c: Likewise.
67214 * shadow/getspnam_r.c: Likewise.
67215 * gshadow/getsgent.c: Likewise.
67216 * gshadow/getsgent_r.c: Likewise.
67217 * gshadow/getsgnam.c: Likewise.
67218 * gshadow/getsgnam_r.c: Likewise.
67219 * inet/getnetbyad.c: Likewise.
67220 * inet/getnetbyad_r.c: Likewise.
67221 * inet/getnetbynm.c: Likewise.
67222 * inet/getnetbynm_r.c: Likewise.
67223 * inet/getnetent.c: Likewise.
67224 * inet/getnetent_r.c: Likewise.
67225 * inet/getproto.c: Likewise.
67226 * inet/getproto_r.c: Likewise.
67227 * inet/getprtent.c: Likewise.
67228 * inet/getprtent_r.c: Likewise.
67229 * inet/getprtname.c: Likewise.
67230 * inet/getprtname_r.c: Likewise.
67231 * inet/getrpcbyname.c: Likewise.
67232 * inet/getrpcbyname_r.c: Likewise.
67233 * inet/getrpcbynumber.c: Likewise.
67234 * inet/getrpcbynumber_r.c: Likewise.
67235 * inet/getrpcent.c: Likewise.
67236 * inet/getrpcent_r.c: Likewise.
67237 * inet/getaliasent.c: Likewise.
67238 * inet/getaliasent_r.c: Likewise.
67239 * inet/getaliasname.c: Likewise.
67240 * inet/getaliasname_r.c: Likewise.
67241 * nscd/getgrgid_r.c: Likewise.
67242 * nscd/getgrnam_r.c: Likewise.
67243 * nscd/gethstbyad_r.c: Likewise.
67244 * nscd/gethstbynm3_r.c: Likewise.
67245 * nscd/getpwnam_r.c: Likewise.
67246 * nscd/getpwuid_r.c: Likewise.
67247 * nscd/getsrvbynm_r.c: Likewise.
67248 * nscd/getsrvbypt_r.c: Likewise.
67249 * nscd/gai.c: Likewise.
67250
67251 * configure.in (build_nscd): New substituted variable, set
67252 by --disable-build-nscd and defaults to $use_nscd.
67253 * configure: Regenerated.
67254 * config.make.in (build-nscd): New substituted variable.
67255 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67256 Change conditional to require [$(build-nscd) = yes] as well.
67257 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67258
67259 [BZ# 13696]
67260 * configure.in (use_nscd): New substituted variable, set by
67261 --disable-nscd. If enabled, define USE_NSCD.
67262 * configure: Regenerated.
67263 * config.h.in: Add USE_NSCD.
67264 * config.make.in (use-nscd): New substituted variable.
67265 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67266 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67267 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67268 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67269 (CFLAGS-getgrnam_r.c): Likewise.
67270 (CFLAGS-initgroups.c): Likewise.
67271 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67272 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67273 Variables removed.
67274 * inet/getnetgrent_r.c
67275 (nscd_setnetgrent): New function, broken out of ...
67276 (setnetgrent): ... here. Call it.
67277 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67278 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67279 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67280 * nscd/Makefile (routines, aux): Move definitions after include of
67281 Makeconfig. Conditionalize on [$(use-nscd) != no].
67282 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67283 Conditionalize on [USE_NSCD].
67284 (is_nscd, nscd_init_cb): Likewise.
67285 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67286 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67287 * nss/nss_db/db-init.c: Likewise.
67288 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67289 [USE_NSCD].
67290 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67291 (make_request): Use it.
67292 (cache_valid_p): New function.
67293 (__check_pf): Use it.
67294 * NEWS: Add item for --disable-nscd.
67295
67296 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67297
67298 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67299 to support sed >= 4.2.1-20-ga9bf076.
67300 * configure: Regenerated.
67301
67302 2012-08-22 Roland McGrath <roland@hack.frob.com>
67303
67304 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67305 Conditionalize whole body on [IREL].
67306
67307 2012-08-22 Jeff Law <law@redhat.com>
67308
67309 [BZ #14505]
67310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67311 if the family is PF_UNSPEC.
67312
67313 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67314
67315 * Makerules (lib-version): Rename from V.
67316 (install-lib-nosubdir): Change V to lib-version.
67317
67318 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67319
67320 [BZ #14252]
67321 * powerpc32/power6/wcschr.c: New file.
67322 * powerpc32/power6/wcscpy.c: New file.
67323 * powerpc32/power6/wcsrchr.c: New file.
67324 * powerpc64/power6/wcschr.c: New file.
67325 * powerpc64/power6/wcscpy.c: New file.
67326 * powerpc64/power6/wcsrchr.c: New file.
67327
67328 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67329
67330 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67331 (two_way_short_needle): Use it.
67332 * string/strstr.c (AVAILABLE1_USES_J): Define.
67333 * string/strcasestr.c: Likewise.
67334
67335 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67336 array references.
67337 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67338
67339 [BZ #11607]
67340 * NEWS: Add an entry.
67341 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67342 define their defaults.
67343 (two_way_short_needle): Detect end-of-string on-the-fly.
67344 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67345 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67346 * string/bug-strcasestr1.c: New test.
67347 * string/Makefile: Run it.
67348
67349 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67350
67351 [BZ #11607]
67352 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67353 the first character.
67354
67355 2012-08-21 Roland McGrath <roland@hack.frob.com>
67356
67357 * csu/elf-init.c (__libc_csu_irel): Function removed.
67358 * csu/libc-start.c (apply_irel): New function.
67359 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67360
67361 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67362
67363 * sysdeps/unix/sysv/linux/kernel-features.h
67364 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67365 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67366 <kernel-features.h>.
67367 [__NR_fadvise64_64]: Make code unconditional.
67368 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67369 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67370 !__NR_fadvise64_64)]: Likewise.
67371 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67372 !__NR_fadvise64_64))]: Likewise.
67373 [__NR_fadvise64]: Make code unconditional.
67374 [!__NR_fadvise64]: Remove conditional code.
67375 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67376 <kernel-features.h>.
67377 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67378 unconditional.
67379 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67380 conditional code.
67381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67382 not include <kernel-features.h>.
67383 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67384 unconditional.
67385 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67386 conditional code.
67387 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67388 include <kernel-features.h>.
67389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67390 unconditional.
67391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67392 conditional code.
67393
67394 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67395
67396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67397 slight instruction rearrangements per scrollpipe analysis.
67398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67399
67400 2012-08-20 Roland McGrath <roland@hack.frob.com>
67401
67402 * manual/syslog.texi (syslog; vsyslog, closelog):
67403 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67404 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67405
67406 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67407 DSOCAPS to match condition on defining it.
67408
67409 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67410
67411 * sysdeps/unix/sysv/linux/kernel-features.h
67412 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67414 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67415 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67417 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67418 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67420 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67421 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67422
67423 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67424 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67425
67426 * sysdeps/unix/sysv/linux/kernel-features.h
67427 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67428 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67429 unconditional.
67430 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67431 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67432 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67433 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67434 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67435 Make code unconditional.
67436 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67437 (__mmap64) [!__NR_mmap2]: Likewise.
67438 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67439 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67440 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67441 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67442 [__NR_mmap2]: Make code unconditional.
67443 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67444 (__mmap64) [!__NR_mmap2]: Likewise.
67445
67446 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67447
67448 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67449
67450 2012-08-18 Andreas Jaeger <aj@suse.de>
67451
67452 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67453
67454 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67455
67456 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67457 * include/unistd.h (__have_sock_cloexec): Likewise.
67458 (__have_pipe2): Likewise.
67459 (__have_dup3): Likewise.
67460
67461 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67462
67463 [BZ #9685]
67464 * include/unistd.h (__have_pipe2): Change define into an extern int.
67465 (__have_dup3): Likewise.
67466 * socket/have_sock_cloexec.c: Include fcntl.h.
67467 (__have_pipe2): New variable.
67468 (__have_dup3): Likewise.
67469
67470 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67471
67472 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67473
67474 2012-08-17 Marek Polacek <polacek@redhat.com>
67475
67476 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67477 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67478
67479 2012-08-17 Roland McGrath <roland@hack.frob.com>
67480
67481 * configure.in: Add AC_SUBST for sysheaders.
67482 * configure: Regenerated.
67483 * config.make.in (sysheaders): New substituted variable.
67484
67485 * sysdeps/unix/mkfifo.c: Moved ...
67486 * sysdeps/posix/mkfifo.c: ... here.
67487 * sysdeps/unix/mkfifoat.c: Moved ...
67488 * sysdeps/posix/mkfifoat.c: ... here.
67489
67490 * sysdeps/unix/utime.c: Moved ...
67491 * sysdeps/posix/utime.c: ... here.
67492
67493 * sysdeps/unix/time.c: Moved ...
67494 * sysdeps/posix/time.c: ... here.
67495 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67496 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67497
67498 * sysdeps/unix/nice.c: Moved ...
67499 * sysdeps/posix/nice.c: ... here.
67500
67501 * sysdeps/unix/alarm.c: Moved ...
67502 * sysdeps/posix/alarm.c: ... here.
67503
67504 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67505
67506 2012-08-17 Jeff Law <law@redhat.com>
67507
67508 * intl/Makefile (codeset_mo): New variable.
67509 ($(codeset_mo)): New target.
67510 (tst-codeset.out): Depend on that. Remove explicit rule.
67511 (tst-gettext3.out, tst-gettext5.out): Likewise.
67512 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67513 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67514 * intl/tst-codeset.sh: Remove.
67515 * intl/tst-gettext3.sh: Likewise.
67516 * intl/tst-gettext5.sh: Likewise.
67517
67518 2012-08-17 Roland McGrath <roland@hack.frob.com>
67519
67520 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67521 * sysdeps/unix/syscalls.list: ... here.
67522
67523 * sysdeps/posix/getaddrinfo.c
67524 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67525 (gaiconf_init, gaiconf_reload): Use them.
67526 [!_STATBUF_ST_NSEC]
67527 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67528 Define using time_t rather than struct timespec.
67529
67530 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67531 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67532 Macros removed.
67533 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67534 [!NO_THREADS].
67535 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67536 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67537 Likewise.
67538
67539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67540 __libc_cleanup_push argument.
67541
67542 * bits/param.h: New file.
67543 * misc/sys/param.h: New file.
67544 * include/sys/param.h: New file.
67545 * misc/Makefile (headers): Add bits/param.h.
67546 * sysdeps/generic/sys/param.h: File removed.
67547 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67548 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67549 * sysdeps/mach/hurd/bits/param.h: New file.
67550 * sysdeps/mach/hurd/sys/param.h: File removed.
67551
67552 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67553 last change.
67554
67555 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67556 [_IO_MTSAFE_IO].
67557 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67558 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67559 New macros.
67560
67561 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67562 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67563 rather than -D_IO_MTSAFE_IO conditionally.
67564 * stdio-common/Makefile (CPPFLAGS): Likewise.
67565 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67566 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67567 Use $(libio-mtsafe).
67568 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67569 of -D_IO_MTSAFE_IO.
67570 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67571 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67572 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67573 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67574 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67575 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67576 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67577 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67578 (CFLAGS-fread_u_chk.c): Likewise.
67579 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67580 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67581 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67582 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67583 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67584 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67585 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67586 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67587 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67588
67589 * libio/Makefile: Test [$(libc-reentrant) = yes]
67590 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67591
67592 * Makeconfig
67593 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67594 * sysdeps/pthread/configure: File removed.
67595 * sysdeps/pthread/Makeconfig: New file.
67596 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67597 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67598
67599 2012-08-16 Gary Benson <gbenson@redhat.com>
67600
67601 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67602 unmapping the first object in a namespace.
67603
67604 2012-08-16 Roland McGrath <roland@hack.frob.com>
67605
67606 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67607 (__internal_setnetgrent): ... this. Add internal_function to
67608 definition. Add libc_hidden_def.
67609 (setnetgrent): Update caller.
67610 (internal_endnetgrent): Renamed to ...
67611 (__internal_endnetgrent): ... this. Add internal_function to
67612 definition. Add libc_hidden_def.
67613 (endnetgrent): Update caller.
67614 (internal_getnetgrent_r): Renamed to ...
67615 (__internal_getnetgrent_r): ... this. Add internal_function to
67616 definition. Add libc_hidden_def.
67617 (__getnetgrent_r): Update caller.
67618 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67619
67620 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67621
67622 * stdlib/longlong.h: Update from GCC.
67623
67624 2012-08-16 Roland McGrath <roland@hack.frob.com>
67625
67626 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67627 on _QL, which is set by umul_ppmm but never used.
67628 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67629 variables, which are set by GMP macros but never used.
67630 * stdio-common/_itowa.c (_itowa): Likewise.
67631 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67632 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67633
67634 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67635
67636 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67637 struct La_sh_regs is not constant.
67638 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67639 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67640 and struct La_sparc64_regs are not constant.
67641
67642 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67643
67644 * sysdeps/unix/sysv/linux/kernel-features.h
67645 (__ASSUME_POSIX_TIMERS): Remove.
67646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67648 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67649 Make code unconditional.
67650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67651 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67652 Make code unconditional.
67653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67654 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67655 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67657 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67658 Make code unconditional.
67659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67660 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67661 (__libc_missing_posix_timers): Remove.
67662
67663 2012-08-15 Roland McGrath <roland@hack.frob.com>
67664
67665 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67666 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67667
67668 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67669
67670 * elf/dl-sym.c: Include <stdlib.h>.
67671
67672 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67673 constants, which avoids warnings in 32-bit builds.
67674
67675 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67676 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67677
67678 * misc/lseek.c: File moved to ...
67679 * io/lseek.c: ... here.
67680
67681 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67682
67683 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67684 shifting LEN more than 31 bits at once.
67685
67686 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67687
67688 [BZ #14195]
67689 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67690 segmentation fault for a case of two empty input strings.
67691 * string/test-strncasecmp.c (check1): Renamed to...
67692 (bz12205): ...this.
67693 (bz14195): Add new testcase for two empty input strings and N > 0.
67694 (test_main): Call new testcase, adapt for renamed function.
67695
67696 2012-08-15 Andreas Jaeger <aj@suse.de>
67697
67698 [BZ #14090]
67699 * crypt/md5test2.c: New test, based on test supplied by Serge
67700 Belyshev <belyshev@depni.sinp.msu.ru>.
67701 * crypt/Makefile (xtests): Add md5test-giant..
67702 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67703
67704 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67705
67706 [BZ #14090]
67707 * crypt/md5.c (md5_process_block): Don't assume the buffer
67708 length is less than 2**32.
67709 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67710 length is less than 2**64.
67711
67712 2012-08-15 Roland McGrath <roland@hack.frob.com>
67713
67714 * string/str-two-way.h: Include <sys/param.h>.
67715 (MAX): Macro removed.
67716
67717 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67718 Move #define and #undef of memmove to just before and after
67719 including <string.h>.
67720
67721 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67722 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67723 and after including <string.h>. Move declarations of
67724 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67725 to before #include "string/memmove.c".
67726
67727 * include/dirent.h: Declare __getdirentries.
67728
67729 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67730 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67731
67732 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67733
67734 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67735 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67736 * sysdeps/i386/configure: Regenerated.
67737 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67738 STABS_CURRENT_FILE, and STABS_FUN.
67739 (END): Remove call to STABS_FUN_END.
67740 (STABS_CURRENT_FILE1): Delete.
67741 (STABS_CURRENT_FILE): Likewise.
67742 (STABS_FUN): Likewise.
67743 (STABS_FUN_END): Likewise.
67744 (STABS_FUN2): Likewise.
67745 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67746 * sysdeps/x86_64/configure: Regenerated.
67747
67748 2012-08-14 Roland McGrath <roland@hack.frob.com>
67749
67750 * elf/dl-open.c: Include <atomic.h>.
67751 * elf/dl-lookup.c: Likewise.
67752
67753 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67754
67755 * sysdeps/unix/sysv/linux/kernel-features.h
67756 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67757 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67758 unconditionally.
67759 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67760 unconditionally.
67761 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67762 condition on __ASSUME_CLONE_THREAD_FLAGS.
67763
67764 2012-08-14 Andreas Jaeger <aj@suse.de>
67765
67766 * sysdeps/i386/fpu/libm-test-ulps: Update.
67767
67768 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67769
67770 * include/atomic.h (atomic_exchange_and_add): Split into ...
67771 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67772 New atomic macros.
67773
67774 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67775
67776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67777
67778 2012-08-13 Jeff Law <law@redhat.com>
67779
67780 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67781 null byte in the output string.
67782
67783 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67784
67785 * sysdeps/unix/sysv/linux/kernel-features.h
67786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67787 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67788 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67790 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67791 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67792 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67793
67794 2012-08-09 Jeff Law <law@redhat.com>
67795
67796 [BZ #13939]
67797 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67798 When avoid_arena is set, don't retry in the that arena. Pick the
67799 next one, whatever it might be.
67800 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67801 (arena_lock): Pass in new parameter to arena_get2.
67802 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67803 arena_get2.
67804 (__libc_malloc): Unify retrying after main arena failure with
67805 __libc_memalign version.
67806 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67807
67808 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67809
67810 [BZ #14166]
67811 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67812 to __redirect_strstr.
67813 (__strstr_sse42): Use typeof __redirect_strstr.
67814 (__strstr_ia32): Likewise.
67815 (__libc_strstr): New prototype.
67816 (strstr): Renamed to ...
67817 (__libc_strstr): This.
67818 (strstr): New strong alias of __libc_strstr.
67819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67820 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67821 __redirect_time.
67822 Include <time.h>.
67823 (__libc_time): New prototype.
67824 (time_ifunc): Replace time with __libc_time.
67825 (time): New strong alias and hidden definition of __libc_time.
67826 (__GI_time): Remove strong alias.
67827 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67828 Include <stddef.h>.
67829 (memmove): Redefined to __redirect_memmove.
67830 (__memmove_sse2): Use typeof __redirect_memmove.
67831 (__memmove_ssse3): Likewise.
67832 (__memmove_ssse3_back): Likewise.
67833 (__libc_memmove): New prototype.
67834 (memmove): Renamed to ...
67835 (__libc_memmove): This.
67836 (memmove): New strong alias of __libc_memmove.
67837
67838 2012-08-08 Mark Salter <msalter@redhat.com>
67839
67840 * elf/elf.h
67841 (R_MN10300_TLS_GD): Define.
67842 (R_MN10300_TLS_LD): Likewise.
67843 (R_MN10300_TLS_LDO): Likewise.
67844 (R_MN10300_TLS_GOTIE): Likewise.
67845 (R_MN10300_TLS_IE): Likewise.
67846 (R_MN10300_TLS_LE): Likewise.
67847 (R_MN10300_TLS_DTPMOD): Likewise.
67848 (R_MN10300_TLS_DTPOFF): Likewise.
67849 (R_MN10300_TLS_TPOFF): Likewise.
67850 (R_MN10300_SYM_DIFF): Likewise.
67851 (R_MN10300_ALIGN): Likewise.
67852 (R_MN10300_NUM): Update.
67853
67854 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67855
67856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67857 Remove.
67858
67859 2012-08-08 Roland McGrath <roland@hack.frob.com>
67860
67861 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67862
67863 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67864 sysdeps/unix -> sysdeps/posix move.
67865 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67866
67867 2012-08-07 Allan McRae <allan@archlinux.org>
67868
67869 [BZ #14303]
67870 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67871 (SUNOS_CPP): Likewise.
67872 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67873 not found.
67874 (open_input): Call CPP using execvp.
67875
67876 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67877
67878 * sysdeps/unix/sysv/linux/kernel-features.h
67879 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67880 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67881 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67882 (__ASSUME_WAITID_SYSCALL): Likewise.
67883 * sysdeps/unix/sysv/linux/dl-execstack.c
67884 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67885 code unconditional.
67886 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67887 conditional code.
67888 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67889 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67890 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67891 code.
67892 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67893 unconditional.
67894 [__ASSUME_WAITID_SYSCALL]: Likewise.
67895 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67896
67897 2012-08-07 Roland McGrath <roland@hack.frob.com>
67898
67899 * sysdeps/unix/closedir.c: Renamed to ...
67900 * sysdeps/posix/closedir.c: ... here.
67901 * sysdeps/unix/dirfd.c: Renamed to ...
67902 * sysdeps/posix/dirfd.c: ... here.
67903 * sysdeps/unix/dirstream.h: Renamed to ...
67904 * sysdeps/posix/dirstream.h: ... here.
67905 * sysdeps/unix/fdopendir.c: Renamed to ...
67906 * sysdeps/posix/fdopendir.c: ... here.
67907 * sysdeps/unix/opendir.c: Renamed to ...
67908 * sysdeps/posix/opendir.c: ... here.
67909 * sysdeps/unix/readdir.c: Renamed to ...
67910 * sysdeps/posix/readdir.c: ... here.
67911 * sysdeps/unix/readdir_r.c: Renamed to ...
67912 * sysdeps/posix/readdir_r.c: ... here.
67913 * sysdeps/unix/rewinddir.c: Renamed to ...
67914 * sysdeps/posix/rewinddir.c: ... here.
67915 * sysdeps/unix/seekdir.c: Renamed to ...
67916 * sysdeps/posix/seekdir.c: ... here.
67917 * sysdeps/unix/telldir.c: Renamed to ...
67918 * sysdeps/posix/telldir.c: ... here.
67919 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67920 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67921 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67922 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67923
67924 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67925 * bits/fcntl.h: ... here.
67926
67927 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67928 not 0.
67929 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67930 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67931 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67932 (struct flock): Move l_start, l_len to the beginning.
67933 Use __pid_t for l_pid.
67934 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67935 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67936 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67937 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67938 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67939 [__USE_LARGEFILE64] (struct flock64): New type.
67940 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67941
67942 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67943 * bits/dirent.h: ... here.
67944
67945 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67946 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67947
67948 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67949
67950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67951 Change from 2.6.0 to 2.6.16.
67952 * sysdeps/unix/sysv/linux/configure: Regenerated.
67953 * sysdeps/unix/sysv/linux/kernel-features.h
67954 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67955 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67956 version.
67957 (__ASSUME_UTIMES): Likewise.
67958 (__ASSUME_CLONE_STOPPED): Remove.
67959 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67960 architectures, not kernel version.
67961 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67962 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67963 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67964 (__ASSUME_WAITID_SYSCALL): Likewise.
67965 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67966 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67967 * README: State 2.6.16 as minimum Linux kernel version. Do not
67968 refer to older versions.
67969
67970 2012-08-06 Roland McGrath <roland@hack.frob.com>
67971
67972 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67973 Define alphasort64 as an alias.
67974 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67975 Define versionsort64 as an alias.
67976 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67977 Define scandir64 as an alias.
67978 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67979 Define scandirat64 as an alias.
67980 * dirent/alphasort64.c (alphasort64):
67981 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67982 * dirent/versionsort64.c: Likewise.
67983 * dirent/scandir64.c: Likewise.
67984 * dirent/scandirat64.c: Likewise.
67985 * sysdeps/wordsize-64/alphasort.c: File removed.
67986 * sysdeps/wordsize-64/alphasort64.c: File removed.
67987 * sysdeps/wordsize-64/scandir.c: File removed.
67988 * sysdeps/wordsize-64/scandir64.c: File removed.
67989 * sysdeps/wordsize-64/scandirat.c: File removed.
67990 * sysdeps/wordsize-64/scandirat64.c: File removed.
67991 * sysdeps/wordsize-64/versionsort.c: File removed.
67992 * sysdeps/wordsize-64/versionsort64.c: File removed.
67993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67994 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68001
68002 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68004 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68006 [defined __arch64__ || defined __sparcv9]
68007 (__INO_T_MATCHES_INO64_T): New macro.
68008 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68009 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68010 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68011 * sysdeps/unix/sysv/linux/bits/dirent.h
68012 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68013 (_DIRENT_MATCHES_DIRENT64): New macro.
68014
68015 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68016 Define lockf64 as an alias.
68017 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68018 Define fseeko64 as an alias.
68019 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68020 Define ftello64 as an alias.
68021 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68022 Define _IO_fgetpos64 and fgetpos64 as aliases.
68023 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68024 Define _IO_fsetpos64 and fsetpos64 as aliases.
68025 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68026 Conditionalize body on this.
68027 * libio/fseeko64.c: Likewise.
68028 * libio/ftello64.c: Likewise.
68029 * libio/iofgetpos64.c: Likewise.
68030 * libio/iofsetpos64.c: Likewise.
68031 * sysdeps/wordsize-64/lockf.c: File removed.
68032 * sysdeps/wordsize-64/lockf64.c: File removed.
68033 * sysdeps/wordsize-64/fseeko.c: File removed.
68034 * sysdeps/wordsize-64/fseeko64.c: File removed.
68035 * sysdeps/wordsize-64/ftello.c: File removed.
68036 * sysdeps/wordsize-64/ftello64.c: File removed.
68037 * sysdeps/wordsize-64/iofgetpos.c: File removed.
68038 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68039 * sysdeps/wordsize-64/iofsetpos.c: File removed.
68040 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68050 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68051
68052 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68054 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68056 [defined __arch64__ || defined __sparcv9]
68057 (__OFF_T_MATCHES_OFF64_T): New macro.
68058 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68059 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68061 (__OFF_T_MATCHES_OFF64_T): New macro.
68062
68063 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68064
68065 * stdlib/secure-getenv.c (__secure_getenv): Replace
68066 GLIBC_2_16 with GLIBC_2_17.
68067
68068 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68069
68070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68072
68073 2012-08-03 David S. Miller <davem@davemloft.net>
68074
68075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68076
68077 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68078
68079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68080 Remove.
68081 (__ASSUME_CORRECT_SI_PID): Likewise.
68082 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68083 (__ASSUME_TMPFS_NAME): Likewise.
68084 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68085 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68086 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68087 (HAVE_AUX_SECURE): Make definition unconditional.
68088 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68089 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68090
68091 2012-08-03 Roland McGrath <roland@hack.frob.com>
68092
68093 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68094 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68095 * sysdeps/mach/hurd/eloop-threshold.h: New file.
68096 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68097 __eloop_threshold instead of SYMLOOP_MAX.
68098
68099 * sysdeps/generic/eloop-threshold.h: New file.
68100 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68101 of MAXSYMLINKS.
68102 * elf/chroot_canon.c (chroot_canon): Likewise.
68103
68104 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68105
68106 [BZ #13717]
68107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68108 Change to 2.6.0 everywhere.
68109 * sysdeps/unix/sysv/linux/configure: Regenerated.
68110 * sysdeps/unix/sysv/linux/kernel-features.h
68111 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68112 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68113 kernel versions.
68114 (__ASSUME_POSIX_TIMERS): Define unconditionally.
68115 (__ASSUME_FUTEX_REQUEUE): Remove.
68116 (__ASSUME_STATFS64): Define unconditionally.
68117 (__ASSUME_AT_SECURE): Likewise.
68118 (__ASSUME_CORRECT_SI_PID): Likewise.
68119 (__ASSUME_TGKILL): Define without depending on kernel version for
68120 i386.
68121 (__ASSUME_UTIMES): Likewise.
68122 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68123 kernel version.
68124 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68125 (__ASSUME_TMPFS_NAME): Likewise.
68126 * README: Update reference to Linux kernel versions.
68127
68128 2012-08-02 Marek Polacek <polacek@redhat.com>
68129
68130 [BZ# 14150]
68131 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
68132 libc_cv_asm_type_prefix with %.
68133 * configure: Regenerated.
68134 * include/libc-symbols.h: Remove comment about
68135 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68136 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68137 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68138 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68139 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68140 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68141 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68142 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68143 * elf/tst-unique2mod1.c: Likewise.
68144 * elf/tst-unique1mod2.c: Likewise.
68145 * elf/tst-unique1mod1.c: Likewise.
68146 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68147 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68148 Replace ASM_TYPE_DIRECTIVE with .type.
68149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68150 * sysdeps/i386/sysdep.h: Likewise.
68151 * sysdeps/x86_64/sysdep.h: Likewise.
68152 * sysdeps/sh/sysdep.h: Likewise.
68153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68154 Do not define ASM_TYPE_DIRECTIVE.
68155 * sysdeps/powerpc/sysdep.h: Likewise.
68156 * sysdeps/powerpc/powerpc32/sysdep.h:
68157 Replace ASM_TYPE_DIRECTIVE with .type.
68158 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68159 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68160 * sysdeps/i386/fpu/e_powf.S: Likewise.
68161 * sysdeps/i386/fpu/e_expl.S: Likewise.
68162 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68164 * sysdeps/i386/fpu/e_pow.S: Likewise.
68165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
68168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68169 * sysdeps/i386/fpu/e_log2.S: Likewise.
68170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68172 * sysdeps/i386/fpu/e_powl.S: Likewise.
68173 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68174 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68175 * sysdeps/i386/fpu/e_logl.S: Likewise.
68176 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68177 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68178 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68180 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68181 * sysdeps/i386/fpu/e_log.S: Likewise.
68182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68183 * sysdeps/i386/fpu/e_logf.S: Likewise.
68184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68186 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68187 * sysdeps/i386/fpu/e_log10.S: Likewise.
68188 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68189 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68190 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68191 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68192 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68193 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68194 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68195 * sysdeps/i386/i686/strtok.S: Likewise.
68196 * sysdeps/i386/i386-mcount.S: Likewise.
68197 * sysdeps/i386/strtok.S: Likewise.
68198 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68199 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68202 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68203 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68204 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68205 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68207 * sysdeps/x86_64/_mcount.S: Likewise.
68208 * sysdeps/x86_64/strtok.S: Likewise.
68209 * sysdeps/sh/_mcount.S: Likewise.
68210
68211 2012-08-01 Roland McGrath <roland@hack.frob.com>
68212
68213 * libio/iofopen.c: Include <fcntl.h>.
68214 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68215 (_IO_fopen64, fopen64): Define as aliases.
68216 * libio/iofopen64.c: Include <fcntl.h>.
68217 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68218 Conditionalize body on this.
68219 * sysdeps/wordsize-64/iofopen.c: File removed.
68220 * sysdeps/wordsize-64/iofopen64.c: File removed.
68221
68222 2012-08-01 Marek Polacek <polacek@redhat.com>
68223
68224 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68225 Use dlfcn directly instead of a variable.
68226 (binfmt-subdir): Do not define.
68227 (dlfcn): Likewise.
68228
68229 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68230
68231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68232 Remove all definitions.
68233 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68234 <kernel-features.h>.
68235 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68236 (miss_F_GETOWN_EX): Remove all definitions.
68237 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68238 macro definition.
68239 [!__ASSUME_FCNTL64]: Remove conditional code.
68240 [__ASSUME_FCNTL64]: Make code unconditional.
68241 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68242 <kernel-features.h>.
68243 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68244 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68245 (lockf64) [__NR_fcntl64]: Make code unconditional.
68246 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68247
68248 * sysdeps/unix/sysv/linux/kernel-features.h
68249 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68250 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68251 Make code unconditional.
68252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68255 [__NR_vfork]: Make code unconditional.
68256 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68257 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68259 [__NR_vfork]: Make code unconditional.
68260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68262
68263 2012-08-01 Roland McGrath <roland@hack.frob.com>
68264
68265 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68266 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68267
68268 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68269 Define mkstemp64 as an alias.
68270 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68271 Define mkstemps64 as an alias.
68272 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68273 Define mkostemp64 as an alias.
68274 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68275 Define mkostemps64 as an alias.
68276 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68277 Conditionalize body on this.
68278 * misc/mkostemp64.c: Likewise.
68279 * misc/mkostemps64.c: Likewise.
68280 * misc/mkstemps64.c: Likewise.
68281 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68282 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68283 * sysdeps/wordsize-64/mkostemp.c: File removed.
68284 * sysdeps/wordsize-64/mkstemp.c: File removed.
68285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68289
68290 [BZ #14138]
68291 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68292 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68293 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68294 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68295
68296 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68297 compat_symbol macros from <shlib-compat.h> rather than the underlying
68298 default_symbol_version and symbol_version macros, so that DEFAULT
68299 lines in shlib-versions are respected.
68300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68301
68302 2012-08-01 Florian Weimer <fweimer@redhat.com>
68303
68304 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68305 Declare with warn_unused_result.
68306 (setgid, setregid, setegid, setresgid): Likewise.
68307 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68308 Likewise.
68309 * WUR-REPORT: Remove set*id functions.
68310
68311 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68312
68313 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68314
68315 2012-07-31 Roland McGrath <roland@hack.frob.com>
68316
68317 [BZ #10191]
68318 * include/sys/socket.h (__libc_accept, __libc_accept4):
68319 Add attribute_hidden.
68320 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68321
68322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68323 use of PTR_MANGLE.
68324 * inet/getnetgrent_r.c (setup): Likewise.
68325
68326 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68327
68328 2012-07-31 David S. Miller <davem@davemloft.net>
68329
68330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68331
68332 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68333
68334 [BZ #13629]
68335 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68336 value between 1.0 and 2.0 and smaller part has absolute value less
68337 than 1.0.
68338 * math/s_clog10.c (__clog10): Likewise.
68339 * math/s_clog10f.c (__clog10f): Likewise.
68340 * math/s_clog10l.c (__clog10l): Likewise.
68341 * math/s_clogf.c (__clogf): Likewise.
68342 * math/s_clogl.c (__clogl): Likewise.
68343 * math/libm-test.inc (clog_test): Add more tests.
68344 (clog10_test): Likewise.
68345 * sysdeps/i386/fpu/libm-test-ulps: Update.
68346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68347
68348 2012-07-31 Florian Weimer <fweimer@redhat.com>
68349
68350 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68351 Exit with zero in case no suitable GID is found, and write a
68352 message to standard error.
68353
68354 2012-07-30 Roland McGrath <roland@hack.frob.com>
68355
68356 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68357 rather than to 1.
68358 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68359 (MAXPATHLEN): Removed.
68360 (NOGROUP, NODEV): New macros.
68361 (setbit, clrbit, isset, isclr): New macros.
68362 (howmany, roundup, powerof2): New macros.
68363 (DEV_BSIZE): New macro.
68364
68365 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68366 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68367
68368 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68369 definition on [!__NO_LONG_DOUBLE_MATH].
68370
68371 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68372 PTR_MANGLE and PTR_DEMANGLE.
68373
68374 * socket/accept4.c (accept4): Rename to __libc_accept4.
68375 Define accept4 as a weak alias.
68376
68377 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68378 on [_DIRENT_HAVE_D_TYPE].
68379 * io/ftw.c (ftw_dir): Likewise.
68380
68381 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68382
68383 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68384
68385 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68386 Use the BSD numbers rather than the arbitrary ones we had.
68387 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68388 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68389 (SIGXCPU, SIGXFSZ): New macros.
68390 (_NSIG): Now 32.
68391
68392 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68393 initializer on [_LIBC_REENTRANT].
68394
68395 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68396 definitions inside [_POSIX_MAPPED_FILES].
68397
68398 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68399
68400 * dirent/opendir.c: Include <fcntl.h>.
68401
68402 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68403 (__libc_getspecific): Likewise.
68404 (__libc_key_create): Likewise.
68405
68406 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68407 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68408 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68409 (tmpfile64): Define as alias.
68410 * sysdeps/wordsize-64/tmpfile.c: File removed.
68411 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68412 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68414
68415 * stdio-common/vfscanf.c: Include <stdbool.h>.
68416 * nss/makedb.c: Likewise.
68417 * stdio-common/_i18n_number.h: Likewise.
68418 * argp/argp-help.c: Likewise.
68419 * posix/wordexp.c: Likewise.
68420 * sysdeps/posix/spawni.c: Likewise.
68421 * nss/nss_files/files-initgroups.c: Likewise.
68422 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68423 * nss/nss_files/files-initgroups.c: Likewise.
68424 * nss/nss_db/db-netgrp.c: Likewise.
68425 * nss/nss_db/db-initgroups.c: Likewise.
68426 * io/fchmodat.c: Include <sys/stat.h>.
68427
68428 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68429 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68430
68431 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68432 [HAVE_MMAP].
68433
68434 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68435 Add multiple inclusion protection.
68436
68437 2012-07-27 David S. Miller <davem@davemloft.net>
68438
68439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68440
68441 2012-07-27 Gary Benson <gbenson@redhat.com>
68442
68443 [BZ #14298]
68444 * elf/rtld.c: Include <stap-probe.h>.
68445 (dl_main): Added static probes "init_start" and "init_complete".
68446 * elf/dl-load.c: Include <stap-probe.h>.
68447 (lose): Take new parameter "nsid".
68448 Added static probe "map_failed".
68449 (_dl_map_object_from_fd): Pass namespace id to lose.
68450 Added static probe "map_start".
68451 (open_verify): Pass namespace id to lose.
68452 * elf/dl-open.c: Include <stap-probe.h>.
68453 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68454 and "reloc_complete".
68455 * elf/dl-close.c: Include <stap-probe.h>.
68456 (_dl_close_worker): Added static probes "unmap_start" and
68457 "unmap_complete".
68458 * elf/rtld-debugger-interface.txt: New file documenting the above.
68459
68460 2012-07-26 Roland McGrath <roland@hack.frob.com>
68461
68462 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68463 rather than a string variable.
68464 * sunrpc/rpc_main.c (h_output): Likewise.
68465 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68466
68467 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68468
68469 * inet/check_native.c: New file.
68470
68471 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68472
68473 [BZ #13629]
68474 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68475 if larger part has absolute value 1.0.
68476 * math/s_clog10.c (__clog10): Likewise.
68477 * math/s_clog10f.c (__clog10f): Likewise.
68478 * math/s_clog10l.c (__clog10l): Likewise.
68479 * math/s_clogf.c (__clogf): Likewise.
68480 * math/s_clogl.c (__clogl): Likewise.
68481 * math/libm-test.inc (clog_test): Add more tests.
68482 (clog10_test): Likewise.
68483 * sysdeps/i386/fpu/libm-test-ulps: Update.
68484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68485
68486 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68487 (pltexit): Likewise.
68488 (La_regs): Likewise.
68489 (La_retval): Likewise.
68490 (int_retval): Likewise.
68491 Update #error for removed macros to refer only to definitions in
68492 tst-audit.h.
68493 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68494 macro.
68495 (pltexit): Likewise.
68496 (La_regs): Likewise.
68497 (La_retval): Likewise.
68498 (int_retval): Likewise.
68499 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68500 macro.
68501 (pltexit): Likewise.
68502 (La_regs): Likewise.
68503 (La_retval): Likewise.
68504 (int_retval): Likewise.
68505 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68506 macro.
68507 (pltexit): Likewise.
68508 (La_regs): Likewise.
68509 (La_retval): Likewise.
68510 (int_retval): Likewise.
68511 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68512 macro.
68513 (pltexit): Likewise.
68514 (La_regs): Likewise.
68515 (La_retval): Likewise.
68516 (int_retval): Likewise.
68517 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68518 macro.
68519 (pltexit): Likewise.
68520 (La_regs): Likewise.
68521 (La_retval): Likewise.
68522 (int_retval): Likewise.
68523 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68524 macro.
68525 (pltexit): Likewise.
68526 (La_regs): Likewise.
68527 (La_retval): Likewise.
68528 (int_retval): Likewise.
68529 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68530 macro definitions in tst-audit.h.
68531 * sysdeps/i386/tst-audit.h: New file.
68532 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68533 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68534 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68535 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68536 * sysdeps/sh/tst-audit.h: Likewise.
68537 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68538 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68539 * sysdeps/x86_64/tst-audit.h: Likewise.
68540
68541 2012-07-26 Andreas Jaeger <aj@suse.de>
68542
68543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68544 ptrace.
68545
68546 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68547 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68548 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68549 PTRACE_O_MASK.
68550 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68551 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68552 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68553
68554 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68555 value.
68556
68557 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68558 _sigsys.
68559 (si_call_addr, si_syscall, si_arch): Define new macro.
68560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68561 _sigsys.
68562 (si_call_addr, si_syscall, si_arch): Define new marcro.
68563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68564 _sigsys.
68565 (si_call_addr, si_syscall, si_arch): Define new macro.
68566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68567 _sigsys.
68568 (si_call_addr, si_syscall, si_arch): Define new macro.
68569
68570 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68571
68572 [BZ #13717]
68573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68574 Change to 2.4.21 where previously 2.4.1.
68575 * sysdeps/unix/sysv/linux/configure: Regenerated.
68576 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68577 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68578 Linux kernel version.
68579 (__ASSUME_STD_AUXV): Remove.
68580 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68581 kernel version.
68582 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68583 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68584 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68585 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68586 (__ASSUME_NETLINK_SUPPORT): Likewise.
68587 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68588 (__no_netlink_support): Remove conditional definition.
68589 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68590 Remove.
68591 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68592 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68593 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68594 (if_nameindex_ioctl): Remove.
68595 (if_nameindex_netlink): Do not handle __no_netlink_support.
68596 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68597 code.
68598 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68599 Remove conditional code.
68600 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68601 code.
68602 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68603 unconditional.
68604 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68605 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68606 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68607 Remove.
68608 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68609 [!__ASSUME_STD_AUXV]: Remove conditional code.
68610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68611 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68612 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68614 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68615 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68616 code.
68617 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68619 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68620 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68621 conditional code.
68622 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68624 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68625 code.
68626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68627 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68628 conditional code.
68629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68630 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68631 code unconditional.
68632 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68633 conditional code.
68634 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68635 unconditional.
68636 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68637 conditional code.
68638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68639 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68640 unconditional.
68641 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68642 conditional code.
68643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68644 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68645 code unconditional.
68646 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68647 conditional code.
68648 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68649 unconditional.
68650 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68651 conditional code.
68652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68653 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68654 code unconditional.
68655 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68656 conditional code.
68657 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68658 unconditional.
68659 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68660 conditional code.
68661
68662 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68663
68664 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68665 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68666 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68667 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68668 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68669 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68670 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68671 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68672 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68673 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68674 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68675 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68676 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68677 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68678 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68679 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68680 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68682 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68684 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68685 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68686 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68687
68688 2012-07-25 Florian Weimer <fweimer@redhat.com>
68689
68690 * Versions.def: Add GLIBC_2.17.
68691 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68692 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68693 Introduce __libc_secure_getenv.
68694 * stdlib/Versions (2.17): Add secure_getenv
68695 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68696 * stdlib/secure-getenv.c: Rename __secure_getenv to
68697 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68698 symbol __secure_getenv for GLIBC_2.0.
68699 * stdlib/tst-secure-getenv.c: New.
68700 * stdlib/Makefile (tests): Add testcase.
68701 * manual/startup.texi (Environment Access): Document
68702 secure_getenv.
68703 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68704 __libc_secure_getenv.
68705 * inet/ruserpass.c (ruserpass): Likewise.
68706 * malloc/mtrace.c (mtrace): Likewise.
68707 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68708 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68709 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68710 * sysdeps/posix/tempname.c: Likewise. Evaluate
68711 HAVE_SECURE_GETENV.
68712 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68713 __secure_getenv to __libc_secure_getenv.
68714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68716 Likewise.
68717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68718 Likewise.
68719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68726
68727 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68728
68729 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68730 (struct La_i86_retval): Likewise.
68731 (struct La_x86_64_regs): Likewise.
68732 (struct La_x86_64_retval): Likewise.
68733 (struct La_x32_regs): Likewise.
68734 (struct La_x32_retval): Likewise.
68735 (struct La_ppc32_regs): Likewise.
68736 (struct La_ppc32_retval): Likewise.
68737 (struct La_ppc64_regs): Likewise.
68738 (struct La_ppc64_retval): Likewise.
68739 (struct La_sh_regs): Likewise.
68740 (struct La_sh_retval): Likewise.
68741 (struct La_s390_32_regs): Likewise.
68742 (struct La_s390_32_retval): Likewise.
68743 (struct La_s390_64_regs): Likewise.
68744 (struct La_s390_64_retval): Likewise.
68745 (struct La_sparc32_regs): Likewise.
68746 (struct La_sparc32_retval): Likewise.
68747 (struct La_sparc64_regs): Likewise.
68748 (struct La_sparc64_retval): Likewise.
68749 (struct audit_ifaces): Remove architecture-specific pltenter and
68750 pltexit members.
68751 * sysdeps/i386/ldsodefs.h: New file.
68752 * sysdeps/powerpc/ldsodefs.h: Likewise.
68753 * sysdeps/s390/ldsodefs.h: Likewise.
68754 * sysdeps/sh/ldsodefs.h: Likewise.
68755 * sysdeps/sparc/ldsodefs.h: Likewise.
68756 * sysdeps/x86_64/ldsodefs.h: Likewise.
68757
68758 2012-07-25 Marek Polacek <polacek@redhat.com>
68759
68760 [BZ #6808]
68761 * math/libm-test.inc (yn_test): Add another test.
68762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68763 to ERANGE when the result is +-Inf.
68764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68765 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68768
68769 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68770
68771 * conform/data/time.h-data (NULL): Use macro-constant. Require
68772 equal to 0.
68773 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68774 clock_t.
68775 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68776
68777 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68778
68779 * configure.in <sysdeps resolving>: Correct printing
68780 Implies_before.
68781 * configure: Regenerate.
68782
68783 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68784
68785 * math/w_ilogb.c: Include <limits.h>.
68786 * math/w_ilogbl.c: Likewise.
68787
68788 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68789
68790 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68791 va_copy. Document allowing for unavailable va_copy only as
68792 pre-C99 compatibility.
68793 * manual/string.texi (Copying and Concatenation): Use va_copy
68794 instead of __va_copy in concat example.
68795
68796 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68797
68798 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68799 (__sendto): Use create_address_port. Initialize APORT and deallocate
68800 it if not null.
68801
68802 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68803 with O_NOLINK passed to __file_name_lookup.
68804
68805 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68806 with O_NOLINK passed to __file_name_lookup.
68807
68808 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68809 negative N or less than NGIDS.
68810
68811 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68812 type to string_t. Set ERANGE as errno and return it if NAME is not big
68813 enough. Use memcpy instead of strncpy.
68814
68815 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68816
68817 * elf/Makefile (check-data): Remove.
68818 (localplt.data): New vpath directive.
68819 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68820 instead of $(check-data).
68821 * scripts/data/localplt-generic.data: Move to ...
68822 * sysdeps/generic/localplt.data: ... here.
68823 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68824 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68825 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68827 ... here.
68828 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68830 ... here.
68831 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68833 ... here.
68834 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68836 ... here.
68837 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68839 ... here.
68840 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68842 ... here.
68843
68844 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68845
68846 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68847 PPC32 and PPC64 files.
68848 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68849 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68850
68851 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68852
68853 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68854 __makecontext_ret to ...
68855 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68856 ... here and call exit if uc_link is NULL. New file.
68857 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68858 __makecontext_ret.S.
68859 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68860 __makecontext_ret to ...
68861 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68862 ... here and call exit if uc_link is NULL. New file.
68863 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68864 __makecontext_ret.S.
68865
68866 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68867
68868 * elf/elf.h (R_390_IRELATIVE): New definition.
68869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68870 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68871 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68873 (elf_machine_lazy_rel): Likewise.
68874 * sysdeps/s390/dl-irel.h: New file.
68875 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68876 * sysdeps/s390/s390-64/memset.S: New asm code.
68877 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68878 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68880 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68881 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68882 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68883 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68884 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68885 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68886 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68887 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68888 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68889 * sysdeps/s390/s390-32/memset.S: New asm code.
68890 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68891
68892 2012-07-17 Marek Polacek <polacek@redhat.com>
68893
68894 [BZ #14349]
68895 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68896 * sysdeps/s390/s390-64/configure.in: Likewise.
68897 * sysdeps/sparc/configure.in: Likewise.
68898 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68899 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68900 * sysdeps/i386/configure.in: Likewise.
68901 * sysdeps/x86_64/configure.in: Likewise.
68902 * sysdeps/sh/configure.in: Likewise.
68903 * sysdeps/s390/s390-32/configure: Regenerated.
68904 * sysdeps/s390/s390-64/configure: Likewise.
68905 * sysdeps/x86_64/configure: Likewise.
68906 * sysdeps/sh/configure: Likewise.
68907 * sysdeps/powerpc/powerpc64/configure: Likewise.
68908 * sysdeps/powerpc/powerpc32/configure: Likewise.
68909 * sysdeps/sparc/configure: Likewise.
68910 * sysdeps/i386/configure: Likewise.
68911
68912 * elf/dl-open.c: Comment fixes.
68913
68914 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68915
68916 * Makefile [CXX] (check-data): Remove.
68917 [CXX] (c++-types.data): New vpath directive.
68918 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68919 vpath. Do not allow for C++ type data being missing.
68920 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68921 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68922 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68923 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68924 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68925 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68926 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68928 ... here.
68929 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68931 ... here.
68932 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68934 ... here.
68935 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68937 ... here.
68938 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68940 ... here.
68941 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68943 ... here.
68944 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68946 ... here.
68947 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68949
68950 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68951 definitions to architecture-specific files.
68952 (TLS_IE): Likewise.
68953 (TLS_LD): Likewise.
68954 (TLS_GD): Likewise.
68955 * sysdeps/i386/tls-macros.h: New file.
68956 * sysdeps/powerpc/tls-macros.h: Likewise.
68957 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68958 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68959 * sysdeps/sh/tls-macros.h: Likewise.
68960 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68961 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68962 * sysdeps/x86_64/tls-macros.h: Likewise.
68963
68964 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68965
68966 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68967 zero value for regular exit case.
68968
68969 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68970 (__start_context): Preserve zero value for regular exit case.
68971
68972 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68973 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68974
68975 * manual/setjmp.texi (setcontext): Clarify normal process
68976 termination when uc_link is the null pointer.
68977 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68978 exit call.
68979
68980 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68981
68982 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68983 preprocessor. Test for each exception mask separately.
68984
68985 2012-07-16 Andreas Jaeger <aj@suse.de>
68986
68987 * po/ru.po: Update from translation team.
68988
68989 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68990
68991 * conform/data/string.h-data (NULL): Use macro-constant. Require
68992 equal to 0.
68993 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68994 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68995 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68996 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68998
68999 2012-07-13 Andreas Jaeger <aj@suse.de>
69000
69001 * po/fr.po: Update from translation team.
69002
69003 2012-07-12 Marek Polacek <polacek@redhat.com>
69004
69005 [BZ #14173]
69006 * math/libm-test.inc (yn_test): Add test for BZ #14173.
69007 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69008 loop condition.
69009
69010 2012-07-12 Joseph Myers <joseph@codesourcery.com>
69011
69012 [BZ #13717]
69013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69014 Change to 2.4.1 where previously 2.4.0.
69015 * sysdeps/unix/sysv/linux/configure: Regenerated.
69016 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69017 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69018 version.
69019 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69020 (__ASSUME_AT_CLKTCK): Remove.
69021 (__ASSUME_AT_PAGESIZE): Likewise.
69022 (__ASSUME_AT_XID): Likewise.
69023 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69024 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69025 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69026 unconditionally.
69027 (HAVE_AUX_PAGESIZE): Likewise.
69028 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69029 [__ASSUME_AT_CLKTCK]: Make code unconditional.
69030 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69031
69032 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
69033
69034 [BZ #14307]
69035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69036 the temporary buffer used to invoke __gethostbyname2_r,
69037 __gethostbyaddr_r and gethostbyname4_r to make room for struct
69038 host_data / struct gaih_addrtuple.
69039 * resolv/nss_dns/dns-host.c (global scope): Move definition of
69040 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69041 header file nss/nsswitch.h.
69042 * nss/nsswitch.h (global scope): Add definition of implementation
69043 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69044 resolv/nss_dns/dns-host.c).
69045
69046 2012-07-11 Andreas Jaeger <aj@suse.de>
69047
69048 * po/fr.po: Update from translation team.
69049
69050 * po/sv.po: Update from translation team
69051 * po/fr.po: Another update from translation team.
69052
69053 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69054
69055 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69056 for subnormals or multiply small sinh result by itself.
69057 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69059
69060 2012-07-11 David S. Miller <davem@davemloft.net>
69061
69062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69063
69064 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
69065
69066 [BZ #14347]
69067 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69068 (INTERNAL_MARK): Shift it here.
69069
69070 2012-07-10 Marek Polacek <polacek@redhat.com>
69071
69072 [BZ #14151]
69073 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
69074 libc_cv_asm_global_directive with .globl.
69075 * configure: Regenerated.
69076 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69077 with .globl.
69078 * sysdeps/i386/configure: Regenerated.
69079 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69080 with .globl.
69081 * sysdeps/x86_64/configure: Regenerated.
69082 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69083 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69084 * elf/tst-unique2mod2.c: Likewise.
69085 * elf/tst-unique2mod1.c: Likewise.
69086 * elf/tst-unique1mod2.c: Likewise.
69087 * elf/tst-unique1mod1.c: Likewise.
69088 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69089 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69091 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69092 * sysdeps/mach/sysdep.h: Likewise.
69093 * sysdeps/i386/sysdep.h: Likewise.
69094 * sysdeps/i386/i386-mcount.S: Likewise.
69095 * sysdeps/x86_64/_mcount.S: Likewise.
69096 * sysdeps/x86_64/sysdep.h: Likewise.
69097 * sysdeps/sh/_mcount.S: Likewise.
69098 * sysdeps/sh/sysdep.h: Likewise.
69099 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69100 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69101 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69102 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69103 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69104 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69105 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69106 * locale/localeinfo.h: Likewise.
69107 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69108 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69109
69110 2012-07-09 Roland McGrath <roland@hack.frob.com>
69111
69112 [BZ #14336]
69113 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69114 system".
69115 * manual/message.texi (The Uniforum approach): Likewise.
69116 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69117 (glibc iconv Implementation): Likewise.
69118
69119 2012-07-09 Joseph Myers <joseph@codesourcery.com>
69120
69121 [BZ #14337]
69122 * math/s_clog.c (__clog): Avoid scaling a value down where that
69123 could result in underflow.
69124 * math/s_clog10.c (__clog10): Likewise.
69125 * math/s_clog10f.c (__clog10f): Likewise.
69126 * math/s_clog10l.c (__clog10l): Likewise.
69127 * math/s_clogf.c (__clogf): Likewise.
69128 * math/s_clogl.c (__clogl): Likewise.
69129 * math/libm-test.inc (clog_test): Add more tests.
69130 (clog10_test): Likewise.
69131 * sysdeps/i386/fpu/libm-test-ulps: Update.
69132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69133
69134 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
69135
69136 [BZ #14283]
69137 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69138 by 7 not 8 to examine high bit of fractional part.
69139
69140 [BZ #14042]
69141 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69142 for call to __mcount_internal.
69143 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69144 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69145 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69146
69147 2012-07-06 Joseph Myers <joseph@codesourcery.com>
69148
69149 [BZ #14154]
69150 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69151 approximation for values within 0x1p-13f of an odd multiple of
69152 pi/4.
69153 * math/libm-test.inc (tan_test): Do not allow spurious underflow
69154 exception. Add more tests.
69155 * sysdeps/i386/fpu/libm-test-ulps: Update.
69156
69157 [BZ #6778]
69158 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69159 inputs and return -1 for them. Do not check for +Inf in case not
69160 reachable for +Inf.
69161 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69162 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69163 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69164 and return -1 for them. Do not check for +Inf in case not
69165 reachable for +Inf.
69166 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69167 define.
69168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69169 and return -1 for them. Do not check for +Inf in case not
69170 reachable for +Inf.
69171 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69172 spurious underflow.
69173 * sysdeps/i386/fpu/libm-test-ulps: Update.
69174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69175
69176 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69177
69178 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69179
69180 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69181
69182 [BZ #14157]
69183 [BZ #14331]
69184 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69185 could result in spurious underflow. Scale down values above
69186 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69187 * math/s_csqrtf.c (__csqrtf): Likewise.
69188 * math/s_csqrtl.c (__csqrtl): Likewise.
69189 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69190 spurious underflow.
69191 * sysdeps/i386/fpu/libm-test-ulps: Update.
69192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69193
69194 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69195
69196 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69197 xopen-msg.sed.
69198 * catgets/xopen-msg.awk: New file.
69199 * catgets/xopen-msg.sed: Removed.
69200
69201 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69202 po2text.sed.
69203 * intl/po2test.awk: New file.
69204 * intl/po2test.sed: Removed.
69205
69206 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69207
69208 [BZ #14328]
69209 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69210 or multiply small sinh result by itself.
69211 * math/s_ctanf.c (__ctanf): Likewise.
69212 * math/s_ctanh.c (__ctanh): Likewise.
69213 * math/s_ctanhf.c (__ctanhf): Likewise.
69214 * math/s_ctanhl.c (__ctanhl): Likewise.
69215 * math/s_ctanl.c (__ctanl): Likewise.
69216 * math/libm-test.inc (ctan_test_tonearest): New function.
69217 (ctan_test_towardzero): Likewise.
69218 (ctan_test_downward): Likewise.
69219 (ctan_test_upward): Likewise.
69220 (ctanh_test_tonearest): Likewise.
69221 (ctanh_test_towardzero): Likewise.
69222 (ctanh_test_downward): Likewise.
69223 (ctanh_test_upward): Likewise.
69224 (main): Call these new functions.
69225 * sysdeps/i386/fpu/libm-test-ulps: Update.
69226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69227
69228 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69229
69230 * .gitignore: Delete /ports entry.
69231
69232 2012-07-03 Andreas Jaeger <aj@suse.de>
69233
69234 * po/bg.po: Update from translation team.
69235 * po/cs.po: Likewise.
69236 * po/de.po: Likewise.
69237 * po/hr.po: Likewise.
69238 * po/nl.pl: Likewise.
69239 * po/pl.po: Likewise.
69240 * po/vi.po: Likewise.
69241
69242 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69243
69244 * Makeconfig [!+link] (+link-before-libc): New variable.
69245 [!+link] (+link-after-libc): Likewise.
69246 [!+link] (+link-tests): Likewise.
69247 [!+link] (+link): Define in terms of $(+link-before-libc) and
69248 $(+link-after-libc).
69249 [!+link-static] (+link-static-before-libc): New variable.
69250 [!+link-static] (+link-static-after-libc): Likewise.
69251 [!+link-static] (+link-static-tests): Likewise.
69252 [!+link-static] (+link-static): Define in terms of
69253 $(+link-static-before-libc) and $(+link-static-after-libc).
69254 [build-shared] (link-libc-before-gnulib): New variable.
69255 [build-shared] (link-libc-tests): Likewise.
69256 [build-shared] (link-libc): Define in terms of
69257 $(link-libc-before-gnulib).
69258 [!build-shared] (link-libc-tests): New variable.
69259 (link-libc-static-tests): New variable.
69260 [!gnulib] (gnulib-arch): New variable.
69261 [!gnulib] (gnulib-tests): Likewise.
69262 [!gnulib] (static-gnulib-arch): Likewise.
69263 [!gnulib] (static-gnulib-tests): Likewise.
69264 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69265 Define with "=" instead of ":=".
69266 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69267 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69268 * Rules (binaries-all-notests): New variable.
69269 (binaries-all-tests): Likewise.
69270 (binaries-static-notests): Likewise.
69271 (binaries-static-tests): Likewise.
69272 (binaries-all): Define using $(binaries-all-notests) and
69273 $(binaries-all-tests).
69274 (binaries-static): Define using $(binaries-static-notests) and
69275 $(binaries-static-tests).
69276 (binaries-shared-tests): New variable.
69277 (binaries-shared-notests): Likewise.
69278 (binaries-shared): Remove variable.
69279 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69280 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69281 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69282 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69283 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69284 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69285 * elf/Makefile (sln-modules): New variable.
69286 (extra-objs): Add $(sln-modules:=.o).
69287 (ldconfig-modules): Add static-stubs.
69288 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69289 * elf/static-stubs.c: New file.
69290
69291 [BZ #14283]
69292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69293 by 7 not 8 to examine high bit of fractional part. Use volatile
69294 variables when splitting into final array of floats if
69295 __FLT_EVAL_METHOD__ != 0.
69296 * math/libm-test.inc (cos_test): Add another test.
69297 (sin_test): Likewise.
69298 * sysdeps/i386/fpu/libm-test-ulps: Update.
69299
69300 [BZ #14273]
69301 * math/libm-test.inc (cosh_test): Add more tests.
69302
69303 * version.h (RELEASE): Set to "development".
69304 (VERSION): Set to "2.16.90".
69305
69306 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69307
69308 * NEWS: Update copyright. Remove last-updated date.
69309 Mention math library bug fixes and timezone data changes.
69310 * README: Mention GNU/Hurd, x32, and HPPA support status.
69311
69312 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69313
69314 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69315
69316 2012-06-27 Andreas Jaeger <aj@suse.de>
69317
69318 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69319
69320 2012-06-25 Andreas Jaeger <aj@suse.de>
69321
69322 * sysdeps/s390/fpu/libm-test-ulps: Update.
69323
69324 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69325 Thomas Schwinge <thomas@codesourcery.com>
69326
69327 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69328 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69330 fanotify_mark.
69331
69332 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69333
69334 * sysdeps/mach/start.c: Remove file.
69335 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69336 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69337 * sysdeps/sh/init-first.c: Likewise.
69338
69339 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69340 registers for frame unwinding purposes, add CFI directives.
69341 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69342 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69343 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69344 Likewise.
69345
69346 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69347 __fortify_fail returning.
69348 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69349
69350 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69351 sysdeps/sh/____longjmp_chk.S.
69352 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69353 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69354 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69355 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69356
69357 * sysdeps/sh/abort-instr.h: New file.
69358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69359 process in case exit returns.
69360
69361 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69362 initialize the GOT register before use.
69363
69364 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69365 calculation of ARGC > 4.
69366
69367 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69368 meaningful names to some local labels.
69369
69370 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69371 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69372
69373 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69374 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69375 (__arch_compare_and_exchange_val_16_acq): Likewise.
69376 (__arch_compare_and_exchange_val_32_acq): Likewise.
69377 (atomic_exchange_and_add): Fix gUSA sequence.
69378 (atomic_add): Likewise.
69379 (atomic_add_negative): Likewise.
69380 (atomic_add_zero): Likewise.
69381 (atomic_bit_test_set): Likewise.
69382
69383 2012-06-22 Andreas Schwab <schwab@redhat.com>
69384
69385 [BZ #13579]
69386 * include/link.h (struct link_map): Add l_free_initfini.
69387 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69388 l_initfini.
69389 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69390 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69391 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69392 set.
69393
69394 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69395
69396 * configure.in: Use AC_LANG_SOURCE.
69397 * configure: Regenerate.
69398
69399 2012-06-22 Roland McGrath <roland@hack.frob.com>
69400
69401 * configure.in (libc_cv_localstatedir): New substituted variable.
69402 * configure: Regenerated.
69403 * config.make.in (localstatedir): New variable, substituted from
69404 libc_cv_localstatedir.
69405 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69406 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69407 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69408 * sysdeps/gnu/configure: Regenerated.
69409
69410 2012-06-21 Jeff Law <law@redhat.com>
69411
69412 [BZ #14277]
69413 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69414 free. Simplify list management for _LIBC case.
69415
69416 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69417
69418 [BZ #14273]
69419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69420 Clear sign bit of 64-bit integer value before comparing against
69421 overflow value.
69422
69423 * sysdeps/mach/configure: Regenerated.
69424
69425 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69426
69427 [BZ #14278]
69428 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69429
69430 2012-06-21 Jeff Law <law@redhat.com>
69431
69432 [BZ #13882]
69433 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69434 uint16_t for elements in the "seen" array to avoid char overflows.
69435 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69436 * elf/dl-open.c (dl_open_worker): Likewise.
69437
69438 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69439
69440 * scripts/list-sources.sh: Scan PORTS for translations.
69441 * po/libc.pot: Regenerated.
69442
69443 2012-06-21 Andreas Jaeger <aj@suse.de>
69444
69445 [BZ #12194]
69446 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69447 warning.
69448 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69449 * bits/byteswap-16.h (__bswap_16): Likewise.
69450 * bits/byteswap.h (__bswap_constant_16): Likewise.
69451
69452 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69453
69454 [BZ #14117]
69455 * sysdeps/i386/fpu_control.h: Removed.
69456 * sysdeps/x86_64/fpu_control.h: Moved to ...
69457 * sysdeps/x86/fpu_control.h: Here.
69458
69459 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69460 (_FPU_SETCW): Likewise.
69461
69462 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69463
69464 [BZ #14117]
69465 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69466 * sysdeps/x86/fpu/bits/mathinline.h: This.
69467 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69468
69469 [BZ #14050]
69470 [BZ #14117]
69471 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69472 functions if __x86_64__ is defined.
69473
69474 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69475
69476 * string/endian.h: Add !__ASSEMBLER__ condition for including
69477 conversion interfaces.
69478
69479 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69480
69481 [BZ #14241]
69482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69483 of ABS(x) in calculating zero to negative powers other than odd
69484 integers.
69485 * math/libm-test.inc (pow_test): Add more tests.
69486
69487 2012-06-15 Andreas Jaeger <aj@suse.de>
69488
69489 * manual/contrib.texi (Contributors): Update entry of Liubov
69490 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69491 Machado Filho.
69492
69493 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69494
69495 * string/string.h: Add __wur to GNU version of strerror_r.
69496
69497 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69498
69499 [BZ #14229]
69500 * string/Makefile (tests): Add tst-strtok_r.
69501 * string/tst-strtok_r.c: New file.
69502 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69503 RAX_LP/RDX_LP on SAVE_PTR.
69504
69505 2012-06-14 Roland McGrath <roland@hack.frob.com>
69506
69507 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69508
69509 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69510
69511 * libm_test.inc (csqrt_test): Allow more spurious underflow
69512 exceptions.
69513 (j0_test): Likewise.
69514 (j1_test): Likewise.
69515 (y0_test): Likewise.
69516 (y1_test): Likewise.
69517
69518 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69519
69520 * po/Makefile (libc.pot): Use UTF-8 charset.
69521
69522 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69523
69524 [BZ #14210]
69525 Suppress sign-conversion warning from FD_SET.
69526 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69527 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69528 not unsigned long int.
69529 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69530
69531 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69532
69533 [BZ #14050]
69534 [BZ #14117]
69535 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69536 __extern_always_inline instead of __extern_inline.
69537 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69538 (__signbit): Likewise.
69539 (__signbitl): Support C++ namespace.
69540 (lrintf): New inline function.
69541 (lrint): Likewise.
69542 (llrintf): Likewise.
69543 (llrint): Likewise.
69544 (fmaxf): Likewise.
69545 (fmax): Likewise.
69546 (fminf): Likewise.
69547 (fmin): Likewise.
69548 (rint): Likewise.
69549 (rintf): Likewise.
69550 (ceil): Likewise.
69551 (ceilf): Likewise.
69552 (floor): Likewise.
69553 (floorf): Likewise.
69554 (nearbyint): Likewise.
69555 (nearbyintf): Likewise.
69556
69557 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69558
69559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69560 non-default versions.
69561
69562 2012-06-11 Roland McGrath <roland@hack.frob.com>
69563
69564 [BZ #14218]
69565 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69566
69567 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69568
69569 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69570 (FE_UPWARD, FE_DOWNWARD): Don't define.
69571 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69572 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69573
69574 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69575 reading it.
69576 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69577 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69578
69579 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69580
69581 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69584 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69585
69586 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69587
69588 [BZ #14117]
69589 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69590 * sysdeps/i386/fpu/Implies: New file.
69591 * sysdeps/x86_64/fpu/Implies: Likewise.
69592 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69593 * sysdeps/x86/fpu/bits/fenv.h: This.
69594
69595 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69596 __SSE_MATH__.
69597
69598 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69599
69600 [BZ #14134]
69601 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69602 character 0xffff that matches the last element of the
69603 conversion table.
69604
69605 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69606
69607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69608 fmodl commit.
69609
69610 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69611
69612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69613 values higher than 25.6283.
69614
69615 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69616
69617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69618 subnormal exponent extraction and add some __builtin_expect.
69619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69620 Fix for subnormal mantissa calculation.
69621
69622 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69623
69624 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69625 cpu2 is -1 and errno is not ENOSYS.
69626
69627 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69628
69629 [BZ #14117]
69630 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69631 * sysdeps/x86/bits/string.h: This.
69632 * sysdeps/x86_64/bits/string.h: Removed.
69633
69634 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69635 if not compiling for x86-64, but compiling for >= i486.
69636
69637 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69638 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69639
69640 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69641 New macro from Linux kernel 3.4.0.
69642 (FP_XSTATE_MAGIC2): Likewise.
69643 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69644 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69645 (struct _fpx_sw_bytes): New struct.
69646 (struct _xsave_hdr): Likewise.
69647 (struct _ymmh_state): Likewise.
69648 (struct _xstate): Likewise.
69649
69650 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69651 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69653 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69655 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69656
69657 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69658 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69659 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69660 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69661 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69662 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69663
69664 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69665
69666 [BZ #13743]
69667 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69668 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69669 (sysdep_headers): Include sys/platform/ppc.h.
69670 * sysdeps/powerpc/test-gettimebase.c: Test for
69671 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69672 * manual/Makefile (appendices): Include platform.texi.
69673 * manual/contrib.texi (Contributors): Update @node pointers.
69674 * manual/maint.texi (Maintenance): Likewise.
69675 (Platform): New node.
69676 * manual/platform.texi: New file. Document the new features.
69677
69678 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69679 Jakub Jelinek <jakub@redhat.com>
69680
69681 [BZ #14188]
69682 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69683 where __builtin_expect is unavailable.
69684
69685 2012-06-03 David S. Miller <davem@davemloft.net>
69686
69687 * stdlib/longlong.h: Updated from GCC.
69688
69689 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69690
69691 [BZ #14042]
69692 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69693 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69694 __mcount_internal.
69695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69696 (GLIBC_2.16): Likewise.
69697
69698 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69699
69700 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69701
69702 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69703
69704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69705 (default-abi): New variable.
69706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69707 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69708 variable.
69709 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69710 Likewise.
69711 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69712 Likewise.
69713 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69714 Likewise.
69715
69716 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69717 definition. Document in comment.
69718
69719 2012-06-01 David S. Miller <davem@davemloft.net>
69720
69721 * stdlib/longlong.h: Updated from GCC.
69722
69723 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69724
69725 [BZ #14117]
69726 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69727 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69728 sys/debugreg.h sys/io.h here.
69729 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69730 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69731 sys/io.h.
69732 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69733 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69734 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69735 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69736 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69737 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69738
69739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69740 Define only if __x86_64__ is defined.
69741
69742 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69743
69744 [BZ #14048]
69745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69746 Use int64_t for variable i.
69747 * math/libm-test.inc (fmod_test): Add more tests.
69748
69749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69750 z computation is not scheduled after fetestexcept.
69751 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69752 Use math_force_eval instead of asm to ensure calculation scheduled
69753 before exception test.
69754 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69755 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69756
69757 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69758
69759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69760 computation is not scheduled after fetestexcept.
69761
69762 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69763
69764 [BZ #14117]
69765 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69766 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69767
69768 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69769
69770 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69771 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69772
69773 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69774
69775 [BZ #14117]
69776 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69777 <bits/wordsize.h>.
69778 (__WCHAR_MIN): Support __WORDSIZE == 64.
69779 (__WCHAR_MAX): Likewise.
69780
69781 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69782 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69783
69784 [BZ #14183]
69785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69786 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69787
69788 [BZ #14117]
69789 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69791
69792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69793 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69794
69795 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69796 Defined to 1 if __x86_64__ isn't defined.
69797 (_STAT_VER_LINUX_OLD): New.
69798 (st_atime): Remove duplicate.
69799 (st_mtime): Likewise.
69800 (st_ctime): Likewise.
69801
69802 2012-05-31 David S. Miller <davem@davemloft.net>
69803
69804 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69805 entries.
69806
69807 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69808
69809 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69810 gen-libm-test.pl.
69811
69812 [BZ #14132]
69813 * elf/dl-reloc.c: Include <_itoa.h>.
69814 (_dl_reloc_bad_type): Remove use of INTUSE.
69815 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69816 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69817 * stdio-common/psiginfo.c (psiginfo): Likewise.
69818 * stdio-common/psignal.c (psignal): Likewise.
69819 * string/strsignal.c (strsignal): Likewise.
69820 * include/signal.h (_sys_siglist): Declare hidden proto.
69821 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69822 INTVARDEF with libc_hidden_data_def.
69823 * stdio-common/itoa-udigits.c: Likewise.
69824 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69825 (_itoa_lower_digits_internal): Remove declaration.
69826 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69827 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69828 (_sys_sigabbrev_internal): Remove aliases.
69829 (_sys_siglist): Define hidden alias.
69830
69831 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69832
69833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69834 bits/sysctl.h.
69835
69836 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69837
69838 [BZ #14117]
69839 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69840 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69841
69842 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69843 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69844 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69845 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69847 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69848
69849 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69850 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69851 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69852
69853 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69854 with __addr.
69855 (insw): Likewise.
69856 (insl): Likewise.
69857 (outsb): Likewise.
69858 (outsw): Likewise.
69859 (outsl): Likewise.
69860
69861 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69862 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69863 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69864
69865 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69866 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69867 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69868 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69869 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69870 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69871
69872 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69873 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69874
69875 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69876 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69877
69878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69880 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69881
69882 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69883 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69884 to ...
69885 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69886
69887 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69888 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69889 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69890
69891 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69892 for x86-64.
69893 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69894
69895 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69896
69897 * math/math.h (M_El): Use two more decimal places.
69898 (M_LOG2El): Likewise.
69899 (M_LOG10El): Likewise.
69900 (M_LN2l): Likewise.
69901 (M_LN10l): Likewise.
69902 (M_PIl): Likewise.
69903 (M_PI_2l): Likewise.
69904 (M_PI_4l): Likewise.
69905 (M_1_PIl): Likewise.
69906 (M_2_PIl): Likewise.
69907 (M_2_SQRTPIl): Likewise.
69908 (M_SQRT2l): Likewise.
69909 (M_SQRT1_2l): Likewise.
69910
69911 2012-05-31 David S. Miller <davem@davemloft.net>
69912
69913 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69914 values between float registers.
69915 * sysdeps/sparc/sparc64/memset.S: Likewise.
69916 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69917
69918 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69919
69920 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69921 -D_FORTIFY_SOURCE=1.
69922 (CPPFLAGS-tst-longjmp_chk.c): Define.
69923 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69924 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69925 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69926 CFLAGS-tst-wchar-h.c.
69927
69928 2012-05-31 Marek Polacek <polacek@redhat.com>
69929
69930 [BZ #14132]
69931 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69932 __endmntent_internal): Remove declaration.
69933 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69934 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69935 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69936
69937 2012-05-30 David S. Miller <davem@davemloft.net>
69938
69939 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69940 (___Q_simulate_exceptions): Use real FP ops rather than writing
69941 into the %fsr.
69942 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69943 Likewise.
69944
69945 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69946
69947 [BZ #14117]
69948 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69949 * sysdeps/x86/bits/xtitypes.h: This.
69950
69951 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69952 * sysdeps/x86/bits/wordsize.h: This.
69953
69954 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69955 * sysdeps/x86/bits/huge_vall.h: This.
69956
69957 * sysdeps/i386/bits/select.h: Removed.
69958 * sysdeps/x86_64/bits/select.h: Renamed to ...
69959 * sysdeps/x86/bits/select.h: This.
69960
69961 * sysdeps/i386/bits/setjmp.h: Removed.
69962 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69963 * sysdeps/x86/bits/setjmp.h: This.
69964
69965 * sysdeps/i386/bits/mathdef.h: Removed.
69966 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69967 * sysdeps/x86/bits/mathdef.h: This.
69968
69969 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69970
69971 [BZ #14132]
69972 * include/sys/socket.h (__connect_internal)
69973 (__libc_sa_len_internal): Remove declaration.
69974 (__connect, __libc_sa_len): Declare hidden_proto.
69975 (SA_LEN): Remove use of INTUSE.
69976 * socket/connect.c: Add libc_hidden_def.
69977 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69978 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69979 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69980 alias.
69981 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69983 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69984 of adding _internal alias.
69985
69986 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69987
69988 [BZ #14117]
69989 * sysdeps/i386/bits/link.h: Removed.
69990 * sysdeps/i386/bits/linkmap.h: Likewise.
69991 * sysdeps/x86_64/bits/link.h: Renamed to ...
69992 * sysdeps/x86/bits/link.h: This.
69993 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69994 * sysdeps/x86/bits/linkmap.h: This.
69995
69996 * sysdeps/i386/bits/endian.h: Removed.
69997 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69998 * sysdeps/x86/bits/endian.h: This.
69999
70000 * sysdeps/i386/bits/byteswap.h: Removed.
70001 * sysdeps/i386/bits/byteswap-16.h: Likewise.
70002 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70003 * sysdeps/x86/bits/byteswap.h: This.
70004 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70005 * sysdeps/x86/bits/byteswap-16.h: This.
70006 * sysdeps/i386/Implies: Add x86.
70007 * sysdeps/x86_64/Implies: Likewise.
70008
70009 2012-05-30 David S. Miller <davem@davemloft.net>
70010
70011 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70012 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70014 (FP_TRAPPING_EXCEPTIONS): Define.
70015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70016 (FP_TRAPPING_EXCEPTIONS): Define.
70017 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70018 subnormals only when inexact has been signalled or underflow
70019 exceptions are enabled.
70020 (_FP_PACK_CANONICAL): Likewise.
70021
70022 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70023
70024 [BZ #14183]
70025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70026 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70027
70028 2012-05-30 Richard Henderson <rth@twiddle.net>
70029
70030 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70031 with #ifndef NOT_IN_libc.
70032
70033 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
70034 marked to avoid plt entry.
70035
70036 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70037
70038 [BZ #14112]
70039 * Makeconfig (default-abi): New macro.
70040 (abi-includes): Likewise.
70041 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
70042 $(abi-$(default-abi)-lib-soname) for soname if defined.
70043 ($(common-objpfx)gnu/lib-names.stmp): Generate from
70044 abi-variants.
70045 * Makefile (installed-stubs): Likewise.
70046 * include/stubs-biarch.h: Removed.
70047 * scripts/lib-names.awk: Only handle one library at a time.
70048 * scripts/soversions.awk: Remove WORDSIZE support.
70049 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70050 entries.
70051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70052 Removed.
70053 (syscall-list-default-condition): Likewise.
70054 (syscall-list-default-condition): Likewise.
70055 (syscall-list-includes): Likewise.
70056 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70057 syscall-list-* with abi-*. Handle undefined abi-variants.
70058 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70059 * sysdeps/unix/sysv/linux/i386/Implies: New file.
70060 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70061 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70062 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70063 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70064 Removed.
70065 (syscall-list-32-options): Likewise.
70066 (syscall-list-32-condition): Likewise.
70067 (syscall-list-64-options): Likewise.
70068 (syscall-list-64-condition): Likewise.
70069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70070 macro.
70071 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70072 Renamed to ...
70073 (abi-*): This.
70074 (abi-64-ld-soname): New macro.
70075 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70076 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70077 Renamed to ...
70078 (abi-*): This.
70079 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70080 * sysdeps/x86_64/x32/shlib-versions: Likewise.
70081
70082 2012-05-30 Joseph Myers <joseph@codesourcery.com>
70083
70084 * sysdeps/unix/sysv/linux/kernel-features.h
70085 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70086 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70087 include <kernel-features.h>.
70088 [!__NR_ftruncate64]: Remove conditional code.
70089 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70090 [__NR_ftruncate64]: Make code unconditional.
70091 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70092 * sysdeps/unix/sysv/linux/truncate64.c: Do not
70093 include <kernel-features.h>.
70094 [!__NR_ftruncate64]: Remove conditional code.
70095 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70096 [__NR_ftruncate64]: Make code unconditional.
70097 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70099 include <kernel-features.h>.
70100 [!__NR_ftruncate64]: Remove conditional code.
70101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70102 [__NR_ftruncate64]: Make code unconditional.
70103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70105 include <kernel-features.h>.
70106 [!__NR_ftruncate64]: Remove conditional code.
70107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70108 [__NR_ftruncate64]: Make code unconditional.
70109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70110
70111 * configure.in (libc_cv_fpie): Weaken to a compile test using
70112 LIBC_TRY_CC_OPTION.
70113 * configure: Regenerated.
70114
70115 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70116
70117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70121 Refreshed.
70122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70128 Refreshed.
70129
70130 2012-05-27 David S. Miller <davem@davemloft.net>
70131
70132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70133 (___Q_zero): New.
70134 (__Q_simulate_exceptions): Return void. Change to simulate
70135 exceptions by writing into the %fsr.
70136 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70137 (__Qp_handle_exceptions): Likewise.
70138 (numbers): Delete.
70139 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70140 __Qp_handle_exceptions.
70141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70142 __Qp_handle_exceptions.
70143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70144 as unused and give dummy FP_RND_NEAREST initializer.
70145 (FP_INHIBIT_RESULTS): Define.
70146 (___Q_simulate_exceptions): Update declaration.
70147 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70148 formatting.
70149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70150 as unused and give dummy FP_RND_NEAREST initializer.
70151 (__Qp_handle_exceptions): Update declaration.
70152 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70153 formatting.
70154
70155 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
70156
70157 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70158 the temporary FPU control word.
70159 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70160 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70161 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70162 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70163 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70164 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70165 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70167 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70168 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70169 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70170
70171 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70172
70173 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70174 fields.
70175
70176 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70177
70178 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70179 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70180 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70181 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70182 Likewise.
70183 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70184 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70185 Likewise.
70186
70187 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70188
70189 * po/h.po: Update from translation team.
70190
70191 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70192
70193 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70194
70195 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70196 handling of denormals.
70197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70198 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70199 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70200 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70204 Likewise.
70205
70206 2012-05-26 Marek Polacek <polacek@redhat.com>
70207
70208 [BZ #14152]
70209 * math/libm-test.inc (fma_test): Don't always expect underflow
70210 exception.
70211
70212 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70213
70214 [BZ #12416]
70215 * elf/tst-execstack.c: Include stackinfo.h.
70216 (do_test): Adjust test case to ensure that pthread_getattr_np
70217 behaviour remains the same after marking stack executable.
70218
70219 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70220
70221 * sysdeps/unix/sysv/linux/kernel-features.h
70222 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70223 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70224 kernel-features.h.
70225 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70226 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70227 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70228 kernel-features.h.
70229 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70230 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70231
70232 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70233
70234 * configure.in: Define the default includes to being none.
70235 * configure: Regenerated.
70236
70237 2012-05-25 Roland McGrath <roland@hack.frob.com>
70238
70239 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70240 * sysdeps/x86_64/setjmp.S: Likewise.
70241 * sysdeps/i386/bsd-setjmp.S: Likewise.
70242 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70243 * sysdeps/i386/setjmp.S: Likewise.
70244 * sysdeps/i386/__longjmp.S: Likewise.
70245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70246 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70247
70248 * include/stap-probe.h: New file.
70249 * configure.in: Handle --enable-systemtap.
70250 * configure: Regenerated.
70251 * config.h.in (USE_STAP_PROBE): New #undef.
70252 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70253 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70254 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70255
70256 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70257
70258 [BZ #13717]
70259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70260 to 2.4.0 where earlier.
70261 * sysdeps/unix/sysv/linux/configure: Regenerated.
70262 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
70271 [__ASSUME_32BITUIDS]: Make code unconditional.
70272 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70273 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70274 <kernel-features.h>.
70275 [__ASSUME_32BITUIDS]: Make code unconditional.
70276 [!__ASSUME_32BITUIDS]: Remove conditional code.
70277 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70278 <kernel-features.h>.
70279 [__ASSUME_32BITUIDS]: Make code unconditional.
70280 [!__ASSUME_32BITUIDS]: Remove conditional code.
70281 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70282 <kernel-features.h>.
70283 [__ASSUME_32BITUIDS]: Make code unconditional.
70284 [!__ASSUME_32BITUIDS]: Remove conditional code.
70285 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70286 <kernel-features.h>.
70287 [__ASSUME_32BITUIDS]: Make code unconditional.
70288 [!__ASSUME_32BITUIDS]: Remove conditional code.
70289 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70290 <kernel-features.h>.
70291 [__ASSUME_32BITUIDS]: Make code unconditional.
70292 [!__ASSUME_32BITUIDS]: Remove conditional code.
70293 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70294 <kernel-features.h>.
70295 [__ASSUME_32BITUIDS]: Make code unconditional.
70296 [!__ASSUME_32BITUIDS]: Remove conditional code.
70297 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70298 <kernel-features.h>.
70299 [__ASSUME_32BITUIDS]: Make code unconditional.
70300 [!__ASSUME_32BITUIDS]: Remove conditional code.
70301 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70302 <kernel-features.h>.
70303 [__ASSUME_32BITUIDS]: Make code unconditional.
70304 [!__ASSUME_32BITUIDS]: Remove conditional code.
70305 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70306 <kernel-features.h>.
70307 [__ASSUME_32BITUIDS]: Make code unconditional.
70308 [!__ASSUME_32BITUIDS]: Remove conditional code.
70309 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70310 <kernel-features.h>.
70311 [__ASSUME_32BITUIDS]: Make code unconditional.
70312 [!__ASSUME_32BITUIDS]: Remove conditional code.
70313 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70314 <kernel-features.h>.
70315 [__NR_setresgid] (__setresgid): Do not declare.
70316 [__ASSUME_32BITUIDS]: Make code unconditional.
70317 [!__ASSUME_32BITUIDS]: Remove conditional code.
70318 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70319 <kernel-features.h>.
70320 [__NR_setresuid] (__setresuid): Do not declare.
70321 [__ASSUME_32BITUIDS]: Make code unconditional.
70322 [!__ASSUME_32BITUIDS]: Remove conditional code.
70323 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70324 <kernel-features.h>.
70325 [__ASSUME_32BITUIDS]: Make code unconditional.
70326 [!__ASSUME_32BITUIDS]: Remove conditional code.
70327 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70328 <kernel-features.h>.
70329 [__ASSUME_32BITUIDS]: Make code unconditional.
70330 [!__ASSUME_32BITUIDS]: Remove conditional code.
70331 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70332 <kernel-features.h>.
70333 [__ASSUME_32BITUIDS]: Make code unconditional.
70334 [!__ASSUME_32BITUIDS]: Remove conditional code.
70335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70336 <kernel-features.h>.
70337 [__ASSUME_32BITUIDS]: Make code unconditional.
70338 [!__ASSUME_32BITUIDS]: Remove conditional code.
70339 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70340 <kernel-features.h>.
70341 [__ASSUME_32BITUIDS]: Make code unconditional.
70342 [!__ASSUME_32BITUIDS]: Remove conditional code.
70343 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70344 <kernel-features.h>.
70345 [__ASSUME_32BITUIDS]: Make code unconditional.
70346 [!__ASSUME_32BITUIDS]: Remove conditional code.
70347 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70348 <kernel-features.h>.
70349 [__ASSUME_32BITUIDS]: Make code unconditional.
70350 [!__ASSUME_32BITUIDS]: Remove conditional code.
70351 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70352 <kernel-features.h>.
70353 [__ASSUME_32BITUIDS]: Make code unconditional.
70354 [!__ASSUME_32BITUIDS]: Remove conditional code.
70355 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70356 <kernel-features.h>.
70357 [__ASSUME_32BITUIDS]: Make code unconditional.
70358 [!__ASSUME_32BITUIDS]: Remove conditional code.
70359 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70360 <kernel-features.h>.
70361 [__ASSUME_32BITUIDS]: Make code unconditional.
70362 [!__ASSUME_32BITUIDS]: Remove conditional code.
70363 * sysdeps/unix/sysv/linux/kernel-features.h
70364 (__ASSUME_SETRESUID_SYSCALL): Remove.
70365 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70366 (__ASSUME_32BITUIDS): Likewise.
70367 (__ASSUME_LDT_WORKS): Likewise.
70368 (__ASSUME_O_DIRECTORY): Likewise.
70369 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70370 architecture but not kernel version.
70371 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70372 (__ASSUME_MMAP2_SYSCALL): Likewise.
70373 (__ASSUME_STAT64_SYSCALL): Likewise.
70374 (__ASSUME_IPC64): Likewise.
70375 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70376 <kernel-features.h>.
70377 [__ASSUME_32BITUIDS]: Make code unconditional.
70378 [!__ASSUME_32BITUIDS]: Remove conditional code.
70379 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70380 <kernel-features.h>.
70381 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70382 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70383 132096]: Remove conditional code.
70384 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70385 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70386 <kernel-features.h>.
70387 [__ASSUME_32BITUIDS]: Make code unconditional.
70388 [!__ASSUME_32BITUIDS]: Remove conditional code.
70389 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70390 <kernel-features.h>.
70391 [__ASSUME_32BITUIDS]: Make code unconditional.
70392 [!__ASSUME_32BITUIDS]: Remove conditional code.
70393 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70394 <kernel-features.h>.
70395 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70396 unconditional.
70397 (__setresgid): Do not declare.
70398 [__ASSUME_32BITUIDS]: Make code unconditional.
70399 [!__ASSUME_32BITUIDS]: Remove conditional code.
70400 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70401 <kernel-features.h>.
70402 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70403 unconditional.
70404 (__setresuid): Do not declare.
70405 [__ASSUME_32BITUIDS]: Make code unconditional.
70406 [!__ASSUME_32BITUIDS]: Remove conditional code.
70407 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70408 <kernel-features.h>.
70409 [__ASSUME_32BITUIDS]: Make code unconditional.
70410 [!__ASSUME_32BITUIDS]: Remove conditional code.
70411 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70412 <kernel-features.h>.
70413 [__ASSUME_32BITUIDS]: Make code unconditional.
70414 [!__ASSUME_32BITUIDS]: Remove conditional code.
70415
70416 2012-05-25 Richard Henderson <rth@twiddle.net>
70417
70418 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70419 dl_hwcap to ifunc resolver.
70420 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70421 elf_ifunc_invoke.
70422 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70423 dl_hwcap to ifunc resolver.
70424 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70425
70426 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70427
70428 [BZ #14153]
70429 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70430 for |x| <= 2**-26, not 2**-57.
70431 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70432 exception.
70433
70434 2012-05-24 Jeff Law <law@redhat.com>
70435
70436 * stdio-common/Makefile (tests): Add bug25.
70437 * stdio-common/bug25.c: New test.
70438
70439 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70440
70441 [BZ #13576]
70442 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70443 multiple of MALLOC_ALIGNMENT in size.
70444 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70445
70446 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70447
70448 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70449 Require >= 256.
70450 (FILENAME_MAX): Use macro-int-constant.
70451 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70452 (_IOFBF): Use macro-int-constant.
70453 (_IOLBF): Likewise.
70454 (_IONBF): Likewise.
70455 (SEEK_CUR): Likewise.
70456 (SEEK_END): Likewise.
70457 (SEEK_SET): Likewise.
70458 (TMP_MAX): Likewise.
70459 (EOF): Use macro-int-constant. Require < 0.
70460 (NULL): Use macro-constant. Require == 0.
70461 (stdin): Require type to be FILE *.
70462 (stdout): Likewise.
70463 (stderr): Likewise.
70464 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70465 macro-int-constant.
70466 (EXIT_SUCCESS): Likewise.
70467 (NULL): Use macro-constant. Require == 0.
70468 (RAND_MAX): Use macro-int-constant.
70469 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70470 [C99-based standards] (strtof): Require function.
70471 [C99-based standards] (strtold): Likewise.
70472 [C99-based standards] (strtoll): Likewise.
70473 [C99-based standards] (strtoull): Likewise.
70474 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70475 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70476 [ISO || ISO99 || ISO11] (math.h): Likewise.
70477 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70478 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70480
70481 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70482
70483 [BZ #14132]
70484 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70485 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70486 * intl/dgettext.c (DCGETTEXT): Likewise.
70487 * intl/gettext.c (DCGETTEXT): Likewise.
70488 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70489 * posix/regex_internal.h (gettext): Likewise.
70490 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70491 Remove declaration.
70492 * include/argz.h (__argz_count_internal)
70493 (__argz_stringify_internal): Remove declaration.
70494 (__argz_count, __argz_stringify): Declare hidden proto.
70495 * intl/dcgettext.c: Remove use of INTDEF.
70496 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70497 * string/argz-stringify.c: Likewise.
70498 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70499 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70500 Declare hidden proto.
70501 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70502 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70503 Declare hidden proto.
70504 * include/stdio.h (__asprintf_internal): Don't declare.
70505 (__asprintf): Don't define as macro. Declare hidden proto.
70506 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70507 (__fsetlocking): Declare hidden proto.
70508 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70509 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70510 hidden proto.
70511 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70512 (_IO_setlinebuf): Remove use of INTUSE.
70513 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70514 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70515 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70516 Remove declaration.
70517 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70518 (_IO_do_flush): Remove use of INTUSE.
70519 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70520 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70521 (_IO_adjust_column, _IO_least_wmarker)
70522 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70523 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70524 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70525 (_IO_default_doallocate, _IO_wdefault_doallocate)
70526 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70527 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70528 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70529 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70530 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70531 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70532 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70533 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70534 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70535 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70536 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70537 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70538 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70539 proto.
70540 (_IO_flush_all_internal, _IO_adjust_column_internal)
70541 (_IO_default_uflow_internal, _IO_default_finish_internal)
70542 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70543 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70544 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70545 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70546 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70547 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70548 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70549 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70550 (_IO_file_close_internal, _IO_file_close_it_internal)
70551 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70552 (_IO_file_init_internal, _IO_file_attach_internal)
70553 (_IO_file_fopen_internal, _IO_file_read_internal)
70554 (_IO_file_sync_internal, _IO_file_seek_internal)
70555 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70556 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70557 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70558 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70559 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70560 (_IO_list_all_internal, _IO_link_in_internal)
70561 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70562 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70563 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70564 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70565 (_IO_do_write_internal, _IO_padn_internal)
70566 (_IO_getline_info_internal, _IO_getline_internal)
70567 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70568 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70569 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70570 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70571 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70572 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70573 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70574 with libc_hidden_ver, remove use of INTUSE.
70575 * libio/genops.c: Likewise.
70576 * libio/freopen.c: Likewise.
70577 * libio/freopen64.c: Likewise.
70578 * libio/iofclose.c: Likewise.
70579 * libio/iofdopen.c: Likewise.
70580 * libio/iofflush.c: Likewise.
70581 * libio/iofflush_u.c: Likewise.
70582 * libio/iofgets.c: Likewise.
70583 * libio/iofgets_u.c: Likewise.
70584 * libio/iofopen.c: Likewise.
70585 * libio/iofopncook.c: Likewise.
70586 * libio/iofread.c: Likewise.
70587 * libio/iofread_u.c: Likewise.
70588 * libio/ioftell.c: Likewise.
70589 * libio/iofwrite.c: Likewise.
70590 * libio/iogetline.c: Likewise.
70591 * libio/iogets.c: Likewise.
70592 * libio/iogetwline.c: Likewise.
70593 * libio/iopadn.c: Likewise.
70594 * libio/iopopen.c: Likewise.
70595 * libio/ioseekoff.c: Likewise.
70596 * libio/ioseekpos.c: Likewise.
70597 * libio/iosetbuffer.c: Likewise.
70598 * libio/iosetvbuf.c: Likewise.
70599 * libio/ioungetc.c: Likewise.
70600 * libio/ioungetwc.c: Likewise.
70601 * libio/iovdprintf.c: Likewise.
70602 * libio/iovsprintf.c: Likewise.
70603 * libio/iovsscanf.c: Likewise.
70604 * libio/memstream.c: Likewise.
70605 * libio/obprintf.c: Likewise.
70606 * libio/oldfileops.c: Likewise.
70607 * libio/oldiofclose.c: Likewise.
70608 * libio/oldiofdopen.c: Likewise.
70609 * libio/oldiofopen.c: Likewise.
70610 * libio/oldiopopen.c: Likewise.
70611 * libio/oldstdfiles.c: Likewise.
70612 * libio/putc.c: Likewise.
70613 * libio/setbuf.c: Likewise.
70614 * libio/setlinebuf.c: Likewise.
70615 * libio/stdfiles.c: Likewise.
70616 * libio/strops.c: Likewise.
70617 * libio/vasprintf.c: Likewise.
70618 * libio/vscanf.c: Likewise.
70619 * libio/vsnprintf.c: Likewise.
70620 * libio/vswprintf.c: Likewise.
70621 * libio/wfiledoalloc.c: Likewise.
70622 * libio/wfileops.c: Likewise.
70623 * libio/wgenops.c: Likewise.
70624 * libio/wmemstream.c: Likewise.
70625 * libio/wstrops.c: Likewise.
70626 * libio/__fpurge.c: Likewise.
70627 * libio/__fsetlocking.c: Likewise.
70628 * assert/assert.c: Likewise.
70629 * debug/fgets_chk.c: Likewise.
70630 * debug/fgets_u_chk.c: Likewise.
70631 * debug/fread_chk.c: Likewise.
70632 * debug/fread_u_chk.c: Likewise.
70633 * debug/gets_chk.c: Likewise.
70634 * debug/obprintf_chk.c: Likewise.
70635 * debug/vasprintf_chk.c: Likewise.
70636 * debug/vdprintf_chk.c: Likewise.
70637 * debug/vsnprintf_chk.c: Likewise.
70638 * debug/vsprintf_chk.c: Likewise.
70639 * malloc/mtrace.c: Likewise.
70640 * misc/error.c: Likewise.
70641 * misc/syslog.c: Likewise.
70642 * stdio-common/asprintf.c: Likewise.
70643 * stdio-common/fxprintf.c: Likewise.
70644 * stdio-common/getw.c: Likewise.
70645 * stdio-common/isoc99_fscanf.c: Likewise.
70646 * stdio-common/isoc99_scanf.c: Likewise.
70647 * stdio-common/isoc99_vfscanf.c: Likewise.
70648 * stdio-common/isoc99_vscanf.c: Likewise.
70649 * stdio-common/isoc99_vsscanf.c: Likewise.
70650 * stdio-common/printf-prs.c: Likewise.
70651 * stdio-common/printf_fp.c: Likewise.
70652 * stdio-common/printf_fphex.c: Likewise.
70653 * stdio-common/printf_size.c: Likewise.
70654 * stdio-common/putw.c: Likewise.
70655 * stdio-common/scanf.c: Likewise.
70656 * stdio-common/sprintf.c: Likewise.
70657 * stdio-common/tmpfile.c: Likewise.
70658 * stdio-common/vfprintf.c: Likewise.
70659 * stdio-common/vfscanf.c: Likewise.
70660 * stdlib/strfmon_l.c: Likewise.
70661 * sunrpc/openchild.c: Likewise.
70662 * sunrpc/xdr_stdio.c: Likewise.
70663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70664 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70665
70666 2012-05-24 Roland McGrath <roland@hack.frob.com>
70667
70668 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70669
70670 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70671 in the third column, to generate for the shared library an IFUNC
70672 that uses _dl_vdso_vsym.
70673 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70674 * Makeconfig (object-suffixes-noshared): New variable.
70675
70676 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70677 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70678 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70679 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70680
70681 [BZ #14132]
70682 * include/sys/time.h (__gettimeofday): Remove macro.
70683 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70684 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70685 Remove INTDEF.
70686 (__gettimeofday): Add libc_hidden_def.
70687 (gettimeofday): Add libc_hidden_weak.
70688 * sysdeps/mach/gettimeofday.c: Likewise.
70689 * sysdeps/posix/gettimeofday.c: Likewise.
70690 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70691 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70693 (__gettimeofday_internal): Remove strong_alias.
70694 (__gettimeofday): Add libc_hidden_def.
70695 (gettimeofday): Add libc_hidden_weak.
70696 * sysdeps/unix/syscalls.list (gettimeofday):
70697 Remove __gettimeofday_internal alias.
70698
70699 2012-05-24 Daniel Jacobowitz <drow@false.org>
70700 H.J. Lu <hongjiu.lu@intel.com>
70701
70702 [BZ #12495]
70703 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70704 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70705 (largebin_index_32_big): New.
70706 (largebin_index): Use it for 16-byte alignment.
70707 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70708 correction with front_misalign.
70709
70710 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70711
70712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70714 Likewise.
70715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70716 Likewise.
70717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70718 Likewise.
70719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70720 Likewise.
70721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70722 Likewise.
70723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70724 Likewise.
70725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70726 Likewise.
70727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70728 Likewise.
70729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70730 Likewise.
70731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70732 Likewise.
70733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70734 Likewise.
70735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70736 Likewise.
70737
70738 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70739 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70740
70741 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70742
70743 [BZ #10846]
70744 [BZ #14036]
70745 * math/libm-test.inc (exp_test): Add test from bug 14036.
70746 (pow_test): Add test from bug 10846.
70747
70748 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70749 and other flags.
70750 (special_function): Do not include flags in test name.
70751 (parse_args): Likewise.
70752 * sysdeps/i386/fpu/libm-test-ulps: Update.
70753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70754 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70757
70758 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70759 exceptions.
70760 * math/libm-test.inc ("Philosophy"): Update comment about
70761 exception testing.
70762 (UNDERFLOW_EXCEPTION): New macro.
70763 (UNDERFLOW_EXCEPTION_OK): Likewise.
70764 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70765 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70766 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70767 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70768 (INVALID_EXCEPTION_OK): Update value.
70769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70770 (OVERFLOW_EXCEPTION_OK): Likewise.
70771 (IGNORE_ZERO_INF_SIGN): Likewise.
70772 (test_exceptions): Handle underflow exceptions.
70773 (acos_test): Update for underflow exception expectations.
70774 (cexp_test): Likewise.
70775 (clog_test): Likewise.
70776 (clog10_test): Likewise.
70777 (csqrt_test): Likewise.
70778 (ctan_test): Likewise.
70779 (ctanh_test): Likewise.
70780 (exp_test): Likewise.
70781 (exp10_test): Likewise.
70782 (exp2_test): Likewise.
70783 (expm1_test): Likewise.
70784 (fma_test): Likewise.
70785 (j0_test): Likewise.
70786 (jn_test): Likewise.
70787 (nexttoward_test): Likewise.
70788 (pow_test): Likewise.
70789 (scalbn_test): Likewise.
70790 (scalbln_test): Likewise.
70791 (tan_test): Likewise.
70792 (y1_test): Likewise.
70793 * sysdeps/i386/fpu/libm-test-ulps: Update.
70794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70795
70796 2012-05-23 David S. Miller <davem@davemloft.net>
70797
70798 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70799 (__libc_sigaction): Remove unused local variables.
70800
70801 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70802
70803 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70804
70805 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70806
70807 mktime: avoid signed integer overflow
70808 * time/mktime.c (__mktime_internal): Do not mishandle the case
70809 where diff == INT_MIN.
70810
70811 mktime: simplify computation of average
70812 * time/mktime.c (ranged_convert): Use new time_t_avg function
70813 instead of rolling our own (probably-slower) code.
70814
70815 mktime: do not assume signed right shift propagates sign bit
70816 * time/mktime.c (isdst_differ): New static function.
70817 (__mktime_internal): No need to normalize tm_isdst now.
70818 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70819 tm_isdst values.
70820
70821 mktime: merge another wrapv change from gnulib
70822 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70823 from some compilers.
70824
70825 mktime: remove incorrect attempt at unusual arithmetics
70826 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70827 The code didn't really work on such machines anyway.
70828 (TYPE_MINIMUM): Assume two's complement.
70829 (twos_complement_arithmetic): Verify that long_int and time_t
70830 are two's complement (or unsigned, in the latter case).
70831
70832 mktime: check signed shifts on long_int and time_t, too
70833 * time/mktime.c (SHR): Check that shifts work as desired
70834 on the types long_int and time_t too, as SHR is used on
70835 such types.
70836
70837 mktime: do not assume 'long' is wide enough
70838 * time/mktime.c (verify): Move decl up.
70839 (long_int): New type.
70840 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70841 to remove assumption in the code that 'long' is wide enough to
70842 store year values. This assumption is not true on x32 and on
70843 some non-glibc platforms.
70844
70845 mktime: merge wrapv change from gnulib
70846 * time/mktime.c (WRAPV): New macro.
70847 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70848 (guess_time_tm, __mktime_internal): Do not assume that signed
70849 integer overflow wraps around; modern compilers generate code
70850 where this assumption is no longer valid.
70851
70852 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70853
70854 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70855 Replace "jmp L(pseudo_end)" with "ret".
70856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70857 Likewise.
70858
70859 2012-05-23 Andreas Jaeger <aj@suse.de>
70860
70861 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70862 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70863
70864 2012-05-23 Andreas Jaeger <aj@suse.de>
70865 Maximilian Attems <max@stro.at>
70866
70867 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70868 New macros.
70869
70870 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70871
70872 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70873 code so that pseudo_end is just ret and the stack pointer is
70874 correct also for static library in error case.
70875
70876 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70877
70878 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70879 move to syscalls.list.
70880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70884
70885 * manual/install.texi (Running make install): Do not mention Linux
70886 kernel version for which pt_chown is not needed.
70887 (Linux): Do not mention problems with nscd with 2.0 kernels.
70888 * INSTALL: Regenerated.
70889
70890 2012-05-23 Andreas Jaeger <aj@suse.de>
70891
70892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70893 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70894 macro.
70895 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70897 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70898 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70899 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70900 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70905 * sysdeps/unix/sysv/linux/bits/in.h
70906 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70907
70908 2012-05-22 Roland McGrath <roland@hack.frob.com>
70909
70910 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70911 (PREPARE_VERSION): Just use assert instead, it will be elided
70912 under [NDEBUG] anyway.
70913
70914 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70915
70916 * sysdeps/unix/sysv/linux/Makefile: Include
70917 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70918 (sysdep_routines): Remove sysctl.
70919 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70920 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70921 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70922 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70923 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70924
70925 2012-05-22 Andreas Jaeger <aj@suse.de>
70926
70927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70928 that pseudo_end is just ret and the stack pointer is correct also
70929 for static library in error case.
70930
70931 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70932
70933 [BZ #14122]
70934 * nss/nsswitch.c (defconfig_entries): New variable.
70935 (__nss_database_lookup): Don't leak defconfig entries.
70936 (nss_parse_service_list): Don't leak on error paths.
70937 (free_database_entries): New function.
70938 (free_defconfig): New function.
70939 (free_mem): Move common code to free_database_entries.
70940
70941 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70942
70943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70944 Add arch_prctl.
70945 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70946
70947 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70948 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70950 New macro.
70951 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70952 (INTERNAL_SYSCALL_TYPES): Likewise.
70953 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70954 (LOAD_REGS_TYPES_[1-6]): Likewise.
70955 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70956 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70957
70958 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70959
70960 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70961 copysignl for GLIBC_2_0.
70962 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70963 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70965 logbl for GLIBC_2_0.
70966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70967 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70968
70969 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70970
70971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70972 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70973
70974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70975 Use "neg %eax".
70976
70977 * time/mktime.c: Update copyright years.
70978
70979 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70980
70981 mktime: merge comment-quoting-style change from gnulib
70982 * time/mktime.c: Quote 'like this' in comments.
70983 The GNU coding standards suggest that we no longer quote `like this',
70984 as "`" and "'" are typically rendered asymmetrically nowadays.
70985 The typical gnulib style is to quote 'like this' when quoting
70986 code, and "like this" when quoting English.
70987
70988 * time/mktime.c (compile-command): Add "-I.".
70989
70990 mktime: merge mktime-internal.h change from gnulib
70991 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70992
70993 mktime: merge time_r change from gnulib
70994 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70995
70996 mktime: merge DEBUG change from gnulib
70997 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70998 case system <time.h> has a #define.
70999
71000 mktime: merge <sys/types.h> change from gnulib
71001 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71002 since <time.t> is now guaranteed to define time_t.
71003
71004 mktime: merge HAVE_CONFIG_H change from gnulib
71005 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71006
71007 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71008
71009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71010 Use "neg %eax".
71011
71012 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71013 __rlim_t cast.
71014 (struct rusage): Use anonymous union to pad each field to
71015 __syscall_slong_t.
71016
71017 2012-05-21 David S. Miller <davem@davemloft.net>
71018
71019 * Makefules (o-iterator): Remove .s cases.
71020 (compile-command.s): Delete.
71021 (COMPILE.s): Delete.
71022 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71023
71024 2012-05-21 Joseph Myers <joseph@codesourcery.com>
71025
71026 * configure.in (libc_cv_predef_stack_protector): Only consider
71027 "foobar" and "__stack_chk_fail" lines in libc_undefs.
71028 * configure: Regenerated.
71029
71030 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71031
71032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71033 New macro. Use R*LP on int and pointer.
71034 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71035 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71036 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71037 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71038
71039 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71040 [__WORDSIZE_TIME64_COMPAT32] instead of
71041 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71042 (struct utmp): Likewise.
71043 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71044 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71045 Renamed to ...
71046 (__WORDSIZE_TIME64_COMPAT32): This.
71047 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71048 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71049 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71050 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71051 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71052 (__WORDSIZE_TIME64_COMPAT32): New macro.
71053
71054 2012-05-21 Andreas Jaeger <aj@suse.de>
71055
71056 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71057 only if [SHARED]. Add prototype for __wcschr_ia32.
71058
71059 2012-05-21 Roland McGrath <roland@hack.frob.com>
71060
71061 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71062 of %rbp unmolested in the jmp_buf while mangling the low bits.
71063 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71064 unmolested high bits of %rbp while demangling the low bits.
71065 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71066
71067 2012-05-21 Andreas Jaeger <aj@suse.de>
71068
71069 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71070 * sunrpc/svc_simple.c: Use it for registerrpc.
71071 * sunrpc/xcrypt.c: Use it for passwd2des.
71072
71073 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71074
71075 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71076
71077 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71078 Don't define if [__SYSCALL_WORDSIZE != 32].
71079 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71080 New macro.
71081
71082 2012-05-21 Bruno Haible <bruno@clisp.org>
71083 Andreas Jaeger <aj@suse.de>
71084
71085 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71086 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71087 inptr and inend for must_buffer_ch.
71088 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71089 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71090 * stdio-common/Makefile (tests): Remove bug15.
71091 (bug15-ENV): Remove macro.
71092 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71093 anymore.
71094
71095 2012-05-19 Andreas Jaeger <aj@suse.de>
71096 Roland McGrath <roland@hack.frob.com>
71097
71098 * manual/contrib.texi: Completely rewritten. It contains now an
71099 alphabetical list of contributors and their contributions.
71100
71101 2012-05-21 Richard Henderson <rth@twiddle.net>
71102
71103 * misc/getauxval.c (__getauxval): Use unsigned long int.
71104 * misc/sys/auxv.h: Include <sys/cdefs.h>.
71105 (getauxval): Use unsigned long int.
71106
71107 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71108
71109 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71110
71111 2012-05-21 Roland McGrath <roland@hack.frob.com>
71112
71113 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71114 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71115 __alignof__ (long double).
71116
71117 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71118
71119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71120
71121 2012-05-20 Richard Henderson <rth@twiddle.net>
71122
71123 * misc/getauxval.c: New file.
71124 * misc/sys/auxv.h: New file.
71125 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71126 (routines): Add getauxval.
71127 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71128 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71129 * elf/dl-sysdep.c (_dl_auxv): Remove.
71130 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71131 * elf/dl-support.c (_dl_auxv): New variable.
71132 (_dl_aux_init): Initialize it.
71133 * manual/startup.texi (Auxiliary Vector): New node.
71134 * sysdeps/generic/bits/hwcap.h: New file.
71135 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71136 * sysdeps/powerpc/sysdep.h: ... here. Include it.
71137 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71138 * sysdeps/sparc/sysdep.h: ... here. Include it.
71139 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71142 Update.
71143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71151
71152 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71153
71154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71155
71156 2012-05-19 David S. Miller <davem@davemloft.net>
71157
71158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71159
71160 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71161
71162 [BZ #14123]
71163 * math/s_ccosh.c: Include <float.h>
71164 (__ccosh): Avoid internal overflow calculating sinh and cosh
71165 values before multiplying by sin and cos values.
71166 * math/s_ccoshf.c: Likewise.
71167 * math/s_ccoshl.c: Likewise.
71168 * math/s_csin.c: Likewise.
71169 * math/s_csinf.c: Likewise.
71170 * math/s_csinl.c: Likewise.
71171 * math/s_csinh.c: Likewise.
71172 * math/s_csinhf.c: Likewise.
71173 * math/s_csinhl.c: Likewise.
71174 * math/libm-test.inc (ccos_test): Add more tests.
71175 (ccosh_test): Likewise.
71176 (csin_test): Likewise.
71177 (csinh_test): Likewise.
71178 * sysdeps/i386/fpu/libm-test-ulps: Update.
71179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71180
71181 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71182
71183 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71184 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71185
71186 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71187
71188 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71189
71190 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71191 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71192 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71193 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71194 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71195 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71196 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71197 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71198 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71199 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71200 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71201 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71202 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71203 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71204 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71205 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71206 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71207 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71208 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71209 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71210 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71211 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71212 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71213 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71214 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71215 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71216 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71217 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71218 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71219 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71220 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71221
71222 2012-05-18 Andreas Jaeger <aj@suse.de>
71223
71224 * csu/.gitignore: Delete.
71225
71226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71227
71228 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71229 (timex): Use __syscall_slong_t.
71230
71231 2012-05-18 Andreas Jaeger <aj@suse.de>
71232 Carlos O'Donell <carlos_odonell@mentor.com>
71233
71234 * manual/install.texi (Configuring and compiling): Update
71235 description about files modified in the source directory.
71236 * INSTALL: Regenerated.
71237
71238 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71239
71240 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71241 value. Use "or" to set return value to -1.
71242 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71243 negate return value.
71244
71245 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71246
71247 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71248 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71249 failure if the compiler has Graphite support disabled.
71250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71251 Likewise.
71252 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71253 (CFLAGS-memmove.c): Likewise.
71254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71255 Likewise.
71256
71257 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71258
71259 * sysdeps/x86_64/x32/_itoa.h: New file.
71260
71261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71262 getdents system call only if kernel and user dirents have the
71263 same d_ino and d_off.
71264
71265 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71266 LLONG_MAX != LONG_MAX.
71267 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71268 (_fitoa_word): Likewise.
71269
71270 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71271 years.
71272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71275
71276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71277 include <bits/wordsize.h>. Check __x86_64__ instead of
71278 __WORDSIZE.
71279 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71280 if __x86_64__ is defined. Use anonymous union on fpstate.
71281
71282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71283 anonymous union.
71284
71285 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71286
71287 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71288 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71290 Refer to _rtld_local_ro instead of _rtld_global_ro.
71291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71292 Likewise.
71293 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71294 Likewise.
71295 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71296 Likewise.
71297 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71298 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71299 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71300
71301 [BZ #10882]
71302 * sysdeps/powerpc/powerpc32/dl-machine.c
71303 (__elf_machine_runtime_setup) [PROF]: Don't reference
71304 _dl_prof_resolve.
71305
71306 2012-05-18 Andreas Jaeger <aj@suse.de>
71307
71308 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71309 function only available for GCCs before 3.4 since GCC 3.4
71310 introduced a builtin.
71311 (lrint): Likewise.
71312 (llrintf): Likewise.
71313 (llrint): Likewise.
71314 (fmaxf): Likewise.
71315 (fmax): Likewise.
71316 (fminf): Likewise.
71317 (fmin): Likewise.
71318 (rint): Likewise.
71319 (rintf): Likewise.
71320 (nearbyint): Likewise.
71321 (nearbyintf): Likewise.
71322 (ceil): Likewise.
71323 (ceilf): Likewise.
71324 (floor): Likewise.
71325 (floorf): Likewise.
71326
71327 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71328
71329 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71330 on both fields and cast pointer to __syscall_ulong_t.
71331
71332 * bits/types.h (__fsword_t): New type.
71333 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71334 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71336 (__FSWORD_T_TYPE): Likewise.
71337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71338 (__FSWORD_T_TYPE): Likewise.
71339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71340 (__FSWORD_T_TYPE): Likewise.
71341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71342 (__FSWORD_T_TYPE): Likewise.
71343 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71344 __SWORD_TYPE with __fsword_t.
71345 (statfs64): Likewise.
71346
71347 2012-05-17 David S. Miller <davem@davemloft.net>
71348
71349 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71350
71351 2012-05-17 Andreas Jaeger <aj@suse.de>
71352
71353 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71354 warning.
71355
71356 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71357
71358 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71359
71360 2012-05-17 Andreas Jaeger <aj@suse.de>
71361
71362 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71363 when it is used.
71364
71365 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71366
71367 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71368
71369 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71370
71371 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71372 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71373
71374 2012-05-17 Andreas Jaeger <aj@suse.de>
71375 Carlos O'Donell <carlos_odonell@mentor.com>
71376
71377 [BZ #14059]
71378 * sysdeps/x86_64/multiarch/init-arch.h
71379 (bit_YMM_Usable): Rename to...
71380 (bit_AVX_Usable): ... this.
71381 (bit_FMA4_Usable): New macro.
71382 (bit_XMM_state): New macro.
71383 (bit_YMM_state): New macro.
71384 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71385 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71386 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71387 (CPUID_OSXSAVE): New macro.
71388 (CPUID_AVX): New macro.
71389 (CPUID_FMA4): New macro.
71390 (index_YMM_Usable): Rename to...
71391 (index_AVX_Usable): ... this.
71392 (HAS_AVX): Use HAS_ARCH_FEATURE.
71393 (HAS_FMA4): Likewise.
71394 (HAS_YMM_USABLE): Remove.
71395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71396 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71397 are present.
71398 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71399 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71400 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71401 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71402 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71403
71404 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71405
71406 * math/libm-test.c: Support platforms without multiple rounding modes.
71407 * math/bug-nextafter.c: Support platforms without FP exceptions.
71408 * math/bug-nexttoward.c: Likewise.
71409 * math/test-fenv.c: Likewise.
71410 * math/test-misc.c: Likewise.
71411 * stdlib/bug-getcontext.c: Likewise.
71412
71413 2012-05-17 Andreas Jaeger <aj@suse.de>
71414
71415 * manual/examples/search.c (critter_cmp): Change signature to
71416 avoid warnings.
71417 * manual/string.texi (Collation Functions): Likewise.
71418
71419 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71420
71421 * bits/types.h: Fold copyright years.
71422 * bits/typesizes.h: Likewise.
71423 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71427 * time/time.h: Likewise.
71428
71429 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71430
71431 [BZ #208]
71432 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71433 in instead of returning them. Return void.
71434 (__libc_mallinfo): Accumulate over all arenas.
71435 (__malloc_stats): Adjust for change in int_mallinfo interface.
71436
71437 2012-05-16 Roland McGrath <roland@hack.frob.com>
71438
71439 [BZ #10375]
71440 * configure.in (NM): Add AC_CHECK_TOOL for it.
71441 (libc_extra_cflags): New substituted variable.
71442 Check for -fstack-protector being used implicitly.
71443 * configure: Regenerated.
71444 * config.make.in (config-extra-cflags): New variable,
71445 gets @libc_extra_cflags@.
71446 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71447
71448 [BZ #10375]
71449 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71450 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71451 * configure: Regenerated.
71452 * config.make.in (CPPUNDEFS): New substituted variable.
71453 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71454 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71455 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71456
71457 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71458
71459 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71460 (mq_attr): Use __syscall_slong_t.
71461
71462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71463
71464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71465 Check __x86_64__ instead of __WORDSIZE.
71466 (_STAT_VER_LINUX): Likewise.
71467 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71468 __syscall_ulong_t and __syscall_slong_t.
71469 (stat64): Likewise.
71470
71471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71472
71473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71474
71475 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71476
71477 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71478
71479 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71480
71481 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71482 __syscall_ulong_t.
71483
71484 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71485 include <bits/wordsize.h>. Check __x86_64__ instead of
71486 __WORDSIZE.
71487 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71488 defined.
71489 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71490
71491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71492 include <bits/wordsize.h>. Check __x86_64__ instead of
71493 __WORDSIZE.
71494 (user_regs_struct): Use "__extension__ unsigned long long"
71495 instead of "unsigned long" if __x86_64__ is defined.
71496 (user): Likewise. Pad after pointer field if __ILP32__ is
71497 defined.
71498
71499 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71500
71501 * configure.in (makeinfo): Require version 4.5 or later. Allow
71502 versions 5 to 9.
71503 * configure: Regenerated.
71504 * manual/install.texi (texinfo): Increase version requirement to
71505 4.5 or later.
71506 * INSTALL: Regenerated.
71507
71508 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71509
71510 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71511
71512 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71513
71514 * sysdeps/x86_64/x32/ffs.c: New file.
71515
71516 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71517 __syscall_ulong_t.
71518 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71519 defined. Use __syscall_ulong_t.
71520 (shminfo): Use __syscall_ulong_t.
71521 (shm_info): Likewise.
71522
71523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71524 __syscall_ulong_t.
71525
71526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71527 <bits/wordsize.h>.
71528 (msgqnum_t): Use __syscall_ulong_t.
71529 (msglen_t): Likewise.
71530 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71531 __syscall_ulong_t.
71532
71533 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71534 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71535
71536 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71537
71538 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71539 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71540
71541 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71542 __syscall_slong_t.
71543
71544 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71545 include <bits/wordsize.h>. Check __x86_64__ instead of
71546 __WORDSIZE.
71547
71548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71549 "unsigned long long int" if __x86_64__ is defined.
71550 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71551
71552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71553 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71554 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71555
71556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71557 <stdint.h>.
71558 (GET_PC): Cast to uintptr_t first.
71559 (GET_FRAME): Likewise.
71560 (GET_STACK): Likewise.
71561
71562 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71565 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71567 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71568 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71569 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71570 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71572 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71573 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71574 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71575 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71576 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71578 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71579 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71580 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71581 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71582 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71583 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71584 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71585 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71586 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71587 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71588 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71589 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71590 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71591
71592 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71593
71594 * Makerules (+depfiles): Also collect depfiles from .oS in
71595 $(extra-objs).
71596 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71597 .oS, $(libnldbl-routines)).
71598
71599 * Makerules (native-compile-mkdep-flags): Define.
71600 * sunrpc/Makefile (extra-objs): Add $(addprefix
71601 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71602 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71603 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71604 calling $(make-target-directory).
71605
71606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71607
71608 * bits/types.h (__snseconds_t): Removed.
71609 * time/time.h (struct timespec): Replace __snseconds_t with
71610 __syscall_slong_t.
71611 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71612 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71613 Likewise.
71614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71615 (__SNSECONDS_T_TYPE): Likewise.
71616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71617 (__SNSECONDS_T_TYPE): Likewise.
71618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71619 (__SNSECONDS_T_TYPE): Likewise.
71620
71621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71622
71623 * sysdeps/mach/hurd/bits/typesizes.h
71624 (__SYSCALL_SLONG_TYPE): New macro.
71625 (__SYSCALL_ULONG_TYPE): Likewise.
71626
71627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71628
71629 * bits/types.h (__syscall_slong_t): New type.
71630 (__syscall_ulong_t): Likewise.
71631
71632 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71633 (__SYSCALL_ULONG_TYPE): Likewise.
71634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71635 (__SYSCALL_SLONG_TYPE): Likewise.
71636 (__SYSCALL_ULONG_TYPE): Likewise.
71637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71638 (__SYSCALL_SLONG_TYPE): Likewise.
71639 (__SYSCALL_ULONG_TYPE): Likewise.
71640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71641 (__SYSCALL_SLONG_TYPE): Likewise.
71642 (__SYSCALL_ULONG_TYPE): Likewise.
71643
71644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71645
71646 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71647 Add sigaltstack-offsets.sym.
71648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71649 <sigaltstack-offsets.h>.
71650 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71651 longjmp_msg pointer.
71652 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71653 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71654 signal stack.
71655 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71656
71657 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71658
71659 * elf/stackguard-macros.h: Remove file.
71660 * sysdeps/generic/stackguard-macros.h: New file.
71661 * sysdeps/i386/stackguard-macros.h: Likewise.
71662 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71663 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71664 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71665 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71666 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71667 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71668 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71669 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71670 <elf/stackguard-macros.h>.
71671
71672 [BZ #14109]
71673 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71674 __aligned__ in attribute.
71675 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71676 (gregset_t): Likewise.
71677
71678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71679
71680 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71681 * sysdeps/x86_64/64/Implies-after: Here. New file.
71682 * sysdeps/x86_64/x32/Implies-after: New file.
71683
71684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71685
71686 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71687 and access return value for _dl_profile_fixup. Use R10_LP to
71688 load frame size.
71689
71690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71691
71692 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71693
71694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71695
71696 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71697 * sysdeps/x86_64/x32/sysdep.h: New file.
71698
71699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71700
71701 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71702 * sysdeps/x86_64/setjmp.S: Likewise.
71703
71704 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71705
71706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71708 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71710 remove unused global constant.
71711
71712 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71713
71714 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71715 include of <not-cancel.h>.
71716
71717 2012-05-15 Roland McGrath <roland@hack.frob.com>
71718
71719 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71720
71721 2012-05-15 Jeff Law <law@redhat.com>
71722 Andreas Jaeger <aj@suse.de>
71723
71724 [BZ #13594]
71725 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71726 out from...
71727 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71728 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71729 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71730 code changing __hst_map_handle.map.
71731
71732 2012-05-15 Roland McGrath <roland@hack.frob.com>
71733
71734 * configure.in (sysnames): Look for Implies-before and Implies-after
71735 files.
71736 * configure: Regenerated.
71737
71738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71739
71740 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71741 8-byte data alignment with LP_SIZE alignment.
71742
71743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71744
71745 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71746 into R10_LP.
71747
71748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71749
71750 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71751
71752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71753
71754 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71755 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71756 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71757 Likewise.
71758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71759
71760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71761
71762 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71763 (stackinfo_sub_sp): Likewise.
71764
71765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71766
71767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71768 RAX_LP.
71769
71770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71771
71772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71773 into R*_LP.
71774
71775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71776
71777 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71778 sizes into R*_LP.
71779
71780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71781
71782 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71783
71784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71785
71786 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71787 into R11_LP and load __x86_64_shared_cache_size_half into
71788 R8_LP.
71789
71790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71791
71792 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71793 R8_LP.
71794
71795 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71796
71797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71798 logb for POWER7.
71799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71800 logbf for POWER7.
71801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71802 logbl for POWER7.
71803 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71804 powerpc32/power7/fpu/s_logb.c via #include.
71805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71806 powerpc32/power7/fpu/s_logbf.c via #include.
71807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71808 powerpc32/power7/fpu/s_logbl.c via #include.
71809
71810 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71811
71812 * README.libm: Remove file.
71813
71814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71815
71816 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71817 count for x32. Use R*_LP and omit operand-size suffix.
71818
71819 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71820
71821 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71822 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71823 * sysdeps/x86_64/x32/shlib-versions: New file.
71824
71825 2012-05-14 Roland McGrath <roland@hack.frob.com>
71826
71827 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71828 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71829 Use _dl_fatal_printf instead.
71830
71831 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71832
71833 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71834 set if not set by the user. Do not allow for being unset.
71835 * sysdeps/unix/sysv/linux/configure: Regenerated.
71836
71837 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71838
71839 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71840 the `q' suffix from lea and replace .quad with ASM_ADDR.
71841
71842 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71843
71844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71845 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71846 instead of $17.
71847 (PTR_DEMANGLE): Likewise.
71848
71849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71850
71851 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71852 (LP_OP): Likewise.
71853 (ASM_ADDR): Likewise.
71854 (RAX_LP): Likewise.
71855 (RBP_LP): Likewise.
71856 (RBX_LP): Likewise.
71857 (RCX_LP): Likewise.
71858 (RDI_LP): Likewise.
71859 (RSI_LP): Likewise.
71860 (RSP_LP): Likewise.
71861 (R8_LP): Likewise.
71862 (R9_LP): Likewise.
71863 (R10_LP): Likewise.
71864 (R10_LP): Likewise.
71865 (R11_LP): Likewise.
71866 (R12_LP): Likewise.
71867 (R13_LP): Likewise.
71868 (R14_LP): Likewise.
71869 (R15_LP): Likewise.
71870
71871 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71872
71873 * sysdeps/x86_64/x32/dl-machine.h: New file.
71874
71875 2012-05-14 Andreas Jaeger <aj@suse.de>
71876
71877 * manual/Makefile (subdir): Remove export of subdir.
71878 (all): Remove target.
71879 (.PHONY): Remove all from list.
71880 (mkinstalldirs): Remove.
71881 (.PHONY): Remove installdirs from list.
71882 ($(inst_infodir)/libc.info): Use make-target-directory.
71883 (installdirs): Remove.
71884 (subdir_%): Remove.
71885 (glibc-targets): Remove.
71886 (lib): Remove.
71887 (stubs): Remove.
71888 ($(objpfx)stubs ../po/manual.pot): Remove.
71889 ($(objpfx)stamp%): Remove.
71890 (make-target-directory): Remove.
71891 (subdir_install): Remove.
71892 (routines): Remove.
71893 (aux): Remove.
71894 (sources): Remove.
71895 (objects): Remove.
71896 (headers): Remove.
71897
71898 [BZ #13750]
71899 * manual/.gitignore: Remove, it's not needed anymore.
71900 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71901 all files in it.
71902 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71903 directory.
71904 (texis): Renamed to $(objpfx)texis.
71905 (texis-path): New, contains path to generated files.
71906 (chapters.%): Use texis-path for complete path, add extra argument
71907 libc-texinfo.sh.
71908 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71909 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71910 (summary,texi, stamp-summary): Use complete path of
71911 files. Generate files in build dir.
71912 (dir-add.texi): Build in build dir.
71913 (libm-err.texi,stamp-libm-err): Likewise.
71914 (version.texi, stamp-version): Likewise.
71915 (.%c.texi): Likewise.
71916 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71917 (mostlyclean): Remove target.
71918 (realclean): Remove target.
71919 (generated): Add new variable with contents from mostlyclean and
71920 realclean, remove entries duplicated in common-mostlyclean, add
71921 stamp-libm-err and stamp-version.
71922 (generated-dirs): Add libc directory.
71923 ($(inst_infodir)/libc.info): Install files from build dir.
71924
71925 * manual/install.texi (Configuring and compiling): Adjust since
71926 the info files are not part of the tar ball anymore.
71927
71928 2012-05-14 Andreas Jaeger <aj@suse.de>
71929
71930 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71931 variable.
71932
71933 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71934
71935 [BZ #13717]
71936 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71937 to 2.2.0 where earlier.
71938 * sysdeps/unix/sysv/linux/configure: Regenerated.
71939 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71940 Remove conditional code.
71941 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71942 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71943 Remove conditional code.
71944 [!__NR_lchown]: Likewise.
71945 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71946 [__NR_lchown]: Likewise.
71947 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71948 comment referencing __ASSUME_LCHOWN_SYSCALL.
71949 * sysdeps/unix/sysv/linux/i386/sigaction.c
71950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71952 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71953 Remove conditional code.
71954 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71955 (__protocol_available): Remove #if 0 code.
71956 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71957 conditional code.
71958 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71959 * sysdeps/unix/sysv/linux/kernel-features.h
71960 (__ASSUME_GETCWD_SYSCALL): Don't define.
71961 (__ASSUME_REALTIME_SIGNALS): Likewise.
71962 (__ASSUME_PREAD_SYSCALL): Likewise.
71963 (__ASSUME_PWRITE_SYSCALL): Likewise.
71964 (__ASSUME_POLL_SYSCALL): Likewise.
71965 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71966 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71967 non-SPARC.
71968 (__ASSUME_SIOCGIFNAME): Don't define.
71969 (__ASSUME_MSG_NOSIGNAL): Likewise.
71970 (__ASSUME_SENDFILE): Define unconditionally.
71971 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71972 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71973 conditional code.
71974 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71975 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71976 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71977 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71978 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71979 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71980 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72005 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72006 Remove conditional code.
72007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72008 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72009 Remove conditional code.
72010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72011 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72012 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72013 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72014 Remove conditional code.
72015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72016 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72017 Remove conditional code.
72018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72019 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72020 Remove conditional code.
72021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72022 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72023 Remove conditional code.
72024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72025 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72026 Remove conditional code.
72027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72028 * sysdeps/unix/sysv/linux/sh/pwrite64.c
72029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72031 * sysdeps/unix/sysv/linux/sigaction.c
72032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72034 * sysdeps/unix/sysv/linux/sigpending.c
72035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72037 * sysdeps/unix/sysv/linux/sigprocmask.c
72038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72040 * sysdeps/unix/sysv/linux/sigsuspend.c
72041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72044 (__libc_missing_rt_sigs): Remove.
72045 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72046 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72047 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72048 Remove conditional code.
72049 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72050 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72051 return 1.
72052 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72053 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72055 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72056
72057 2012-05-14 Andreas Jaeger <aj@suse.de>
72058
72059 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72060 it's not used in glibc.
72061 (__coshm1): Likewise.
72062 (__acosh1p): Likewise.
72063 (__sgn): Likewise.
72064
72065 * manual/string.texi (Copying and Concatenation): Add missing
72066 variable in concat example.
72067 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72068
72069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72070
72071 [BZ #14103]
72072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72073 __builtin_clzl with __builtin_clzll.
72074
72075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72076
72077 [BZ #14104]
72078 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72079 libc_freeres_ptr.
72080
72081 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72082
72083 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72084 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72085 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72086 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72087
72088 2012-05-14 Mike Frysinger <vapier@gentoo.org>
72089
72090 * NEWS: Update ia64 info.
72091
72092 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
72093
72094 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72095 used as bcopy.
72096
72097 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
72098
72099 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72100 * sysdeps/unix/syscalls.list (dup3): Likewise.
72101 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72102 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72103
72104 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72105
72106 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72107 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72108
72109 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72110
72111 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72112 thread pointer.
72113 (TLS_IE): Use mov/add instead of movq/addq to load thread
72114 pointer.
72115 (TLS_GD_PREFIX): New.
72116 (TLS_GD): Use it.
72117
72118 2012-05-11 David S. Miller <davem@davemloft.net>
72119
72120 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72121 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72122 (_FPU_SETCW): Likewise.
72123
72124 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72125
72126 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72127 is 32-byte aligned.
72128
72129 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
72130
72131 [BZ #11837]
72132 * iconvdata/gb18030.c: Update tables.
72133 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
72134 characters specially.
72135 (BODY for TO_LOOP): Add encoding of missing ranges.
72136
72137 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
72138
72139 [BZ #13673]
72140 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72141 * sysdeps/mach/hurd/dup3.c: Likewise.
72142 * sysdeps/mach/hurd/readlinkat.c: Likewise.
72143 * sysdeps/powerpc/memmove.c:: Likewise.
72144
72145 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72146
72147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72148 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72149
72150 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72151
72152 * elf/elf.h (R_X86_64_RELATIVE64): New.
72153 (R_X86_64_NUM): Updated.
72154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72155 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
72156 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72157 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72158 tst-quad1pie tst-quad2pie
72159 (modules-names): Add tst-quadmod1 tst-quadmod2.
72160 ($(objpfx)tst-quad1): New dependency.
72161 ($(objpfx)tst-quad2): Likewise.
72162 ($(objpfx)tst-quad1pie): Likewise.
72163 ($(objpfx)tst-quad2pie): Likewise.
72164 * sysdeps/x86_64/tst-quad1.c: New file.
72165 * sysdeps/x86_64/tst-quad1pie.c: New file.
72166 * sysdeps/x86_64/tst-quad2.c: Likewise.
72167 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72168 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72169 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72170 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72171 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72172
72173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72174
72175 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72176 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72177 * streams/stropts.h (t_scalar_t): Define type.
72178
72179 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72180 (_PATH_PRESERVE): Set to "/var/lib".
72181 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72182
72183 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72184 instead of int.
72185
72186 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72187 if __dir_mkfile succeeded.
72188
72189 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72190 checking for _hurd_dtablesize. Unlock it right after having
72191 finished _hurd_dtable allocation.
72192
72193 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72194
72195 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72196 * sysdeps/mach/hurd/configure: Regenerated.
72197 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72198 special-casing to...
72199 * sysdeps/gnu/configure.in: ... this new file.
72200 * sysdeps/unix/sysv/linux/configure: Regenerated.
72201 * sysdeps/gnu/configure: New generated file.
72202
72203 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72204 for Linux: use nsec instead of usec, as well as:
72205 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72206 members of type struct timespec.
72207 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72208 New macros.
72209 (struct stat64): Likewise.
72210 (_STATBUF_ST_NSEC): New macro.
72211 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72212
72213 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72214 __strtoul_internal rather than strtoul.
72215
72216 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72217
72218 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72219 and reject them.
72220
72221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72222
72223 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72224 which preserves existing values.
72225 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72226
72227 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72228
72229 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72230 TIMEOUT values. Return EINVAL for NFDS values either negative or
72231 greater than FD_SETSIZE.
72232
72233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72234
72235 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72236 allocated, call __vm_protect to finish enabling the existing space, and
72237 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72238 allocate the remainder.
72239
72240 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72241
72242 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72243 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72244
72245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72246
72247 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72248 sysdeps/mach/hurd/readlink.c.
72249
72250 * posix/tst-sysconf.c (posix_options): Only use
72251 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72252 _POSIX_SYNCHRONIZED_IO when they are defined
72253 * sysdeps/mach/hurd/bits/posix_opt.h:
72254 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72255 (_XOPEN_REALTIME): Undefine macro.
72256 (_XOPEN_REALTIME_THREADS): Undefine macro.
72257 (_XOPEN_SHM): Undefine macro.
72258 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72259 macro to -1.
72260 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72261 macro to -1.
72262 (_POSIX_ASYNC_IO): Undefine macro.
72263 (_POSIX_PRIORITIZED_IO): Undefine macro.
72264 (_POSIX_SPIN_LOCKS): Define macro to -1.
72265
72266 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72267 SA_NODEFER, SA_RESETHAND.
72268 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72269 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72270 F_DUPFD_CLOEXEC.
72271
72272 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72273
72274 * elf/Makefile (pldd-modules): Define unconditionally.
72275
72276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72277
72278 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72279
72280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72281
72282 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72283 Return ENOENT when name is empty.
72284 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72285
72286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72287
72288 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72289
72290 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72291
72292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72293
72294 Fix mlock in all cases except non-readable pages.
72295 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72296 instead of VM_PROT_ALL as parameter to __vm_wire function.
72297
72298 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72299 (__mkdir): When path is `/', just fail with EEXIST.
72300 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72301
72302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72303
72304 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72305 <sys/uio.h> (for writev).
72306 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72307 and <sys/param.h> (for MIN).
72308
72309 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72310
72311 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72312 REQUESTED_TIME. Properly set the remaining time and return EINTR
72313 if interrupted.
72314
72315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72316
72317 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72318 Depend on against $(link-rpcuserlibs).
72319
72320 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72321
72322 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72323 (__libc_stack_end): Do not use attribute_relro.
72324 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72325 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72326 to libthread-provided value.
72327 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72328 attribute_relro.
72329
72330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72331
72332 [BZ #3748]
72333 * bits/libc-lock.h (__libc_once_get): New macro.
72334 * sysdeps/mach/bits/libc-lock.h: Likewise.
72335 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72337 instead of using implementation details.
72338
72339 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72340 * libio/freopen.c: Likewise.
72341 * libio/freopen64.c: Likewise.
72342 * misc/syslog.c: Likewise.
72343 * nscd/connections.c: Likewise.
72344 * nscd/netgroupcache.c: Likewise.
72345 * sysdeps/posix/getcwd.c: Likewise.
72346
72347 2012-05-10 Roland McGrath <roland@hack.frob.com>
72348
72349 * math/w_ilogbf.c: Add #include <limits.h>.
72350
72351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72352
72353 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72354 path instead of returning without unlocking.
72355
72356 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72357 immediate-write ioctls.
72358 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72359
72360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72361
72362 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72363 __builtin_frame_address instead of making assumptions about the
72364 location of the return address relative to DATA. Force early load of
72365 the return address.
72366 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72367 __builtin_frame_address.
72368
72369 dup3 for GNU Hurd.
72370 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72371 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72372 implement dup3 and do some further code clean-ups.
72373 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72374 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72375
72376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72377
72378 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72379
72380 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72381 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72382 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72383 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72384 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72385 d->port.lock.
72386
72387 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72388 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72389 when handler == SIG_ERR, not when handler != SIG_ERR.
72390
72391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72392
72393 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72394 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72395 definitions.
72396
72397 accept4 for GNU Hurd.
72398 * include/sys/socket.h (__libc_accept4): New prototype.
72399 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72400 to implement __libc_accept4.
72401 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72402 __libc_accept4.
72403 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72404
72405 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72406 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72407 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72408 signal-defines.sym.
72409
72410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72411
72412 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72413
72414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72415
72416 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72417 assertion on O_CLOEXEC flag.
72418 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72419 * hurd/intern-fd.c: Likewise.
72420 * hurd/port2fd.c: Likewise.
72421
72422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72423
72424 [BZ #3906]
72425 * bits/in.h (IPV6_PKTINFO): Define new macro.
72426 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72427
72428 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72429
72430 [BZ #13954]
72431 [BZ #13955]
72432 [BZ #13956]
72433 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72435 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72438 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72439 * math/libm-test.inc (logb_test) : Additional logb tests.
72440
72441 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72442 Andreas Jaeger <aj@suse.de>
72443
72444 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72445 * configure: Regenerated.
72446 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72447 * config.make.in (link-obsolete-rpc): New substituted variable.
72448 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72449 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72450 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72451 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72452 so that libc.a contains the symbols.
72453 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72454 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72455 * sunrpc/auth_none.c: Likewise.
72456 * sunrpc/auth_unix.c: Likewise.
72457 * sunrpc/authdes_prot.c: Likewise.
72458 * sunrpc/authuxprot.c: Likewise.
72459 * sunrpc/clnt_gen.c: Likewise.
72460 * sunrpc/clnt_perr.c: Likewise.
72461 * sunrpc/clnt_raw.c: Likewise.
72462 * sunrpc/clnt_simp.c: Likewise.
72463 * sunrpc/clnt_tcp.c: Likewise.
72464 * sunrpc/clnt_udp.c: Likewise.
72465 * sunrpc/clnt_unix.c: Likewise.
72466 * sunrpc/des_crypt.c: Likewise.
72467 * sunrpc/des_soft.c: Likewise.
72468 * sunrpc/get_myaddr.c: Likewise.
72469 * sunrpc/key_call.c: Likewise.
72470 * sunrpc/key_prot.c: Likewise.
72471 * sunrpc/netname.c: Likewise.
72472 * sunrpc/pm_getmaps.c: Likewise.
72473 * sunrpc/pm_getport.c: Likewise.
72474 * sunrpc/pmap_clnt.c: Likewise.
72475 * sunrpc/pmap_prot.c: Likewise.
72476 * sunrpc/pmap_prot2.c: Likewise.
72477 * sunrpc/pmap_rmt.c: Likewise.
72478 * sunrpc/publickey.c: Likewise.
72479 * sunrpc/rpc_cmsg.c: Likewise.
72480 * sunrpc/rpc_common.c: Likewise.
72481 * sunrpc/rpc_dtable.c: Likewise.
72482 * sunrpc/rpc_prot.c: Likewise.
72483 * sunrpc/rpc_thread.c: Likewise.
72484 * sunrpc/rtime.c: Likewise.
72485 * sunrpc/svc.c: Likewise.
72486 * sunrpc/svc_auth.c: Likewise.
72487 * sunrpc/svc_raw.c: Likewise.
72488 * sunrpc/svc_run.c: Likewise.
72489 * sunrpc/svc_tcp.c: Likewise.
72490 * sunrpc/svc_udp.c: Likewise.
72491 * sunrpc/svc_unix.c: Likewise.
72492 * sunrpc/svcauth_des.c: Likewise.
72493 * sunrpc/xcrypt.c: Likewise.
72494 * sunrpc/xdr.c: Likewise.
72495 * sunrpc/xdr_array.c: Likewise.
72496 * sunrpc/xdr_float.c: Likewise.
72497 * sunrpc/xdr_intXX_t.c: Likewise.
72498 * sunrpc/xdr_mem.c: Likewise.
72499 * sunrpc/xdr_rec.c: Likewise.
72500 * sunrpc/xdr_ref.c: Likewise.
72501 * sunrpc/xdr_sizeof.c: Likewise.
72502 * sunrpc/xdr_stdio.c: Likewise.
72503
72504 2012-05-10 Roland McGrath <roland@hack.frob.com>
72505
72506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72507 change. Update copyright years.
72508
72509 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72510
72511 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72512
72513 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72514 Joseph Myers <joseph@codesourcery.com>
72515 Paul Pluzhnikov <ppluzhnikov@google.com>
72516
72517 [BZ #14012]
72518 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72519 requiring rpcgen.
72520 [cross-compiling] (extra-libs): Likewise.
72521 [cross-compiling] (extra-libs-others): Likewise.
72522 [cross-compiling] (librpcsvc-routines): Likewise.
72523 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72524 [cross-compiling] (omit-deps): Likewise.
72525 (sunrpc-CPPFLAGS): New variable.
72526 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72527 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72528 (cross-rpcgen-objs): New variable.
72529 (extra-objs): Append $(cross-rpcgen-objs).
72530 ($(cross-rpcgen-objs)): New rule.
72531 ($(objpfx)cross-rpcgen): Likewise.
72532 (rpcgen-cmd): Define to use $(built-program-file). Expand
72533 comment.
72534 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72535 ($(objpfx)x%.stmp): Likewise.
72536 * sunrpc/proto.h [IS_IN_build] (_): Define.
72537 [IS_IN_build] (_libc_intl_domainname): Likewise.
72538
72539 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72540
72541 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72542 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72543 and R_X86_64_TPOFF64.
72544
72545 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72546
72547 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72548 sysdeps/unix/sysv/syscalls.list.
72549 (stime): Likewise.
72550 (utime): Likewise.
72551 * sysdeps/unix/sysv/syscalls.list: Remove file.
72552
72553 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72554
72555 [BZ #3440]
72556 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72557 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72558 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72559 (__LC_IDENTIFICATION): Make these macros useful in #if
72560 expressions, as required by C99.
72561
72562 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72563
72564 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72565 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72566 after this.
72567
72568 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72569
72570 * stdlib/longlong.h: Updated from GCC.
72571
72572 2012-05-09 Andreas Jaeger <aj@suse.de>
72573
72574 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72575 default is first entry.
72576 (run_mode): Set type.
72577 (main): Remove informal message about syslog.
72578 (options): Fix typo.
72579
72580 [BZ #14053]
72581 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72582 to asm.
72583 (lrint): Likewise.
72584 (llrintf): Likewise.
72585 (llrint): Likewise.
72586 (rint): Likewise.
72587 (rintf): Likewise.
72588 (nearbyint): Likewise.
72589 (nearbyintf): Likewise.
72590
72591 2012-05-09 Andreas Jaeger <aj@suse.de>
72592 Pedro Alves <palves@redhat.com>
72593
72594 * nscd/nscd.c (run_mode): Use enum.
72595 (main): Cleanup coding style issue.
72596
72597 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72598 Andreas Jaeger <aj@suse.de>
72599
72600 * nscd/nscd.c (go_background): Replaced with...
72601 (run_mode): ... this.
72602 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72603 (options): Add -F --foreground.
72604 (main): Implement it.
72605 (parse_opt): Parse it.
72606
72607 2012-05-09 Andreas Jaeger <aj@suse.de>
72608
72609 [BZ #14083]
72610 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72611 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72612 -Wconversion warning.
72613 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72614 Likewise.
72615
72616 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72617
72618 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72619 == 0.
72620 (LC_ALL): Use macro-int-constant.
72621 (LC_COLLATE): Likewise.
72622 (LC_CTYPE): Likewise.
72623 (LC_MESSAGES): Likewise.
72624 (LC_MONETARY): Likewise.
72625 (LC_NUMERIC): Likewise.
72626 (LC_TIME): Likewise.
72627 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72628 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72630 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72631 Specify type.
72632 [C99-based standards] (float_t): Expect type.
72633 [C99-based standards] (double_t): Expect type.
72634 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72635 type.
72636 [C99-based standards] (HUGE_VALL): Likewise.
72637 [C99-based standards] (INFINITY): Likewise.
72638 [C99-based standards] (NAN): Likewise.
72639 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72640 [C99-based standards] (FP_NAN): Likewise.
72641 [C99-based standards] (FP_NORMAL): Likewise.
72642 [C99-based standards] (FP_SUBNORMAL): Likewise.
72643 [C99-based standards] (FP_ZERO): Likewise.
72644 [C99-based standards] (FP_FAST_FMA): Use
72645 optional-macro-int-constant. Specify type. Require == 1.
72646 [C99-based standards] (FP_FAST_FMAF): Likewise.
72647 [C99-based standards] (FP_FAST_FMAL): Likewise.
72648 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72649 [C99-based standards] (FP_ILOGBNAN): Likewise.
72650 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72651 Specify type.
72652 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72653 [C99-based standards] (math_errhandling): Specify type.
72654 [ISO99 || ISO11] (signgam): Do not allow.
72655 [non-C99-based standards] (copysignf): Do not allow.
72656 [non-C99-based standards] (exp2f): Likewise.
72657 [non-C99-based standards] (log2f): Likewise.
72658 [non-C99-based standards] (modff): Allow.
72659 [non-C99-based standards] (erff): Do not allow.
72660 [non-C99-based standards] (erfcf): Likewise.
72661 [non-C99-based standards] (gammaf): Likewise.
72662 [non-C99-based standards] (hypotf): Likewise.
72663 [non-C99-based standards] (j0f): Likewise.
72664 [non-C99-based standards] (j1f): Likewise.
72665 [non-C99-based standards] (jnf): Likewise.
72666 [non-C99-based standards] (lgammaf): Likewise.
72667 [non-C99-based standards] (tgammaf): Likewise.
72668 [non-C99-based standards] (y0f): Likewise.
72669 [non-C99-based standards] (y1f): Likewise.
72670 [non-C99-based standards] (ynf): Likewise.
72671 [non-C99-based standards] (isnanf): Likewise.
72672 [non-C99-based standards] (acoshf): Likewise.
72673 [non-C99-based standards] (asinhf): Likewise.
72674 [non-C99-based standards] (atanhf): Likewise.
72675 [non-C99-based standards] (cbrtf): Likewise.
72676 [non-C99-based standards] (expm1f): Likewise.
72677 [non-C99-based standards] (ilogbf): Likewise.
72678 [non-C99-based standards] (log1pf): Likewise.
72679 [non-C99-based standards] (logbf): Likewise.
72680 [non-C99-based standards] (nextafterf): Likewise.
72681 [non-C99-based standards] (remainderf): Likewise.
72682 [non-C99-based standards] (rintf): Likewise.
72683 [non-C99-based standards] (scalbf): Likewise.
72684 [non-C99-based standards] (copysignl): Likewise.
72685 [non-C99-based standards] (exp2l): Likewise.
72686 [non-C99-based standards] (log2l): Likewise.
72687 [non-C99-based standards] (modfl): Allow.
72688 [non-C99-based standards] (erfl): Do not allow.
72689 [non-C99-based standards] (erfcl): Likewise.
72690 [non-C99-based standards] (gammal): Likewise.
72691 [non-C99-based standards] (hypotl): Likewise.
72692 [non-C99-based standards] (j0l): Likewise.
72693 [non-C99-based standards] (j1l): Likewise.
72694 [non-C99-based standards] (jnl): Likewise.
72695 [non-C99-based standards] (lgammal): Likewise.
72696 [non-C99-based standards] (tgammal): Likewise.
72697 [non-C99-based standards] (y0l): Likewise.
72698 [non-C99-based standards] (y1l): Likewise.
72699 [non-C99-based standards] (ynl): Likewise.
72700 [non-C99-based standards] (isnanl): Likewise.
72701 [non-C99-based standards] (acoshl): Likewise.
72702 [non-C99-based standards] (asinhl): Likewise.
72703 [non-C99-based standards] (atanhl): Likewise.
72704 [non-C99-based standards] (cbrtl): Likewise.
72705 [non-C99-based standards] (expm1l): Likewise.
72706 [non-C99-based standards] (ilogbl): Likewise.
72707 [non-C99-based standards] (log1pl): Likewise.
72708 [non-C99-based standards] (logbl): Likewise.
72709 [non-C99-based standards] (nextafterl): Likewise.
72710 [non-C99-based standards] (remainderl): Likewise.
72711 [non-C99-based standards] (rintl): Likewise.
72712 [non-C99-based standards] (scalbl): Likewise.
72713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72714 [non-C99-based standards] (FP_*): Do not allow.
72715 [C99-based standards] (FP_*): Change to
72716 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72717 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72718 allow.
72719 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72720 (SIG_ERR): Likewise.
72721 [X/Open-based standards] (SIG_HOLD): Likewise.
72722 (SIG_IGN): Likewise.
72723 (SIGABRT): Use macro-int-constant. Specify type. Require
72724 positive value.
72725 (SIGFPE): Likewise.
72726 (SIGILL): Likewise.
72727 (SIGINT): Likewise.
72728 (SIGSEGV): Likewise.
72729 (SIGTER): Likewise.
72730 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72731 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72732 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72733 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72734 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72735 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72736 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72737 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72738 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72739 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72740 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72741 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72742 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72743 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72744 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72745 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72746 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72747 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72748 [X/Open-based standards] (SIGTRAP): Likewise.
72749 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72750 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72751 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72752 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72753 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72754 allow.
72755
72756 2012-05-08 Ian Wienand <ianw@vmware.com>
72757
72758 [BZ #14080]
72759 * time/tzset.c (__tzset_parse_tz): Update default rules for
72760 daylight time changes in the Energy Policy Act of 2005.
72761
72762 2012-05-09 Andreas Jaeger <aj@suse.de>
72763
72764 [BZ #13983]
72765 * elf/ldconfig.c (parse_conf): Change string to make clear that
72766 ldconfig only issued a warning if ld.so.conf does not exist.
72767
72768 2012-05-08 David S. Miller <davem@davemloft.net>
72769
72770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72771 movxtod instead of popping the value on the stack.
72772
72773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72774
72775 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72776
72777 * config.h.in: Add HAVE_ARM_PCS_VFP.
72778
72779 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72780
72781 [BZ #13979]
72782 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72783 checking but the checks are disabled for any reason.
72784
72785 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72786
72787 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72788 and ELF64_R_TYPE with ELFW(R_TYPE).
72789
72790 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72791
72792 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72793 (ulimit): Likewise.
72794
72795 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72796 (settimeofday): Likewise.
72797
72798 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72799
72800 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72801 a struct th_u2 inside the union, and move tu_block/tu_code into
72802 a new th_u3 union of tu_block/tu_code inside of that. Move
72803 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72804 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72805 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72806 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72807 (th_stuff): Change to th_u1.tu_stuff.
72808 (th_data): Define.
72809 (th_msg): Change to th_u1.th_u2.tu_data.
72810
72811 2012-05-07 David S. Miller <davem@davemloft.net>
72812
72813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72814
72815 [BZ #14074]
72816 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72817 (SETUP_PIC_REG): Use it.
72818 (SETUP_PIC_REG_LEAF): Use it.
72819
72820 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72821
72822 [BZ #13885]
72823 [BZ #13923]
72824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72825 USE_AS_EXPM1L.
72826 (EXPL_FINITE): Likewise.
72827 (FLDLOG): Likewise.
72828 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72829 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72830 e_expl.S.
72831 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72832 USE_AS_EXPM1L.
72833 (EXPL_FINITE): Likewise.
72834 (FLDLOG): Likewise.
72835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72836 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72837 e_expl.S.
72838 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72839 test of -max_value argument for long double.
72840 * sysdeps/i386/fpu/libm-test-ulps: Update.
72841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72842
72843 2012-05-06 David S. Miller <davem@davemloft.net>
72844
72845 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72846 quad soft-float symbols whose references which are compiler
72847 generated.
72848 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72849
72850 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72851
72852 [BZ #13884]
72853 [BZ #13914]
72854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72855 USE_AS_EXP10L.
72856 (EXPL_FINITE): Likewise.
72857 (FLDLOG): Likewise.
72858 (c0): Likewise.
72859 (c1): Likewise.
72860 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72861 Adjust comments for base varying.
72862 (__expl_finite): Change alias to EXPL_FINITE.
72863 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72864 e_expl.S.
72865 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72866 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72867 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72868 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72869 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72870 USE_AS_EXP10L.
72871 (EXPL_FINITE): Likewise.
72872 (FLDLOG): Likewise.
72873 (c0): Likewise.
72874 (c1): Likewise.
72875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72876 Adjust comments for base varying.
72877 (__expl_finite): Change alias to EXPL_FINITE.
72878 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72879 tests for bugs.
72880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72881
72882 [BZ #14064]
72883 * math/libm-test.inc (check_float_internal): Correct ulp
72884 calculation for subnormal expected results.
72885
72886 2012-05-06 Andreas Jaeger <aj@suse.de>
72887
72888 * Makeconfig (+math-flags): New, set to -frounding-math.
72889 (+cflags): Add +math-flags so that all of glibc gets compiled with
72890 it.
72891
72892 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72893
72894 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72895
72896 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72897 Disable one test.
72898
72899 [BZ #13787]
72900 [BZ #13922]
72901 [BZ #14036]
72902 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72903 (__ieee754_expl): Allow for and saturate large arguments.
72904 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72905 (u_threshold): Likewise.
72906 (__exp): Call __ieee754_exp before checking for overflow and
72907 underflow.
72908 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72909 (u_threshold): Likewise.
72910 (__expf): Call __ieee754_expf before checking for overflow and
72911 underflow.
72912 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72913 (u_threshold): Likewise.
72914 (__expl): Call __ieee754_expl before checking for overflow and
72915 underflow.
72916 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72917 (__ieee754_expl): Allow for and saturate large arguments.
72918 * math/libm-test.inc (exp_test): Add another test. Do not allow
72919 missing overflow exception on overflow.
72920 (expm1_test): Do not allow missing overflow exception on overflow.
72921
72922 * sysdeps/i386/fpu/e_expl.c: Move to ...
72923 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72924 rather than using inline asm.
72925 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72926 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72927 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72928
72929 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72930 (nice): Likewise.
72931 (poll): Likewise.
72932 (signal): Likewise.
72933 (time): Likewise.
72934 (times): Likewise.
72935
72936 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72937
72938 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72939 sysdeps/unix/common/syscalls.list.
72940 (fchmod): Likewise.
72941 (fchown): Likewise.
72942 (ftruncate): Likewise.
72943 (getrusage): Likewise.
72944 (gettimeofday): Likewise.
72945 (setpgid): Likewise.
72946 (setregid): Likewise.
72947 (setreuid): Likewise.
72948 (sigaction): Likewise.
72949 (truncate): Likewise.
72950 (vhangup): Likewise.
72951 * sysdeps/unix/common/syscalls.list: Remove file.
72952 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72953 * sysdeps/unix/sysv/linux/Implies: Likewise.
72954
72955 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72956
72957 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72959 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72960 Moved to ...
72961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72962 Here.
72963 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72964 to ...
72965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72966 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72967 to ...
72968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72969 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72970 to ...
72971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72972 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72973 to ...
72974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72975 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72976 to ...
72977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72979 to ...
72980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72981 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72982 to ...
72983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72984 Here.
72985 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72986 to ...
72987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72988 Here.
72989 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72990 to ...
72991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72992 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72993 Moved to ...
72994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72995 Here.
72996 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72997 to ...
72998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72999
73000 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73001
73002 * sysdeps/unix/common/bits/dirent.h: Remove file.
73003 * sysdeps/unix/common/bits/fcntl.h: Likewise.
73004
73005 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73006 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73007 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73008 * sysdeps/unix/bsd/isatty.c: Likewise.
73009 * sysdeps/unix/bsd/tcdrain.c: Likewise.
73010 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73011 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73012
73013 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73014
73015 [BZ #13563]
73016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73017 long double comparison inaccuracies.
73018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73020
73021 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
73022
73023 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73024 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73025
73026 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73027
73028 [BZ #14049]
73029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73030 nonzero digits before rounding a hex value.
73031 * stdlib/tst-strtod.c (tests): Add another test.
73032
73033 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73034
73035 * sysdeps/s390/fpu/libm-test-ulps: Update.
73036
73037 2012-05-03 Andreas Jaeger <aj@suse.de>
73038
73039 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73040 does not get optimized out.
73041 (malloc_opt_barrier): New.
73042
73043 2012-05-03 Andreas Jaeger <aj@suse.de>
73044 Roland McGrath <roland@hack.frob.com>
73045
73046 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73047 intermediate file deletion.
73048 (generated): Add .symlist files.
73049
73050 2012-05-03 Joseph Myers <joseph@codesourcery.com>
73051
73052 [BZ #13775]
73053 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73054 Redirect under this condition.
73055 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73056 [__USE_GNU] (__dprintf_chk): Not under this condition.
73057 [__USE_GNU] (__vdprintf_chk): Likewise.
73058 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73059 under this condition.
73060 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73061 [__USE_XOPEN2K8] (dprintf): Define under this condition.
73062 [__USE_XOPEN2K8] (vdprintf): Likewise.
73063 [__USE_GNU] (__dprintf_chk): Not under this condition.
73064 [__USE_GNU] (__vdprintf_chk): Likewise.
73065 [__USE_GNU] (dprintf): Likewise.
73066 [__USE_GNU] (vdprintf): Likewise.
73067
73068 2012-05-03 Roland McGrath <roland@hack.frob.com>
73069
73070 * elf/Makefile (common-generated): Set this instead of generated for
73071 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
73072 $(all-built-dso)-derived lists.
73073
73074 2012-05-03 Andreas Jaeger <aj@suse.de>
73075
73076 * sysdeps/i386/fpu/libm-test-ulps: Update.
73077
73078 * FAQ: Removed.
73079 * FAQ.in: Likewise.
73080 * scripts/gen-FAQ.pl: Likewise.
73081 * manual/install.texi (Installation): Point to online location of
73082 FAQ.
73083 * Makefile (files-for-dist): Remove FAQ.
73084 (FAQ): Remove.
73085
73086 2012-05-02 Allan McRae <allan@archlinux.org>
73087
73088 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73089 (LDFLAGS-reldepmod5.so): Likewise.
73090 (LDFLAGS-reldep6mod1.so): Likewise.
73091 (LDFLAGS-reldep6mod4.so): Likewise.
73092 (LDFLAGS-reldep8mod3.so): Likewise.
73093 (LDFLAGS-unload4mod1.so): Likewise.
73094 (LDFLAGS-unload4mod2.so): Likewise.
73095 (LDFLAGS-tst-initorder): Likewise.
73096 (LDFLAGS-tst-initordera2.so): Likewise.
73097 (LDFLAGS-tst-initordera3.so): Likewise.
73098 (LDFLAGS-tst-initordera4.so): Likewise.
73099 (LDFLAGS-tst-initorderb2.so): Likewise.
73100 (LDFLAGS-noload): Likewise.
73101 (LDFLAGS-next): Likewise.
73102 (LDFLAGS-order2mod1.so): Likewise.
73103 (LDFLAGS-order2mod2.so): Likewise.
73104 (LDFLAGS-tst-initorder2): Likewise.
73105 (LDFLAGS-tst-initorder2a.so): Likewise.
73106 (LDFLAGS-tst-initorder2b.so): Likewise.
73107 (LDFLAGS-tst-initorder2c.so): Likewise.
73108 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73109
73110 2012-05-02 David S. Miller <davem@davemloft.net>
73111
73112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73113
73114 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73115
73116 [BZ #14055]
73117 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73118
73119 2012-05-02 Andreas Jaeger <aj@suse.de>
73120
73121 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73122 since we manipulate rounding mode.
73123 (CPPFLAGS-test-idouble.c): Likewise.
73124 (CPPFLAGS-test-ifloat.c): Likewise.
73125 (CFLAGS-test-ldouble.c): Likewise.
73126 (CFLAGS-test-double.c): Likewise.
73127 (CFLAGS-test-float.c): Likewise.
73128 (CFLAGS-test-misc.c): Likewise.
73129 (CFLAGS-test-test-fenv.c): Likewise.
73130
73131 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73132
73133 [BZ #2550]
73134 [BZ #2570]
73135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73136 comparisons to determine direction to adjust input.
73137
73138 2012-05-01 Roland McGrath <roland@hack.frob.com>
73139
73140 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73141 output to the target.
73142
73143 * scripts/localplt.awk: New file.
73144 * elf/Makefile ($(objpfx)check-localplt): Target removed.
73145 (check-localplt-CFLAGS): Variable removed.
73146 ($(all-built-dso:=.jmprel)): New static pattern rule.
73147 (generated): Add those targets.
73148 (localplt-built-dso): New variable.
73149 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73150
73151 * elf/check-localplt.c: File removed.
73152
73153 * scripts/check-execstack.awk: New file.
73154 * elf/Makefile ($(objpfx)check-execstack): Target removed.
73155 (check-execstack-CFLAGS): Variable removed.
73156 ($(objpfx)check-execstack.h): Target removed.
73157 ($(objpfx)execstack-default): New target.
73158 (generated): Add that instead of check-execstack.h.
73159 ($(all-built-dso:=.phdr)): New static pattern rule.
73160 (generated): Add those targets.
73161 * elf/check-execstack.c: File removed.
73162
73163 * scripts/check-textrel.awk: New file.
73164 * elf/Makefile ($(objpfx)check-textrel): Target removed.
73165 (check-textrel-CFLAGS): Variable removed.
73166 (all-built-dso): Use := to define.o
73167 ($(all-built-dso:=.dyn)): New static pattern rule.
73168 (generated): Add those targets.
73169 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73170 * config.make.in (READELF): New substituted variable.
73171 * elf/check-textrel.c: File removed.
73172
73173 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73174
73175 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73176 allow.
73177 * conform/data/ctype.h-data [C99-based standards] (isblank):
73178 Expect function.
73179 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73180 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73182 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73183 Specify type. Require positive value.
73184 (EILSEQ): Likewise.
73185 (ERANGE): Likewise.
73186 [ISO || POSIX] (EILSEQ): Do not expect.
73187 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73188 Specify type. Require positive value.
73189 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73190 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73191 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73192 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73193 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73194 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73195 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73196 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73197 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73198 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73199 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73200 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73201 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73202 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73203 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73204 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73205 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73206 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73207 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73208 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73209 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73210 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73211 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73212 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73213 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73214 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73215 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73216 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73217 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73218 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73219 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73220 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73221 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73222 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73223 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73224 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73225 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73226 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73227 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73228 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73229 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73230 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73231 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73232 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73233 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73234 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73235 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73236 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73237 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73238 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73239 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73240 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73241 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73242 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73243 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73244 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73245 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73246 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73247 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73248 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73249 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73250 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73251 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73252 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73253 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73254 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73255 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73256 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73257 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73258 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73259 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73260 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73261 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73262 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73263 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73264 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73265 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73266 Require >= 2.
73267 (FLT_ROUNDS): Expect as macro, not constant.
73268 (FLT_MANT_DIG): Use macro-int-constant.
73269 (DBL_MANT_DIG): Likewise.
73270 (LDBL_MANT_DIG): Likewise.
73271 (FLT_DIG): Likewise.
73272 (DBL_DIG): Likewise.
73273 (LDBL_DIG): Likewise.
73274 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73275 (DBL_MIN_EXP): Likewise.
73276 (LDBL_MIN_EXP): Likewise.
73277 (FLT_MAX_EXP): Use macro-int-constant.
73278 (DBL_MAX_EXP): Likewise.
73279 (LDBL_MAX_EXP): Likewise.
73280 (FLT_MAX_10_EXP): Likewise.
73281 (DBL_MAX_10_EXP): Likewise.
73282 (LDBL_MAX_10_EXP): Likewise.
73283 (FLT_MAX): Use macro-constant.
73284 (DBL_MAX): Likewise.
73285 (LDBL_MAX): Likewise.
73286 (FLT_EPSILON): Use macro-constant. Give upper bound.
73287 (DBL_EPSILON): Likewise.
73288 (LDBL_EPSILON): Likewise.
73289 (FLT_MIN): Likewise.
73290 (DBL_MIN): Likewise.
73291 (LDBL_MIN): Likewise.
73292 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73293 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73294 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73295 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73296 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73297 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73298 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73299 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73300 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73301 [ISO11] (FLT_TRUE_MIN): Likewise.
73302 [ISO11] (LDBL_TRUE_MIN): Likewise.
73303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73304 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73305 (SCHAR_MIN): Use macro-int-constant. Specify type.
73306 (SCHAR_MAX): Likewise.
73307 (UCHAR_MAX): Likewise.
73308 (CHAR_MIN): Likewise.
73309 (CHAR_MAX): Likewise.
73310 (MB_LEN_MAX): Use macro-int-constant.
73311 (SHRT_MIN): Use macro-int-constant. Specify type.
73312 (SHRT_MAX): Likewise.
73313 (USHRT_MAX): Likewise.
73314 (INT_MAX): Likewise.
73315 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73316 bound negative.
73317 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73318 bound with "U".
73319 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73320 bound with "L".
73321 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73322 bound negative. Suffix upper bound with "L".
73323 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73324 bound with "UL".
73325 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73326 Specify type.
73327 [C99-based standards] (LLONG_MAX): Likewise.
73328 [C99-based standards] (ULLONG_MAX): Likewise.
73329 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73330 == 0.
73331 [ISO11] (max_align_t): Require type.
73332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73333
73334 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73335 from $CFLAGS, without defining away __attribute__ calls.
73336 (checknamespace): Use $CFLAGS_namespace.
73337
73338 * conform/conformtest.pl (@keywords): Only include C99 keywords
73339 for standards based on C99 or C11.
73340
73341 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73342 Disable tests.
73343 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73344 UNIX98]: Likewise.
73345
73346 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73347 usability of symbols in #if.
73348
73349 * conform/conformtest.pl: If macro or constant types start
73350 "promoted:", expect the symbol to be of the following type
73351 promoted by the integer promotions.
73352
73353 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73354 in one place. Also handle "macro-constant".
73355
73356 * conform/conformtest.pl: Only accept expected macro values with
73357 "==". Parse all "macro" lines in one place.
73358 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73359
73360 * conform/conformtest.pl: Handle braced types on "constant" lines
73361 instead of handling "typed-constant".
73362 * conform/data/signal.h-data: Use "constant" instead of
73363 "typed-constant".
73364
73365 * conform/conformtest.pl: Handle "optional-" at start of lines in
73366 one place rather than duplicating several cases. Handle each
73367 format of "macro" line with initial "optional-".
73368
73369 * conform/conformtest.pl: Only accept expected constant or
73370 optional-constant values with "==". Parse all "constant" lines in
73371 one place. Parse all "optional-constant" lines in one place.
73372 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73373 * conform/data/fmtmsg.h-data: Likewise.
73374 * conform/data/netinet/in.h-data: Likewise.
73375 * conform/data/tar.h-data: Likewise.
73376 * conform/data/limits.h-data: Use "==" form on "constant" and
73377 "optional-constant" lines.
73378
73379 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73380 Use -std=c99 for XOPEN2K.
73381 (@knownproblems): Remove.
73382 (newtoken): Don't check %isknown.
73383
73384 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73385 Do not expect macro.
73386 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73387 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73388 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73389 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73390 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73391 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73392 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73393 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73394 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73395 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73396 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73397 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73398 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73399 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73400 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73401 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73402 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73403 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73404 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73405 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73406 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73407 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73408 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73409 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73410 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73411 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73412 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73413 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73414 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73415 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73416 [XPG3] (acosh): Likewise.
73417 [XPG3] (asinh): Likewise.
73418 [XPG3] (atanh): Likewise.
73419 [XPG3] (cbrt): Likewise.
73420 [XPG3] (expm1): Likewise.
73421 [XPG3] (ilogb): Likewise.
73422 [XPG3] (log1p): Likewise.
73423 [XPG3] (logb): Likewise.
73424 [XPG3] (nextafter): Likewise.
73425 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73426 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73427 [XPG3] (remainder): Likewise.
73428 [XPG3] (rint): Likewise.
73429 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73430 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73431 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73432 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73433 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73434 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73435 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73436 [UNIX98 || XOPEN2K] (scalb): Expect.
73437 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73438 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73439 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73440 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73441 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73442 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73443 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73444 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73445 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73446 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73447 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73448 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73449 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73450 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73451 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73452 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73453 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73454 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73455 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73456 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73457 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73458 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73459 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73460 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73461 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73462 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73463 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73464 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73465 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73466 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73467 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73468 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73469 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73470 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73471 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73472 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73473 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73474 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73475 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73476 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73477 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73478 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73479 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73480 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73481 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73482 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73483 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73484 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73485 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73486 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73487 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73488 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73489 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73490 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73491 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73492 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73493 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73494 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73495 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73496 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73497 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73498 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73499 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73500 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73501 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73502 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73503 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73504 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73505 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73506 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73507 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73508 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73509 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73510 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73511 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73512 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73513 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73514 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73515 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73516 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73517 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73518 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73519 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73520 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73521 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73522 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73523 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73524 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73525 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73526 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73527 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73528 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73529 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73530 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73531 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73532 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73533 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73534 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73535 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73536 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73537 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73538 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73539 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73540 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73541 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73542 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73543 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73544 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73545 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73546 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73547 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73548 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73549 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73550 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73551 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73552 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73553 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73554 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73555 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73556 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73557 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73558 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73559 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73560 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73561 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73562 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73563 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73564 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73565 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73566 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73567 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73568 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73569 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73570 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73571 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73572 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73573 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73574
73575 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73576 _XOPEN_SOURCE_EXTENDED for XPG4.
73577
73578 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73579
73580 * Makeconfig (localtime): Remove variable.
73581 (inst_localtime-file): Likewise.
73582
73583 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73584
73585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73586 Update.
73587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73588 Update.
73589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73590 Update.
73591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73592 Update.
73593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73594 Update.
73595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73596 Update.
73597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73598 Update.
73599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73600 Update.
73601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73602 Update.
73603
73604 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73605
73606 [BZ #2550]
73607 [BZ #2570]
73608 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73609 comparisons to determine direction to adjust input.
73610 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73611 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73612 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73613 Likewise.
73614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73615 Likewise.
73616 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73617 Likewise.
73618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73620 Likewise.
73621 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73622 Likewise.
73623 * math/libm-test.inc (nexttoward_test): Add more tests.
73624
73625 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73626
73627 [BZ #14040]
73628 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73629 in version GLIBC_2.1, not GLIBC_2.0.
73630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73631 Likewise.
73632
73633 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73634
73635 [BZ #13942]
73636 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73637 (1 - x) * (1 + x).
73638 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73639 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73640 * math/libm-test.inc (acos_test): Add more tests.
73641 (asin_test): Likewise.
73642 * sysdeps/i386/fpu/libm-test-ulps: Update.
73643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73644
73645 [BZ #14034]
73646 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73647 of square root.
73648 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73649 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73650 * math/libm-test.inc (acos_test_tonearest): New function.
73651 (acos_test_towardzero): Likewise.
73652 (acos_test_downward): Likewise.
73653 (acos_test_upward): Likewise.
73654 (asin_test_tonearest): Likewise.
73655 (asin_test_towardzero): Likewise.
73656 (asin_test_downward): Likewise.
73657 (asin_test_upward): Likewise.
73658 (main): Call the new functions.
73659 * sysdeps/i386/fpu/libm-test-ulps: Update.
73660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73661
73662 [BZ #13884]
73663 [BZ #13924]
73664 * math/e_exp10.c: Include <float.h>.
73665 (__ieee754_exp10): Handle underflow here rather than multiplying
73666 large negative argument by M_LN10.
73667 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73668 of __ieee754_expf.
73669 * math/e_exp10l.c: Include <float.h>.
73670 (__ieee754_exp10l): Handle underflow here rather than multiplying
73671 large negative argument by M_LN10l.
73672 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73673 spurious overflow exception on underflow.
73674
73675 2012-04-29 Marek Polacek <polacek@redhat.com>
73676
73677 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73678 (__fortify_function): New macro.
73679 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73680 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73681 __extern_always_inline.
73682 * libio/bits/stdio2.h: Likewise.
73683 * libio/bits/stdio.h: Likewise.
73684 * string/string.h: Likewise.
73685 * string/bits/string3.h: Likewise.
73686 * include/stdio.h: Likewise.
73687 * stdlib/bits/stdlib.h: Likewise.
73688 * stdlib/stdlib.h: Likewise.
73689 * rt/bits/mqueue2.h: Likewise.
73690 * rt/mqueue.h: Likewise.
73691 * posix/bits/unistd.h: Likewise.
73692 * posix/unistd.h: Likewise.
73693 * io/bits/poll2.h: Likewise.
73694 * io/bits/fcntl2.h: Likewise.
73695 * io/fcntl.h: Likewise.
73696 * io/sys/poll.h: Likewise.
73697 * misc/bits/syslog.h: Likewise.
73698 * misc/bits/syslog-ldbl.h: Likewise.
73699 * misc/sys/syslog.h: Likewise.
73700 * socket/bits/socket2.h: Likewise.
73701 * socket/sys/socket.h: Likewise.
73702 * debug/tst-chk1.c: Likewise.
73703 * wcsmbs/bits/wchar2.h: Likewise.
73704 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73705 * wcsmbs/wchar.h: Likewise.
73706
73707 2012-04-29 Andreas Jaeger <aj@suse.de>
73708
73709 * Makerules (tests): Remove enable-check-abi protection.
73710 (check-abi-warn): Remove.
73711 (check-abi-%): Remove check-abi-warn usage.
73712
73713 * configure.in: Remove check-abi configure option.
73714 * configure: Regenerated.
73715 * config.make.in (enable-check-abi): Remove.
73716
73717 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73718
73719 [BZ #14033]
73720 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73721 double functions to double *_finite functions.
73722
73723 [BZ #13941]
73724 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73725 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73726 LDBL_MIN_EXP.
73727 * stdio-common/Makefile (tests): Add tst-sprintf3.
73728 * stdio-common/tst-sprintf3.c: New file.
73729
73730 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73731 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73732
73733 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73734
73735 * conform/conformtest.pl: Remove duplicate typed-constant
73736 handling.
73737
73738 2012-04-28 David S. Miller <davem@davemloft.net>
73739
73740 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73741 (check-abi-%): Remove AWK script prerequisite and explicit
73742 abilist directory.
73743 (check-abi): Rewrite to just diff the symlist with the abilist.
73744 (config-tls, config-abi-config): Delete, no longer used.
73745 (update-abi-%): Remove AWK script and explicit abilist directory.
73746 (update-abi): Rewrite to simply compare and conditionally copy the
73747 symlist and the sysdep abilist file. Remove update-abi-config
73748 checks.
73749 * abilist/ld.abilist: Remove.
73750 * abilist/libBrokenLocale.abilist: Remove.
73751 * abilist/libanl.abilist: Remove.
73752 * abilist/libcrypt.abilist: Remove.
73753 * abilist/libdl.abilist: Remove.
73754 * abilist/librt.abilist: Remove.
73755 * abilist/libthread_db.abilist: Remove.
73756 * abilist/libutil.abilist: Remove.
73757 * scripts/extract-abilist.awk: Remove.
73758 * scripts/merge-abilist.awk: Remove.
73759 * sysdeps/generic/libcidn.abilist: New file.
73760 * sysdeps/generic/libnss_compat.abilist: New file.
73761 * sysdeps/generic/libnss_db.abilist: New file.
73762 * sysdeps/generic/libnss_dns.abilist: New file.
73763 * sysdeps/generic/libnss_files.abilist: New file.
73764 * sysdeps/generic/libnss_hesiod.abilist: New file.
73765 * sysdeps/generic/libnss_nis.abilist: New file.
73766 * sysdeps/generic/libnss_nisplus.abilist: New file.
73767 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73768 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73769 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73770 file.
73771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73772 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73773 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73774 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73775 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73776 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73777 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73778 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73779 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73780 file.
73781 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73782 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73783 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73784 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73785 file.
73786 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73787 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73788 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73789 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73790 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73791 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73792 file.
73793 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73794 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73795 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73796 file.
73797 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73799 New file.
73800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73801 New file.
73802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73803 New file.
73804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73805 New file.
73806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73807 New file.
73808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73809 New file.
73810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73811 New file.
73812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73813 New file.
73814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73815 New file.
73816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73817 New file.
73818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73819 New file.
73820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73821 New file.
73822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73823 New file.
73824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73825 file.
73826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73827 New file.
73828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73829 New file.
73830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73831 file.
73832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73833 New file.
73834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73835 New file.
73836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73837 file.
73838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73839 New file.
73840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73841 New file.
73842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73843 New file.
73844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73845 New file.
73846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73847 New file.
73848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73849 New file.
73850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73852 file.
73853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73854 New file.
73855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73856 file.
73857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73858 file.
73859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73860 file.
73861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73862 file.
73863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73864 file.
73865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73866 New file.
73867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73868 file.
73869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73870 file.
73871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73872 New file.
73873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73874 file.
73875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73877 file.
73878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73879 New file.
73880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73881 file.
73882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73883 file.
73884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73885 file.
73886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73887 file.
73888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73889 file.
73890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73891 New file.
73892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73893 file.
73894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73895 file.
73896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73897 New file.
73898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73899 file.
73900 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73901 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73902 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73903 file.
73904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73905 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73906 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73908 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73909 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73910 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73911 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73912 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73913 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73916 file.
73917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73918 New file.
73919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73920 file.
73921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73922 file.
73923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73924 file.
73925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73926 file.
73927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73928 file.
73929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73930 New file.
73931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73932 New file.
73933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73934 file.
73935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73936 New file.
73937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73938 file.
73939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73941 file.
73942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73943 New file.
73944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73945 file.
73946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73947 file.
73948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73949 file.
73950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73951 file.
73952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73953 file.
73954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73955 New file.
73956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73957 New file.
73958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73959 file.
73960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73961 New file.
73962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73963 file.
73964
73965 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73966
73967 * conform/conformtest.pl: Fix typo in handling typed-constant from
73968 allow-header.
73969
73970 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73971
73972 * README: Cut down references to pre-2.6 Linux kernels and
73973 Linuxthreads. Update lists of configurations in libc and ports
73974 and sort alphabetically. Say "or newer" with Linux kernel version
73975 requirements.
73976
73977 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73978
73979 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73980
73981 [BZ #887]
73982 * math/libm-test.inc (logb_test_downward): New test to expose
73983 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73984 rounding mode.
73985
73986 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73987
73988 [BZ #14027]
73989 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73990 to be done.
73991 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73992 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73993
73994 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73995
73996 * sysdeps/unix/i386/brk.S: Remove file.
73997 * sysdeps/unix/i386/dl-brk.S: Likewise.
73998 * sysdeps/unix/i386/pipe.S: Likewise.
73999 * sysdeps/unix/i386/sigreturn.S: Likewise.
74000 * sysdeps/unix/i386/syscall.S: Likewise.
74001 * sysdeps/unix/i386/vfork.S: Likewise.
74002 * sysdeps/unix/i386/wait.S: Likewise.
74003
74004 * sysdeps/unix/common/tcsendbrk.c: Move to ...
74005 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74006
74007 * configure.in (arm*-none*): Do not allow without
74008 --enable-hacker-mode.
74009 (netbsd*): Remove case setting base_os.
74010 (386bsd*): Likewise.
74011 (freebsd*): Likewise.
74012 (bsdi*): Likewise.
74013 (osf*): Likewise.
74014 (sunos*): Likewise.
74015 (ultrix*): Likewise.
74016 (newsos*): Likewise.
74017 (dynix*): Likewise.
74018 (*bsd*): Likewise.
74019 (sysv*): Likewise.
74020 (isc*): Likewise.
74021 (esix*): Likewise.
74022 (sco*): Likewise.
74023 (minix*): Likewise.
74024 (irix4*): Likewise.
74025 (irix6*): Likewise.
74026 (solaris[2-9]*): Likewise.
74027 (none): Likewise.
74028 * configure: Regenerated.
74029
74030 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74031
74032 [BZ #11521]
74033 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74034 overflow or cancellation in calculating denominator.
74035 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74037 down expression to avoid unexpected rounding in newer GCCs.
74038 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74039
74040 2012-04-26 David S. Miller <davem@davemloft.net>
74041
74042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74043 long-double compat symbols.
74044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74057
74058 2012-04-25 David S. Miller <davem@davemloft.net>
74059
74060 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74061 HWCAP_* values only after the memory barriers have been defined.
74062 (atomic_full_barrier): Define.
74063 (atomic_read_barrier): Define.
74064 (atomic_write_barrier): Define.
74065
74066 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
74067
74068 * shlib-versions: Add libgcc_s version information.
74069 * sysdeps/generic/libgcc_s.h: Remove.
74070 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74071 libgcc_s.h.
74072 * sysdeps/gnu/unwind-resume.c: Likewise.
74073 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74074
74075 2012-04-25 David S. Miller <davem@davemloft.net>
74076
74077 * sysdeps/unix/sparc/brk.S: Delete.
74078 * sysdeps/unix/sparc/dl-brk.S: Delete.
74079 * sysdeps/unix/sparc/pipe.S: Delete.
74080 * sysdeps/unix/sparc/sysdep.S: Delete.
74081 * sysdeps/unix/sparc/sysdep.h: Delete.
74082 * sysdeps/unix/sparc/vfork.S: Delete.
74083 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74084 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74085 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74086 (ret_ERRVAL, r0, r1, MOVE): Define.
74087 (JUMPTARGET): Remove.
74088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74089 sysdeps/unix/sparc/sysdep.h
74090 (ENTRY, END): Remove.
74091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74092
74093 2012-04-25 Joseph Myers <joseph@codesourcery.com>
74094
74095 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74096 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74097 -DIS_IN_build.
74098
74099 * timezone/README: Update upstream location and email address for
74100 tzcode and tzdata.
74101 * timezone/zdump.c: Update from tzcode 2012b.
74102 * timezone/zic.c: Likewise.
74103
74104 * configure.in (libc_cv_as_needed): Remove test.
74105 * configure: Regenerated.
74106 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74107 conditional definition.
74108 [$(have-as-needed) != yes] (no-as-needed): Likewise.
74109 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74110 * config.make.in (have-as-needed): Remove variable.
74111
74112 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74113 Paul Pluzhnikov <ppluzhnikov@google.com>
74114
74115 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74116 strings correctly.
74117
74118 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
74119
74120 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74121 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74122 * sysdeps/sh/strlen.S: Likewise.
74123
74124 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74125
74126 * sysdeps/unix/fork.S: Remove file.
74127 * sysdeps/unix/i386/fork.S: Likewise.
74128 * sysdeps/unix/sparc/fork.S: Likewise.
74129
74130 * sysdeps/unix/system.c: Remove file.
74131 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74132
74133 * sysdeps/unix/getegid.S: Remove file.
74134 * sysdeps/unix/geteuid.S: Likewise.
74135
74136 2012-04-24 Roland McGrath <roland@hack.frob.com>
74137
74138 * scripts/check-localplt.awk: New file.
74139 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74140 of diff.
74141 * scripts/data/localplt-generic.data: Add a comment.
74142
74143 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74144 NODE when __dir_mkfile failed.
74145 * sysdeps/mach/hurd/symlinkat.c: Likewise.
74146 Reported by Ludovic Courtès <ludo@gnu.org>.
74147
74148 2012-04-24 Andreas Jaeger <aj@suse.de>
74149
74150 * Makerules (common-clean): Also remove gen-as-const-headers
74151 files.
74152
74153 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74154
74155 * Makerules (native-compile): Do not change working directory for
74156 build. Use $(OUTPUT_OPTION) in command.
74157 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74158
74159 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74160
74161 [BZ #13886]
74162 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74163 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74164 * math/libm-test.inc (floor_test): Add more tests.
74165 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74166
74167 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74168
74169 * sysdeps/unix/getdents.c: Remove file.
74170 * sysdeps/unix/sysv/getdents.c: Likewise.
74171 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74172
74173 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74174 sysdeps/unix/mman/syscalls.list.
74175 (mmap): Likewise.
74176 (mprotect): Likewise.
74177 (msync): Likewise.
74178 (munmap): Likewise.
74179 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74180 * sysdeps/unix/mman/syscalls.list: Remove.
74181 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74182
74183 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74184 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74185 * configure: Regenerated.
74186 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74187 $(libgcc_s_suffix).
74188 * config.make.in (libgcc_s_suffix): Remove variable.
74189
74190 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74191
74192 * sysdeps/unix/sysv/gethostname.c: Move to ...
74193 * sysdeps/posix/gethostname.c: ... here.
74194
74195 * sysdeps/unix/execve.S: Remove file.
74196
74197 * sysdeps/unix/_exit.S: Remove file.
74198
74199 2012-04-23 Andreas Jaeger <aj@suse.de>
74200
74201 [BZ #13739]
74202 * manual/Makefile: Remove make dist support, there's no
74203 need for a stand-alone documentation tar ball.
74204 (TEXI2DVI): Define always, it's not in Makeconfig.
74205 (dist): Removed.
74206 (tar-it): Removed.
74207 (edition): Removed.
74208 (glibc-doc-$(edition).tar): Removed
74209 (%.Z): Removed.
74210 (%.gz): Removed.
74211 (%.uu): Removed.
74212 (ETAGS): Remove, it's in Makeconfig.
74213 (move-if-change): Remove, it's in Makeconfig.
74214
74215 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74216
74217 [BZ #13970]
74218 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74219 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74220 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74221 (strtod_l, strtof_l, strtold_l): Remove __wur.
74222 It is not necessarily an error to ignore strtol's return value.
74223 One can reliably look at the stored endptr to decide whether
74224 the number had valid syntax.
74225
74226 2012-04-21 Andreas Jaeger <aj@suse.de>
74227
74228 [BZ #13739]
74229 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74230
74231 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74232
74233 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74234 * sysdeps/unix/sysv/Versions: Remove file.
74235
74236 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74237
74238 [BZ #13927]
74239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74240
74241 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74242
74243 [BZ #7064]
74244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74245 version from __vm86.
74246
74247 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74248
74249 * sysdeps/unix/common/lxstat.c: Remove file.
74250 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74251
74252 * sysdeps/unix/sysv/Makefile: Remove file.
74253
74254 * sysdeps/unix/sysv/direct.h: Remove file.
74255
74256 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74257 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74258 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74259 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74260 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74261 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74262 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74263
74264 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74265
74266 * sysdeps/unix/xmknod.c: Remove file.
74267 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74268
74269 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74270
74271 * sysdeps/unix/sysv/i386/time.S: Remove file.
74272
74273 * sysdeps/unix/fxstat.c: Remove file.
74274 * sysdeps/unix/xstat.c: Likewise.
74275 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74276
74277 * sysdeps/unix/sysv/sigaction.c: Remove file.
74278
74279 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74280 (sysdep_headers): Remove variable.
74281 [termio.h not in sysdep_headers] (generated): Likewise.
74282 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74283 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74284 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74285 * sysdeps/unix/sysv/tcflow.c: Likewise.
74286 * sysdeps/unix/sysv/tcflush.c: Likewise.
74287 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74288 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74289 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74290 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74291 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74292
74293 * sysdeps/unix/siglist.c: Remove file.
74294
74295 * sysdeps/unix/getppid.S: Remove file.
74296
74297 * sysdeps/unix/mkdir.c: Remove file.
74298 * sysdeps/unix/rmdir.c: Likewise.
74299
74300 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74301
74302 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74303 ERR_MAX value.
74304 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74305 errlist-compat value.
74306
74307 2012-04-18 David S. Miller <davem@davemloft.net>
74308
74309 * sysdeps/generic/memcopy.h (reg_char): Delete.
74310 * debug/strcat_chk.c: Use char, not reg_char.
74311 * debug/strcpy_chk.c: Likewise.
74312 * debug/strncat_chk.c: Likewise.
74313 * debug/strncpy_chk.c: Likewise.
74314 * string/memchr.c: Likewise.
74315 * string/memrchr.c: Likewise.
74316 * string/rawmemchr.c: Likewise.
74317 * string/strcat.c: Likewise.
74318 * string/strchr.c: Likewise.
74319 * string/strchrnul.c: Likewise.
74320 * string/strcmp.c: Likewise.
74321 * string/strcpy.c: Likewise.
74322 * string/strncat.c: Likewise.
74323 * string/strncmp.c: Likewise.
74324 * string/strncpy.c: Likewise.
74325
74326 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74327
74328 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74329 __builtin_memcopy is called when src and dest ranges are known to not
74330 overlap.
74331
74332 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74333
74334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74335 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74336 fwd_align_merge macro call.
74337 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74338 bwd_align_merge macro call.
74339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74340
74341 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74342
74343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74344 bwd_align_merge macros.
74345 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74346 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74347 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74348
74349 2012-04-18 David S. Miller <davem@davemloft.net>
74350
74351 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74352
74353 2012-04-18 Andreas Jaeger <aj@suse.de>
74354
74355 [BZ# 6794]
74356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74357 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74359
74360 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74361 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74363
74364 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74365 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74366 Adjust for changed ldbl-128 files.
74367
74368 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74369 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74370 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74371
74372 2012-04-17 David S. Miller <davem@davemloft.net>
74373
74374 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74375
74376 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74377
74378 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74379 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74380 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74381 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74382 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74383 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74384
74385 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74386
74387 [BZ #6794]
74388 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74389 * math/libm-test.inc: Add ilogb errno and exception tests.
74390 * math/w_ilogb.c: New file: ilogb wrapper.
74391 * math/w_ilogbf.c: New file: ilogbf wrapper.
74392 * math/w_ilogbl.c: New file: ilogbl wrapper.
74393 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74394 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74395 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74396 exception being thrown with 0.0 as argument.
74397 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74398 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74399 exception being thrown with 0.0 as argument.
74400 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74401 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74402 exception being thrown with 0.0 as argument.
74403 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74404 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74405 exception being thrown with 0.0 as argument.
74406 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74407 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74408 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74409 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74411 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74412 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74413 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74414 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74415
74416 2012-04-17 Petr Baudis <pasky@ucw.cz>
74417
74418 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74419 with altivec.
74420
74421 2012-04-16 Marek Polacek <polacek@redhat.com>
74422
74423 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74424
74425 2012-04-16 Marek Polacek <polacek@redhat.com>
74426
74427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74428 operands of fdivp instruction.
74429
74430 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74431
74432 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74433 * elf/tst-auditmod3b.c: Likewise.
74434 * elf/tst-auditmod4b.c: Likewise.
74435 * elf/tst-auditmod5b.c: Likewise.
74436 * elf/tst-auditmod6b.c: Likewise.
74437 * elf/tst-auditmod6c.c: Likewise.
74438 * elf/tst-auditmod7b.c: Likewise.
74439 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74440 * sysdeps/x86_64/preconfigure.in: Likewise.
74441 * sysdeps/x86_64/preconfigure: Regenerated.
74442
74443 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74444
74445 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74446 __ILP32__.
74447
74448 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74449
74450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74451 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74452
74453 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74454
74455 [BZ #13973]
74456 * locale/iso-639.def: Fix gl language name. Spotted by
74457 Yaron Shahrabani.
74458
74459 2012-04-12 Roland McGrath <roland@hack.frob.com>
74460
74461 [BZ #2074]
74462 * libio/libio.h (__io_write_fn): Update comment.
74463
74464 2012-04-12 Petr Baudis <pasky@ucw.cz>
74465
74466 [BZ #2074]
74467 * stdio.texi (Hook Functions): The user provided writer function
74468 is not allowed to return -1.
74469
74470 2012-04-11 David S. Miller <davem@davemloft.net>
74471
74472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74473
74474 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74475
74476 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74477 Add a leading slash to rtkaio.
74478
74479 2012-04-11 Jim Meyering <meyering@redhat.com>
74480
74481 [BZ #11959]
74482 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74483 It is not necessarily an error to ignore fwrite's return
74484 value. One can reliably use ferror to test for errors after
74485 the fact.
74486
74487 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74488
74489 * bits/types.h (__snseconds_t): New type.
74490 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74491
74492 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74494 (__SNSECONDS_T_TYPE): Likewise.
74495 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74496 (__SNSECONDS_T_TYPE): Likewise.
74497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74498 (__SNSECONDS_T_TYPE): Likewise.
74499
74500 2012-04-10 Andreas Jaeger <aj@suse.de>
74501
74502 [BZ #2636]
74503 * manual/time.texi (Processor Time): Return type of times is
74504 elapsed real time since an arbitrary point in the past.
74505 (CPU Time): Move CLK_TCK from here...
74506 (Processor Time): ...to here. Correct description.
74507 * manual/conf.texi (Constants for Sysconf): Correct description of
74508 _SC_CLK_TCK.
74509
74510 2012-04-10 David S. Miller <davem@davemloft.net>
74511
74512 [BZ #13967]
74513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74514 where the is a gap between DT_REL(A) and DT_JMPREL.
74515
74516 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74517
74518 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74519 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74520 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74521
74522 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74523
74524 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74525 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74526 (dl_main): Handle --inhibit-cache.
74527 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74528 _dl_inhibit_cache.
74529 * elf/dl-load.c (_dl_map_object): Use it.
74530 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74531
74532 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74533
74534 [BZ #13872]
74535 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74536 (__ieee754_powl): Saturate large exponents rather than testing for
74537 overflow of y*log2(x).
74538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74539 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74540 exceptions.
74541
74542 [BZ #11521]
74543 * math/s_ctan.c: Include <float.h>.
74544 (__ctan): Avoid internal overflow or cancellation in calculating
74545 denominator.
74546 * math/s_ctanf.c: Likewise.
74547 * math/s_ctanl.c: Likewise.
74548 * math/s_ctanh.c: Likewise.
74549 * math/s_ctanhf.c: Likewise.
74550 * math/s_ctanhl.c: Likewise.
74551 * math/libm-test.inc (ctan_test): Add more tests.
74552 (ctanh_test): Likewise.
74553 * sysdeps/i386/fpu/libm-test-ulps: Update.
74554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74555
74556 2012-04-09 Andreas Jaeger <aj@suse.de>
74557
74558 [BZ #6894]
74559 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74560 is an optional BSD extension.
74561
74562 [BZ #10254]
74563 * manual/stdio.texi (Opening Streams): Document additional fopen
74564 parameters.
74565
74566 2012-04-09 Roland McGrath <roland@hack.frob.com>
74567
74568 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74569 %eax without telling the compiler.
74570
74571 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74572
74573 [BZ # 13963]
74574 * manual/install.texi: Use sourceware.org.
74575
74576 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74577
74578 [BZ #13873]
74579 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74580 (__ieee754_pow): Generate overflow and underflow using huge*huge
74581 and tiny*tiny rather than just returning constant infinity or zero
74582 for large exponents.
74583 * math/libm-test.inc (pow_test): Require overflow exceptions for
74584 applicable cases of large exponents.
74585
74586 [BZ #706]
74587 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74588 (__ieee754_pow): Use iterative multiplication algorithm only for
74589 integer exponents with absolute value below 1024. Check for odd
74590 integer exponents when using algorithm for real exponents.
74591 * math/libm-test.inc (pow_test): Add more tests.
74592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74593
74594 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74595
74596 [BZ #13705]
74597 * math/libm-test.inc (exp_test): Do not allow overflow exception
74598 on underflow test.
74599
74600 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74601
74602 [BZ #13705]
74603 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74604 instead of __kernel_standard_f.
74605
74606 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74607
74608 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74609 * sysdeps/x86_64/memset_chk.S: Likewise.
74610
74611 2012-04-08 Andreas Jaeger <aj@suse.de>
74612
74613 [BZ #10153]
74614 * manual/startup.texi (Environment Access): Describe return value
74615 for putenv and setenv.
74616
74617 [BZ #6895]
74618 * manual/filesys.texi (Directory Entries): Add description for
74619 DT_LNK.
74620
74621 [BZ #6890]
74622 * manual/filesys.texi (Directory Entries): Clarify that it's file
74623 system not operating system in the description of DT_UNKNOWN.
74624
74625 [BZ #6578]
74626 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74627
74628 2012-04-08 Stephen Compall <s11@member.fsf.org>
74629
74630 [BZ #6649]
74631 * manual/llio.texi (Opening and Closing Files): Add cross
74632 reference to explain mode argument.
74633
74634 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74635
74636 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74637 * sysdeps/x86_64/memset_chk.S: Likewise.
74638
74639 2012-04-07 David S. Miller <davem@davemloft.net>
74640
74641 * elf/elf.h (R_SPARC_WDISP10): Define.
74642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74643 R_SPARC_SIZE32.
74644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74645 R_SPARC_SIZE64 and R_SPARC_H34.
74646
74647 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74648
74649 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74650 conditions and remove no longer applicable assertion.
74651
74652 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74653
74654 * bits/byteswap.h: Include <features.h>.
74655 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74656 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74657
74658 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74659
74660 * bits/byteswap.h (__bswap_16): Removed.
74661 Include <bits/byteswap-16.h> to get __bswap_16.
74662 * sysdeps/i386/bits/byteswap.h: Likewise.
74663 * sysdeps/s390/bits/byteswap.h: Likewise.
74664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74665 * bits/byteswap-16.h: New file.
74666 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74667 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74668 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74669 * string/Makefile (headers): Add bits/byteswap-16.h.
74670
74671 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74672
74673 [BZ #13895]
74674 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74675 extra indirection.
74676 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74677 * nss/tst-nss-static.c: New.
74678
74679 2012-04-06 Robert Millan <rmh@gnu.org>
74680
74681 [BZ #6486]
74682 * manual/llio.texi (File Position Primitive): lseek
74683 refers to WHENCE when it really means OFFSET.
74684
74685 2012-04-06 Andreas Jaeger <aj@suse.de>
74686
74687 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74688 strncmp declarations.
74689
74690 * abilist/libc.abilist: Add __poll and __ppoll.
74691
74692 2012-04-05 David S. Miller <davem@davemloft.net>
74693
74694 * scripts/check-local-headers.sh: Accept a host triplet in the
74695 path matched by the exclude regexp.
74696
74697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74698 definition.
74699 * sysdeps/powerpc/powerpc32/dl-machine.h
74700 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74701 * sysdeps/s390/s390-32/dl-machine.h
74702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74703 * sysdeps/sparc/sparc32/dl-machine.h
74704 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74705 * sysdeps/sparc/sparc64/dl-machine.h
74706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74707
74708 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74709 lazy binding.
74710 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74711 undefined symbol errors.
74712
74713 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74714 DT_NEEDED entries.
74715
74716 2012-04-05 Michael Matz <matz@suse.de>
74717
74718 [BZ #13592]
74719 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74720
74721 2012-04-05 Andreas Jaeger <aj@suse.de>
74722
74723 [BZ #13908]
74724 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74725 comment.
74726
74727 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74728
74729 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74730 which ROUND is no valid rounding mode.
74731
74732 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74733
74734 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74735 read again.
74736 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74737
74738 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74739
74740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74741 an exception using FPU order intentionally.
74742
74743 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74744
74745 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74746 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74747 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74748 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74749
74750 2012-04-05 Simon Josefsson <simon@josefsson.org>
74751
74752 [BZ #12340]
74753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74754 EINVAL when BUFLEN is too smal.
74755
74756 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74757
74758 [BZ #13553]
74759 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74760 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74761
74762 2012-04-03 Andreas Jaeger <aj@suse.de>
74763
74764 [BZ #13938]
74765 * manual/setjmp.texi (System V contexts): Fix sentence.
74766
74767 [BZ #13926]
74768 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74769 New macro for this case.
74770 [!__GNUC__] (__bswap_64): New inline function for this case.
74771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74772 * bits/byteswap.h: Likewise.
74773 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74774 ull, guard with __GLIBC_HAVE_LONG_LONG.
74775
74776 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74777 __GLIBC_HAVE_LONG_LONG.
74778
74779 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74780 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74781
74782 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74783
74784 [BZ #13691]
74785 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74786 inptr and inend, rather than using last_ch.
74787
74788 2012-04-02 David S. Miller <davem@davemloft.net>
74789
74790 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74791 * stdio-common/printf-parse.h (read_int): Change return type to
74792 'int', return -1 on INT_MAX overflow.
74793 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74794 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74795 overflows INT_MAX. Check for overflow of in-format-string precision
74796 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74797 SIZE_MAX not INT_MAX for integer overflow test.
74798 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74799 skip the construct in the format string but do not record anything.
74800 * stdio-common/bug22.c: Adjust to test both width/prevision
74801 INT_MAX overflow as well as total length INT_MAX overflow. Check
74802 explicitly for proper errno values.
74803
74804 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74805
74806 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74807 CHAR_MAX.
74808 * string/test-strcmp.c [! WIDE]: Likewise.
74809 * time/tst-mktime2.c: Likewise for INT_MAX.
74810 * string/test-string.h: #include <sys/param.h> for MIN.
74811
74812 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74813 * sysdeps/i386/init-first.c (init): Likewise.
74814 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74815 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74816 * sysdeps/sh/init-first.c (init): Likewise.
74817
74818 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74819
74820 * po/ru.po: Update from translation team.
74821 * po/vi.po: Likewise.
74822
74823 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74824
74825 * resolv/nss_dns/dns-host.c: Merge copyright years.
74826
74827 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74828
74829 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74830 Optimize memcpy with prefetch if
74831 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74832 src, dst pointers have unequal 16 byte alignments.
74833
74834 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74835
74836 [BZ #13928]
74837 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74838 from a CNAME entry and return the minimum ttl for the query.
74839 (gaih_getanswer_slice): Likewise.
74840
74841 2012-03-30 Jeff Law <law@redhat.com>
74842
74843 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74844 due to long keys.
74845 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74846 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74847
74848 * resolv/nss_dns/dns-host.c: Update copyright year.
74849
74850 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74851
74852 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74853 requests to save a system call. Fix check that all bytes are sent.
74854
74855 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74856 comments for sendmmsg.
74857
74858 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74859
74860 [BZ #13691]
74861 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74862 with only 1 character between 0x0041 and 0x01b0.
74863 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74864 * wcsmbs/tst-mbsnrtowcs.c: New file.
74865
74866 2012-03-29 David S. Miller <davem@davemloft.net>
74867
74868 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74869 small copies by hand.
74870
74871 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74872
74873 [BZ #13761]
74874 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74875 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74876 group memberships.
74877
74878 2012-03-28 David S. Miller <davem@davemloft.net>
74879
74880 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74881 that branches into memcpy.
74882 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74885 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74887 bits.
74888 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74889 implementation too.
74890 * sysdeps/sparc/mempcpy.S: New file.
74891
74892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74893 the IFUNC routine in the libc case.
74894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74895
74896 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74897 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74898 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74899 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74900 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74901 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74902 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74903 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74904
74905 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74906 loop to 256 bytes instead of 64 bytes and fix test signedness.
74907
74908 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74909 * sysdeps/sparc/sparc32/Makefile: rather than here...
74910 * sysdeps/sparc/sparc64/Makefile: and here.
74911
74912 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74913
74914 * malloc/mallocbug.c: Avoid warnings about unused variables.
74915
74916 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74917
74918 [BZ #13760]
74919 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74920 in the right place. Discard and retry query if response is
74921 larger than input buffer size.
74922
74923 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74924
74925 [BZ #369]
74926 [BZ #2678]
74927 [BZ #3866]
74928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74929 x for large integer exponent.
74930 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74931 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74932 sign of result as needed afterwards.
74933 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74935 result for underflowing pow the same as for overflow.
74936 (__kernel_standard_l): Handle powl overflow and underflow here
74937 rather than calling __kernel_standard.
74938 * math/libm-test.inc (pow_test): Add more tests.
74939
74940 [BZ #3868]
74941 [BZ #13879]
74942 [BZ #13910]
74943 [BZ #13911]
74944 [BZ #13912]
74945 [BZ #13913]
74946 [BZ #13915]
74947 [BZ #13916]
74948 [BZ #13917]
74949 [BZ #13918]
74950 [BZ #13919]
74951 [BZ #13920]
74952 [BZ #13921]
74953 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74954 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74955 (__kernel_standard_l): New function.
74956 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74957 __kernel_standard.
74958 * math/w_acosl.c (__acosl): Likewise.
74959 * math/w_asinl.c (__asinl): Likewise.
74960 * math/w_atan2l.c (__atan2l): Likewise.
74961 * math/w_atanhl.c (__atanhl): Likewise.
74962 * math/w_coshl.c (__coshl): Likewise.
74963 * math/w_exp10l.c (__exp10l): Likewise.
74964 * math/w_exp2l.c (__exp2l): Likewise.
74965 * math/w_fmodl.c (__fmodl): Likewise.
74966 * math/w_hypotl.c (__hypotl): Likewise.
74967 * math/w_j0l.c (__j0l, __y0l): Likewise.
74968 * math/w_j1l.c (__j1l, __y1l): Likewise.
74969 * math/w_jnl.c (__jnl, __ynl): Likewise.
74970 * math/w_lgammal.c (__lgammal): Likewise.
74971 * math/w_log10l.c (__log10l): Likewise.
74972 * math/w_log2l.c (__log2l): Likewise.
74973 * math/w_logl.c (__logl): Likewise.
74974 * math/w_powl.c (__powl): Likewise.
74975 * math/w_remainderl.c (__remainderl): Likewise.
74976 * math/w_scalbl.c (sysv_scalbl): Likewise.
74977 * math/w_sinhl.c (__sinhl): Likewise.
74978 * math/w_sqrtl.c (__sqrtl): Likewise.
74979 * math/w_tgammal.c (__tgammal): Likewise.
74980 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74981 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74982 * math/libm-test.inc (acos_test): Add more tests.
74983 (acosh_test): Likewise.
74984 (asin_test): Likewise.
74985 (atanh_test): Likewise.
74986 (exp_test): Likewise.
74987 (exp10_test): Likewise.
74988 (exp2_test): Likewise.
74989 (expm1_test): Likewise.
74990 (lgamma_test): Likewise.
74991 (log_test): Likewise.
74992 (log10_test): Likewise.
74993 (log1p_test): Likewise.
74994 (log2_test): Likewise.
74995 (pow_test): Do not allow some spurious overflow exceptions.
74996 (sqrt_test): Add more tests.
74997 (tgamma_test): Likewise.
74998 (y0_test): Likewise.
74999 (y1_test): Likewise.
75000 (yn_test): Likewise.
75001
75002 2012-03-27 Anton Blanchard <anton@samba.org>
75003
75004 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75005 MAP_HUGETLB.
75006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75009
75010 2012-03-27 David S. Miller <davem@davemloft.net>
75011
75012 * conform/Makefile: Run run-conformtest.sh using $(BASH).
75013
75014 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75015 have-as-vis3 check.
75016
75017 2012-03-27 Andreas Jaeger <aj@suse.de>
75018
75019 * sysdeps/x86_64/elf/configure.in: Moved to ...
75020 * sysdeps/x86_64/configure.in: ... here.
75021 * sysdeps/x86_64/elf/start.S: Moved to ...
75022 * sysdeps/x86_64/start.S: ... here.
75023 * sysdeps/x86_64/elf/configure: Delete.
75024
75025 * sysdeps/x86_64/configure.in: Merge contents from
75026 sysdeps/i386/configure.in (without i686 check).
75027
75028 * sysdeps/i386/elf/Versions: Merge into ...
75029 * sysdeps/i386/Versions: ... this.
75030 * sysdeps/i386/elf/Versions: Delete file.
75031 * sysdeps/i386/elf/start.S: Moved to ...
75032 * sysdeps/i386/start.S: ...here.
75033 * sysdeps/i386/elf/configure.in: Merge into...
75034 * sysdeps/i386/configure.in: ...here.
75035 * sysdeps/i386/elf/configure.in: Delete file.
75036 * sysdeps/i386/elf/configure: Delete file.
75037
75038 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75039 * debug/backtracesyms.c: ... here.
75040 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75041 * debug/backtracesymsfd.c: ... here.
75042 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75043 * sysdeps/generic/ifunc-sel.h: ... here.
75044
75045 * sysdeps/unix/i386/start.c: Delete file.
75046 * sysdeps/unix/sparc/start.c: Delete file.
75047 * sysdeps/unix/start.c: Delete file.
75048
75049 * sysdeps/sh/elf/configure.in: Moved to ...
75050 * sysdeps/sh/configure.in: ... here.
75051 * sysdeps/sh/elf/start.S: Moved to ...
75052 * sysdeps/sh/start.S: ... here.
75053 * sysdeps/sh/elf/configure: Delete file.
75054
75055 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75056 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75057 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75058 * sysdeps/powerpc/powerpc64/entry.h: ... here.
75059 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75060 * sysdeps/powerpc/powerpc64/start.S: here.
75061 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75062 * sysdeps/powerpc/powerpc64/Makefile: ... this.
75063 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75064 * sysdeps/powerpc/powerpc64/configure.in: ... this.
75065 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75066
75067 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75068 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75069 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75070 * sysdeps/powerpc/powerpc32/start.S: ... here.
75071 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75072 * sysdeps/powerpc/powerpc32/configure.in: ... this.
75073 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75074
75075 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75076 * sysdeps/powerpc/ifunc-sel.h: ... here.
75077 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75078 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75079
75080 * sysdeps/sparc/elf/configure.in: Moved to ...
75081 * sysdeps/sparc/configure.in: ... here.
75082 * sysdeps/sparc/elf/configure: Delete file.
75083 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75084 * sysdeps/sparc/sparc32/start.S: ... here.
75085 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75086 * sysdeps/sparc/sparc64/start.S: ... here.
75087 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75088 * sysdeps/sparc/sparc32/Makefile: ... this.
75089 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75090 * sysdeps/sparc/sparc64/Makefile: ... this.
75091
75092 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75093 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75094 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75095 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75096 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75097 * sysdeps/s390/s390-32/setjmp.S: ... here.
75098 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75099 * sysdeps/s390/s390-32/configure.in: ... here.
75100 * sysdeps/s390/s390-32/elf/configure: Delete file.
75101 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75102 * sysdeps/s390/s390-32/start.S: ... here.
75103
75104 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75105 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75106 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75107 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75108 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75109 * sysdeps/s390/s390-64/setjmp.S: ... here.
75110 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75111 * sysdeps/s390/s390-64/configure.in: ... here
75112 * sysdeps/s390/s390-64/elf/configure: Delete file.
75113 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75114 * sysdeps/s390/s390-64/start.S: ... here.
75115 * sysdeps/s390/s390-64/elf/configure: Delete.
75116
75117 * configure.in: Remove support for elf directories in sysdeps.
75118
75119 * configure: Regenerated.
75120 * sysdeps/i386/configure: Regenerated.
75121 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75122 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75123 * sysdeps/s390/s390-32/configure: Regenerated.
75124 * sysdeps/s390/s390-64/configure: Regenerated.
75125 * sysdeps/sh/configure: Regenerated.
75126 * sysdeps/sparc/configure: Regenerated.
75127 * sysdeps/x86_64/configure: Regenerated.
75128
75129 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
75130
75131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75132
75133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75134 denormal result into account.
75135
75136 2012-03-25 Roland McGrath <roland@hack.frob.com>
75137
75138 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75139 Reported by Allan McRae <allan@archlinux.org>.
75140
75141 2012-03-23 Jeff Law <law@redhat.com>
75142
75143 * nss/getnssent.c (__nss_getent): Fix typo.
75144
75145 2012-03-23 David S. Miller <davem@davemloft.net>
75146
75147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75148
75149 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
75150
75151 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75152 to pad to uint64_t for each field.
75153 (dl_tls_index): Replace unsigned long with uint64_t.
75154
75155 2012-03-23 Daniel Jacobowitz <dmj@google.com>
75156 Paul Pluzhnikov <ppluzhnikov@google.com>
75157
75158 [BZ #6528]
75159 * grp/Makefile (otherlibs): Don't set it.
75160 * inet/Makefile (otherlibs): Likewise.
75161 * login/Makefile (otherlibs): Likewise.
75162 * nscd/Makefile (otherlibs): Likewise.
75163 * posix/Makefile (otherlibs): Likewise.
75164 * pwd/Makefile (otherlibs): Likewise.
75165 * rt/Makefile (otherlibs): Likewise.
75166 * sunrpc/Makefile (otherlibs): Likewise.
75167 * nss/Makefile (otherlibs): Likewise.
75168 Add libnss_files to routines and static-only-routines.
75169 ($(objpfx)getent): Remove rule.
75170 * resolv/Makefile: Add libnss_dns and libresolv to routines and
75171 static-only-routines.
75172
75173 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75174
75175 [BZ #13892]
75176 * math/s_cexp.c: Include <float.h>.
75177 (__cexp): Handle exp result overflowing not necessarily
75178 overflowing both real and imaginary parts of result.
75179 * math/s_cexpf.c: Likewise.
75180 * math/s_cexpl.c: Likewise.
75181 * math/libm-test.inc (cexp_test): Add more tests.
75182 * sysdeps/i386/fpu/libm-test-ulps: Update.
75183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75184
75185 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75186
75187 * include/link.h (ELFW): New macro.
75188 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75189 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75190
75191 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75192
75193 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75194 with uint64_t.
75195
75196 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75197
75198 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75199 declaration.
75200 (struct La_x32_retval): Likewise.
75201
75202 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75203
75204 * sysdeps/x86_64/preconfigure.in: New file.
75205 * sysdeps/x86_64/preconfigure: New generated file.
75206
75207 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75208
75209 [BZ #13824]
75210 * math/e_exp2l.c: Include <float.h>.
75211 (__ieee754_exp2l): Handle overflow and underflow cases
75212 separately. Only pass fractional part of argument to
75213 __ieee754_expl.
75214 * math/libm-test.inc (exp2_test): Add more tests.
75215
75216 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75217 negating x to take absolute value.
75218 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75219 Likewise.
75220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75222 Likewise.
75223 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75224 computing low part if x was negated.
75225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75226
75227 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75228
75229 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75230 la_x32_gnu_pltexit.
75231 (pltexit): Cast int_retval to ptrdiff_t.
75232 * elf/tst-auditmod3b.c: Likewise.
75233 * elf/tst-auditmod4b.c: Likewise.
75234 * elf/tst-auditmod5b.c: Likewise.
75235 * elf/tst-auditmod6b.c: Likewise.
75236 * elf/tst-auditmod6c.c: Likewise.
75237 * elf/tst-auditmod7b.c: Likewise.
75238
75239 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75240 and x32_gnu_pltexit.
75241
75242 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75243 __ELF_NATIVE_CLASS.
75244 (La_x32_regs): New macro.
75245 (La_x32_retval): Likewise.
75246 (la_x32_gnu_pltenter): New function prototype.
75247 (la_x32_gnu_pltexit): Likewise.
75248
75249 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75250
75251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75252 exponent.
75253
75254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75255
75256 * configure.in (libc_cv_cc_nofma): Check for option to disable
75257 generation of FMA instructions.
75258 * configure: Regenerate.
75259 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75260 * sysdeps/ieee754/dbl-64/Makefile: New file.
75261 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75262 Remove brandred-fma4.
75263 (CFLAGS-brandred-fma4.c): Remove.
75264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75265 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75266 define.
75267 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75268 define.
75269
75270 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75271
75272 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75273 LLONG_MAX != LONG_MAX.
75274 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75275 (_fitoa_word): Likewise.
75276 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75277 LLONG_MAX != LONG_MAX.
75278 * stdio-common/_itowa.h: Include <_itoa.h>.
75279 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75280 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75281 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75282 only if not defined.
75283 (_ITOA_WORD_TYPE): Likewise.
75284 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75285 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75286
75287 2012-03-21 David S. Miller <davem@davemloft.net>
75288
75289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75290
75291 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75292
75293 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75294 of x86_64 when setting libc_cv_slibdir, libdir and
75295 libc_cv_localedir.
75296 * sysdeps/unix/sysv/linux/configure: Regenerated.
75297
75298 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75299
75300 * manual/lang.texi (Old Varargs): Remove section.
75301 (How Variadic): Update menu.
75302 (va_start): Do not mention varargs.h.
75303
75304 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75305 Joseph Myers <joseph@codesourcery.com>
75306
75307 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75308 link test.
75309 * configure: Regenerated.
75310
75311 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75312
75313 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75314 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75315 conformtest.pl
75316
75317 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75318
75319 * NOTES: Remove.
75320 * Makefile (files-for-dist): Remove NOTES.
75321 (NOTES): Remove rule.
75322 * README: Don't refer to NOTES.
75323 * manual/creature.texi: Don't include macros.texi.
75324 * manual/intro.texi (creature.texi): Remove comment referring to
75325 NOTES.
75326
75327 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75328 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75329 * configure: Regenerated.
75330 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75331 LIBC_TRY_CC_OPTION.
75332 (libc_cv_as_i686): Likewise.
75333 (libc_cv_cc_avx): Likewise.
75334 (libc_cv_cc_sse2avx): Likewise.
75335 (libc_cv_cc_fma4): Likewise.
75336 (libc_cv_cc_novzeroupper): Likewise.
75337 * sysdeps/i386/configure: Regenerated.
75338
75339 [BZ #13883]
75340 * sysdeps/i386/fpu/s_cexp.S: Remove.
75341 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75343 * math/libm-test.inc (cexp_test): Add more tests.
75344 * sysdeps/i386/fpu/libm-test-ulps: Update.
75345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75346
75347 2012-03-21 Allan McRae <allan@archlinux.org>
75348
75349 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75350
75351 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75352
75353 [BZ #13871]
75354 * math/w_exp2.c: Do not include <float.h>.
75355 (o_threshold, u_threshold): Remove.
75356 (__exp2): Calculate result before checking finiteness and calling
75357 __kernel_standard.
75358 * math/w_exp2f.c: Likewise.
75359 * math/w_exp2l.c: Likewise.
75360 * math/libm-test.inc (exp2_test): Require overflow exception for
75361 1e6 input.
75362
75363 [BZ #3866]
75364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75365 range of signed 64-bit integers before using fistpll. Remove
75366 checks for whether integers fit in mantissa bits.
75367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75368 the range of signed 32-bit integers before using fistpl. Remove
75369 checks for whether integers fit in mantissa bits.
75370 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75371 (__ieee754_powl): Test for y outside the range of signed 64-bit
75372 integers before using fistpll. Reduce 64-bit values to 63-bit
75373 ones as needed.
75374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75375 divide-by-zero is raised for zero to large negative powers.
75376 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75377 (__ieee754_powl): Test for y outside the range of signed 64-bit
75378 integers before using fistpll. Reduce 64-bit values to 63-bit
75379 ones as needed.
75380 * math/libm-test.inc (pow_test): Add more tests.
75381
75382 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75383
75384 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75385 <stdio-common/_itoa.h>.
75386 * debug/segfault.c: Likewise.
75387 * elf/dl-cache.c: Likewise.
75388 * elf/dl-minimal.c: Likewise.
75389 * elf/dl-misc.c: Likewise.
75390 * elf/dl-sysdep.c: Likewise.
75391 * elf/dl-version.c: Likewise.
75392 * elf/rtld.c: Likewise.
75393 * hurd/hurdsock.c: Likewise.
75394 * hurd/lookup-retry.c: Likewise.
75395 * malloc/malloc.c: Likewise.
75396 * malloc/mtrace.c: Likewise.
75397 * nscd/nscd_getgr_r.c: Likewise.
75398 * nscd/nscd_getpw_r.c: Likewise.
75399 * nscd/nscd_getserv_r.c: Likewise.
75400 * posix/getopt_init.c: Likewise.
75401 * posix/wordexp.c: Likewise.
75402 * stdio-common/_itoa.c: Likewise.
75403 * stdio-common/printf_fphex.c: Likewise.
75404 * stdio-common/vfprintf.c: Likewise.
75405 * string/_strerror.c: Likewise.
75406 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75407 * sysdeps/i386/i686/hp-timing.h: Likewise.
75408 * sysdeps/mach/_strerror.c: Likewise.
75409 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75410 * sysdeps/mach/hurd/sethostid.c: Likewise.
75411 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75412 * sysdeps/mach/xpg-strerror.c: Likewise.
75413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75415 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75416 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75417 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75418 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75420 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75421 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75422 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75423 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75424 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75425 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75426 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75427 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75428 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75429 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75430 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75431 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75432 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75433 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75434
75435 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75436
75437 * stdio-common/_itoa.h: Moved to ...
75438 * sysdeps/generic/_itoa.h: Here.
75439
75440 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75441
75442 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75443 instead of "_itoa.h" and "_itowa.h".
75444 * stdio-common/vfprintf.: Likewise.
75445
75446 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75447
75448 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75449 <bits/wordsize.h>.
75450 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75451 (__signbit): Likewise.
75452 (llrintf): Likewise.
75453 (llrint): Likewise.
75454
75455 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75456
75457 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75458 __WORDSIZE != 64.
75459
75460 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75461
75462 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75463 OVERFLOW_EXCEPTION_OK.
75464 * math/libm-test.inc ("Philosophy"): Update comment about
75465 exception testing.
75466 (OVERFLOW_EXCEPTION): Define.
75467 (OVERFLOW_EXCEPTION_OK): Likewise.
75468 (INVALID_EXCEPTION_OK): Renumber.
75469 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75470 (IGNORE_ZERO_INF_SIGN): Likewise.
75471 (test_exceptions): Handle FE_OVERFLOW.
75472 (exp10_test): Expect overflow exceptions.
75473 (exp2_test): Likewise.
75474 (expm1_test): Likewise.
75475 (nextafter_test): Likewise.
75476 (pow_test): Likewise.
75477 (scalbn_test): Likewise.
75478 (scalbln_test): Likewise.
75479
75480 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75481
75482 * sysdeps/x86_64/bits/atomic.h
75483 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75484 64bit integer.
75485 (atomic_exchange_acq): Likewise.
75486 (__arch_exchange_and_add_body): Likewise.
75487 (__arch_add_body): Likewise.
75488 (atomic_add_negative): Likewise.
75489 (atomic_add_zero): Likewise.
75490
75491 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75492
75493 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75494 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75495
75496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75497
75498 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75499 Check __x86_64__ instead of __WORDSIZE.
75500
75501 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75502
75503 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75504
75505 2012-03-19 David S. Miller <davem@davemloft.net>
75506
75507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75508
75509 * sysdeps/sparc/fpu/fenv_private.h: New file.
75510 * sysdeps/sparc/fpu/math_private.h: Use it.
75511 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75512 Remove.
75513 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75514 (libc_feholdexcept_setroundl): Remove.
75515 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75516 Remove.
75517 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75518 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75519
75520 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75521
75522 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75523 int64_t instead of long int.
75524 (INSERT_WORDS64): Likewise.
75525
75526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75527
75528 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75529 _Unwind_GetCFA return to _Unwind_Ptr first.
75530
75531 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75532
75533 [BZ #13629]
75534 * math/s_clog.c: Include <float.h>.
75535 (__clog): Scale large or subnormal inputs.
75536 * math/s_clogf.c: Likewise.
75537 * math/s_clogl.c: Likewise.
75538 * math/s_clog10.c: Include <float.h>.
75539 (M_LOG10_2): Define.
75540 (__clog10): Scale large or subnormal inputs.
75541 * math/s_clog10f.c: Likewise.
75542 * math/s_clog10l.c: Likewise.
75543 * math/libm-test.inc (clog_test): Add more tests.
75544 (clog10_test): Likewise.
75545 * sysdeps/i386/fpu/libm-test-ulps: Update.
75546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75547
75548 [BZ #11451]
75549 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75550 x and y.
75551 * math/libm-test.inc (atan2_test): Add another test.
75552
75553 * Makerules (common-objdir-compile): Remove.
75554 * sysdeps/unix/Makefile (config-generated): Do not add
75555 $(unix-generated) to variable.
75556 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75557 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75558 Remove rule.
75559 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75560 Likewise.
75561 [generic bits/local_lim.h] (before-compile): Do not append to
75562 variable.
75563 [generic bits/local_lim.h] (common-generated): Likewise.
75564 [generic sys/param.h] (before-compile): Do not append to variable.
75565 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75566 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75567 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75568 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75569 include.
75570 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75571 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75572 [generic sys/param.h] ($(addprefix
75573 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75574 [generic sys/param.h] (common-generated): Do not append to
75575 variable.
75576 [generic sys/param.h] (sysdep_headers): Likewise.
75577 [generic bits/errno.h] (before-compile): Do not append to
75578 variable.
75579 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75580 rule.
75581 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75582 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75583 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75584 [generic bits/errno.h] (common-generated): Do not append to
75585 variable.
75586 [generic bits/ioctls.h] (before-compile): Do not append to
75587 variable.
75588 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75589 rule.
75590 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75591 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75592 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75593 rule.
75594 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75595 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75596 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75597 [generic bits/ioctls.h] (common-generated): Do not append to
75598 variable.
75599 [generic sys/syscall.h] (syscall.h): Remove variable.
75600 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75601 rule.
75602 [generic sys/syscall.h] (before-compile): Do not append to
75603 variable.
75604 [generic sys/syscall.h] (common-generated): Likewise.
75605 * sysdeps/unix/errnos-tmpl.c: Remove file.
75606 * sysdeps/unix/errnos.awk: Likewise.
75607 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75608 * sysdeps/unix/ioctls.awk: Likewise.
75609 * sysdeps/unix/mk-local_lim.c: Likewise.
75610 * sysdeps/unix/snarf-ioctls: Likewise.
75611
75612 2012-03-19 Richard Henderson <rth@twiddle.net>
75613
75614 * sysdeps/i386/fpu/fenv_private.h: New file.
75615 * sysdeps/i386/fpu/math_private.h: Use it.
75616 (math_opt_barrier, math_force_eval): Remove.
75617 (libc_feholdexcept_setround_53bit): Remove.
75618 (libc_feupdateenv_53bit): Remove.
75619 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75620 (math_opt_barrier, math_force_eval): Remove.
75621 (libc_feholdexcept): Remove.
75622 (libc_feholdexcept_setround): Remove.
75623 (libc_fetestexcept, libc_fesetenv): Remove.
75624 (libc_feupdateenv_test): Remove.
75625 (libc_feupdateenv, libc_feholdsetround): Remove.
75626 (libc_feresetround): Remove.
75627
75628 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75629 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75630
75631 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75632 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75633 (libc_feupdateenv_testl): New.
75634 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75635 (libc_feupdateenv_testf): New.
75636 (libc_feupdateenv): Use libc_feupdateenv_test.
75637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75639
75640 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75641 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75642 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75643 (libc_feresetround_noex): New.
75644 (libc_feresetround_noexf): New.
75645 (libc_feresetround_noexl): New.
75646 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75647 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75648 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75650 SET_RESTORE_ROUND.
75651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75652 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75653 (__cos): Likewise.
75654 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75656 SET_RESTORE_ROUND_NOEX.
75657 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75658 SET_RESTORE_ROUND_NOEXF.
75659 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75660 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75661 (libc_feholdsetroundf): New.
75662 (libc_feresetround, libc_feresetroundf): New.
75663
75664 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75665 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75666 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75667
75668 * sysdeps/generic/math_private.h: Include <fenv.h>.
75669 (default_libc_feholdexcept): New.
75670 (default_libc_feholdexcept_setround): New.
75671 (default_libc_fesetenv, default_libc_feupdateenv): New.
75672 (libc_feholdexcept): Only define if undefined.
75673 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75674 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75675 (libc_feholdexcept_setroundl): Likewise.
75676 (libc_feholdexcept_setround_53bit): Likewise.
75677 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75678 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75679 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75680 (libc_feupdateenv_53bit): Likewise.
75681 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75682 (libc_feholdexcept): Convert from macro to inline function.
75683 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75684 (libc_fesetenv, libc_feupdateenv): Likewise.
75685
75686 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75687 not previously defined.
75688 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75689 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75690 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75691 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75692 * sysdeps/ieee754/flt-32/math_private.h: New file.
75693 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75694 math_private.h below SET_FLOAT_WORD.
75695 (__isnan, __isinf_ns, __finite): Remove.
75696 (__isnanf, __isinf_nsf, __finitef): Remove.
75697
75698 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75699
75700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75701
75702 2012-03-17 David S. Miller <davem@davemloft.net>
75703
75704 [BZ #6471]
75705 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75706 for 2.16.
75707
75708 2012-03-16 David S. Miller <davem@davemloft.net>
75709
75710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75711 warnings.
75712
75713 [BZ #6471]
75714 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75715 properly.
75716 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75717 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75718 sysdep_routines when subdir is sysvipc.
75719 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75720 __getshmlba helper.
75721
75722 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75723
75724 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75725
75726 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75727 [__LP64__].
75728
75729 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75730
75731 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75732 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75733 (__lround): Renamed to ...
75734 (__llround): This. Replace long int with long long int.
75735 Define lround functions as aliases of llround functions.
75736 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75737
75738 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75739
75740 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75741 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75742 adresses to uintptr_t. Replace "long int" and "unsigned long
75743 int" with "greg_t" on va_arg.
75744
75745 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75746
75747 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75748 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75749
75750 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75751 Move e_machine check before EI_CLASS check. Handle x32
75752 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75753 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75754 SKIP_EM_IA_64 and include
75755 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75756
75757 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75758 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75759 (add_system_dir): New macro.
75760
75761 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75762 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75763
75764 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75765
75766 [BZ #2551]
75767 [BZ #2552]
75768 [BZ #2553]
75769 [BZ #2554]
75770 [BZ #2562]
75771 [BZ #2563]
75772 [BZ #2565]
75773 [BZ #2566]
75774 [BZ #2576]
75775 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75776 (y0): Likewise.
75777 * math/w_j0f.c (j0f): Likewise.
75778 (y0f): Likewise.
75779 * math/w_j0l.c (__j0l): Likewise.
75780 (__y0l): Likewise.
75781 * math/w_j1.c (j1): Likewise.
75782 (y1): Likewise.
75783 * math/w_j1f.c (j1f): Likewise.
75784 (y1f): Likewise.
75785 * math/w_j1l.c (__j1l): Likewise.
75786 (__y1l): Likewise.
75787 * math/w_jn.c (jn): Likewise.
75788 (yn): Likewise.
75789 * math/w_jnf.c (jnf): Likewise.
75790 (ynf): Likewise.
75791 * math/w_jnl.c (__jnl): Likewise.
75792 (__ynl): Likewise.
75793 * math/libm-test.inc (j0_test): Add more tests.
75794 (j1_test): Likewise.
75795 (jn_test): Likewise. Add trailing semicolon to existing test.
75796 (y0_test): Likewise.
75797 (y1_test): Likewise.
75798 * sysdeps/i386/fpu/libm-test-ulps: Update.
75799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75800
75801 [BZ #13851]
75802 [BZ #13854]
75803 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75804 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75805 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75806 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75807 (__tanl): Set errno for infinite argument.
75808 * sysdeps/i386/fpu/mptan.c: Remove.
75809 * sysdeps/i386/fpu/s_tan.S: Likewise.
75810 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75811 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75812 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75813 * math/libm-test.inc (tan_test): Add more tests and enable more
75814 tests for double and long double.
75815 * sysdeps/i386/fpu/libm-test-ulps: Update.
75816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75817
75818 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75819
75820 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75821 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75822
75823 2012-03-16 Roland McGrath <roland@hack.frob.com>
75824
75825 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75826 * configure.in: Use it for both main tree and add-ons.
75827 * configure: Regenerated.
75828
75829 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75830
75831 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75832
75833 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75834
75835 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75836 in comment.
75837
75838 [BZ #13851]
75839 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75840 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75841 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75843 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75844 infinite argument.
75845 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75846 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75847 != 0 for prec == 2.
75848 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75849 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75850 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75851 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75852 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75853 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75854 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75855 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75856 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75857 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75858 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75859 * math/libm-test.inc (cos_test): Add more tests and enable more
75860 tests for long double.
75861 (sin_test): Likewise.
75862 (sincos_test): Likewise.
75863 * sysdeps/i386/fpu/libm-test-ulps: Update.
75864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75865
75866 2012-03-16 David S. Miller <davem@davemloft.net>
75867
75868 * sysdeps/sparc/fpu/math_private.h: New file.
75869
75870 2012-03-15 David S. Miller <davem@davemloft.net>
75871
75872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75873 file.
75874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75876 file.
75877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75883 sysdep routines.
75884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75885
75886 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75887 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75888
75889 * sysdeps/sparc/sparc-ifunc.h: New file.
75890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75891 sparc-ifunc.h
75892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75894 Likewise.
75895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75896 Likewise.
75897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75901 Likewise.
75902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75907 Likewise.
75908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75909 Likewise.
75910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75934
75935 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75936
75937 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75938 scaling.
75939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75940
75941 2012-03-15 Andreas Jaeger <aj@suse.de>
75942
75943 [BZ #13852]
75944 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75945 ieee754/flt-32 implementation for sin, cos and sincos.
75946 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75947 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75948 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75949 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75950 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75951 ieee754/flt-32 implementation for tan.
75952
75953 * math/libm-test.inc (cos_test): Enable some large input tests for
75954 float as well
75955 (sin_test): Likewise.
75956 (sincos_test): Likewise.
75957 (tan_test): Add tests for large input.
75958
75959 * sysdeps/i386/fpu/libm-test-ulps: Update.
75960
75961 2012-03-15 Andreas Jaeger <aj@suse.de>
75962
75963 [BZ #13658]
75964 * math/libm-test.inc (cos_test): Add more test cases.
75965 (sin_test): Likewise.
75966 (sincos_test): Likewise.
75967
75968 2012-03-15 Andreas Jaeger <aj@suse.de>
75969
75970 [BZ #13837]
75971 * math/libm-test.inc (cos_test): Add a test case for large input
75972 value.
75973 (sin_test): Likewise.
75974 (sincos_test): Likewise.
75975
75976 2012-03-15 Andreas Jaeger <aj@suse.de>
75977 Joseph Myers <joseph@codesourcery.com>
75978
75979 [BZ #13658]
75980 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75981 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75982 * sysdeps/i386/fpu/branred.c: Likewise.
75983 * sysdeps/i386/fpu/dosincos.c: Likewise.
75984 * sysdeps/i386/fpu/mpa.c: Likewise.
75985 * sysdeps/i386/fpu/s_cos.S: Likewise.
75986 * sysdeps/i386/fpu/s_sin.S: Likewise.
75987 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75988 * sysdeps/i386/fpu/sincos32.c: Likewise.
75989
75990 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75991 Define.
75992 (libc_feupdateenv_53bit): Define.
75993 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75994 Define.
75995 (libc_feupdateenv_53bit): Define.
75996
75997 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75998 53 bit (without extend i386 double precision).
75999
76000 * math/libm-test.inc (sincos_test): Add tests for large input.
76001 (sin): Likewise.
76002 (cos): Likewise.
76003
76004 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76005
76006 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76007
76008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76009
76010 2012-03-15 David S. Miller <davem@davemloft.net>
76011
76012 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76013 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76014 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76015 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76028 file.
76029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76031 file.
76032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76034 file.
76035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76037 file.
76038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76040 fmin/fmax sysdep routines.
76041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76042
76043 2012-03-14 David S. Miller <davem@davemloft.net>
76044
76045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76074 routines.
76075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76076 file.
76077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76079 file.
76080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76082 file.
76083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76085 file.
76086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76088 file.
76089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76091 file.
76092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76093 file.
76094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76095 file.
76096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76097 file.
76098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76099 New file.
76100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76101 file.
76102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76103 file.
76104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76106 file.
76107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76109 file.
76110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76112 file.
76113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76115 VIS3 routines.
76116
76117 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76118 New file.
76119
76120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76121
76122 * sysdeps/sparc/configure.in: New file.
76123 * sysdeps/sparc/configure: Generate.
76124 * configure.in (libc_cv_sparc_as_vis3): Substitute.
76125 * configure: Regenerate.
76126 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76127 * config.make.in (have-as-vis3): New.
76128 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76129 available use -Av9d instead of -Av9a.
76130 * sysdeps/sparc/sparc64/Makefile: Likewise.
76131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76133 New file.
76134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76135 file.
76136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76137 New file.
76138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76139 file.
76140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76145
76146 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76147 fzeros/fnegs to load 0x80000000 into a float register instead of
76148 using the stack.
76149 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76150
76151 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76152
76153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76154 bits/syscall.h.
76155 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76156 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76157 ($(inst_includedir)/bits/syscall.h): Remove rule.
76158 ($(objpfx)bits/syscall.d): Include instead of
76159 $(objpfx)syscall-list.d.
76160 (generated): Change syscall-list.h and syscall-list.d to
76161 bits/syscall.h and bits/syscall.d.
76162
76163 2012-03-14 Roland McGrath <roland@hack.frob.com>
76164
76165 [BZ #13846]
76166 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76167
76168 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76169
76170 [BZ #13841]
76171 * math/s_csqrt.c: Include <float.h>.
76172 (__csqrt): Scale large or subnormal inputs.
76173 * math/s_csqrtf.c: Likewise.
76174 * math/s_csqrtl.c: Likewise.
76175 * math/libm-test.inc (csqrt_test): Add more tests.
76176 * sysdeps/i386/fpu/libm-test-ulps: Update.
76177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76178
76179 [BZ #13840]
76180 * math/libm-test.inc (hypot_test): Add more tests.
76181
76182 2012-03-13 David S. Miller <davem@davemloft.net>
76183
76184 [BZ #13840]
76185 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76186 double-precision for the calculation instead of scaling.
76187
76188 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76189
76190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76191 manipulate bits before adding and subtracting TWO52[sx].
76192 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76193 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76194 Likewise.
76195 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76196
76197 2012-03-13 David S. Miller <davem@davemloft.net>
76198
76199 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76200 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76202 rtld-global-offsets.h
76203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76204
76205 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76206 large parameters.
76207
76208 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76209
76210 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76211 'err' in the ifdef scope in which it is actually used.
76212
76213 * nss/nss_db/db-init.c: Include string.h
76214
76215 2012-03-12 David S. Miller <davem@davemloft.net>
76216
76217 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76218 masking out of the most significant byte of random value used.
76219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76220 Fix coding style in previous change.
76221
76222 * sysdeps/unix/sysv/linux/kernel-features.h
76223 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76224 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76225 expression.
76226 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76227 later.
76228
76229 2012-03-11 David S. Miller <davem@davemloft.net>
76230
76231 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76232 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76234 for 'resultvar' otherwise things get truncated on 64-bit.
76235
76236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76237 Fix masking out of the most significant byte of random value used.
76238
76239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76240
76241 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76242
76243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76244
76245 2012-03-09 David S. Miller <davem@davemloft.net>
76246
76247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76248 variables with appropriate CPP guards.
76249 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76250 from the frame pointer, not the stack pointer. Correct layout
76251 comments. Fix test on resulting framesize and the management of
76252 the outregs buffer for pltexit. Preserve floating point return
76253 values across _dl_call_pltexit call.
76254 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76255 framesize and the management of the outregs buffer for pltexit.
76256 Preserve floating point return values across _dl_call_pltexit
76257 call.
76258 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76259 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76260 (la_sparc64_gnu_pltexit): New functions.
76261 (print_exit): Fix format string for return register value.
76262
76263 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76264
76265 * sunrpc/Makefile (others): Add rpcgen.
76266 ($(objpfx)rpcgen): Remove special build rule and dependency on
76267 libc.
76268 * sunrpc/rpcgen.c: New file.
76269
76270 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76271
76272 [BZ #13673]
76273 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76274 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76275 * sysdeps/i386/crti.S: Likewise.
76276 * sysdeps/i386/crtn.S: Likewise.
76277 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76278 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76279 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76280 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76281 * sysdeps/sh/crti.S: Likewise.
76282 * sysdeps/sh/crtn.S: Likewise.
76283 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76284
76285 [BZ #13673]
76286 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76287 with URL.
76288 * locale/programs/locfile-kw.gperf: Likewise.
76289 * locale/programs/charmap-kw.h: Regenerated.
76290 * locale/programs/locfile-kw.h: Likewise.
76291
76292 [BZ #13673]
76293 * intl/plural.y: Replace FSF snail mail address with URL.
76294 * intl/plural.c: Regenerated.
76295
76296 2012-03-09 Richard Henderson <rth@twiddle.net>
76297
76298 * include/math_private.h: Remove file.
76299 * math/math_private.h: Move file ...
76300 * sysdeps/generic/math_private.h: ... here.
76301
76302 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76303 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76304 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76305
76306 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76307 and <math_private.h>.
76308 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76309 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76310 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76311 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76312 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76313 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76314 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76323 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76338 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76339 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76340 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76342 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76344 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76345 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76346 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76348 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76350 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76351 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76354 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76355 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76356 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76357 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76358 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76359 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76360 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76361 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76362 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76364 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76366 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76367 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76369 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76372 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76373 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76374 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76375 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76378 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76389 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76395 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76396 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76399 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76402 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76403 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76404 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76405 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76408 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76409 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76410 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76411 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76412 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76413 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76414 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76415 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76416 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76418 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76419 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76420 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76422 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76423 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76429 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76431 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76432 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76434 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76435 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76436 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76437 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76438 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76439 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76441 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76442 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76444 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76446 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76447 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76449 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76450 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76451 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76452 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76453 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76454 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76455 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76456 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76457 * sysdeps/ieee754/k_standard.c: Likewise.
76458 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76459 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76460 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76461 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76462 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76463 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76464 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76465 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76470 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76471 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76472 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76473 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76474 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76475 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76476 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76477 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76478 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76479 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76481 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76482 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76483 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76492 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76495 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76496 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76498 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76499 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76500 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76501 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76502 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76503 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76504 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76506 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76508 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76509 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76510 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76511 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76512 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76513 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76514 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76515 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76516 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76517 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76518 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76520 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76521 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76524 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76525 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76530 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76534 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76535 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76537 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76538 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76539 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76540 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76545 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76549 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76550 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76551 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76555 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76556 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76557 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76560 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76561 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76565 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76566 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76567 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76569 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76570 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76572 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76574 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76577 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76579 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76580 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76581 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76583 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76591 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76592 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76594 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76595 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76596 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76597 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76598 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76600 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76601 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76602 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76605 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76606 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76607 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76608 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76609 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76610 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76611 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76612 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76613 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76617 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76618 * sysdeps/ieee754/s_lib_version.c: Likewise.
76619 * sysdeps/ieee754/s_matherr.c: Likewise.
76620 * sysdeps/ieee754/s_signgam.c: Likewise.
76621 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76624 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76625 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76627 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76628 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76629 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76630 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76631 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76632 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76633 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76634 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76635 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76636 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76638 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76642
76643 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76644
76645 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76646 * sunrpc/rpc_main.c: Likewise.
76647 * sunrpc/rpc_svcout.c: Likewise.
76648
76649 2012-03-09 David S. Miller <davem@davemloft.net>
76650
76651 * include/math_private.h: New file.
76652
76653 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76654
76655 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76656 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76657 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76658 from <bits/socket_type.h>.
76659 (enum __socket_type): Don't define here.
76660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76662 bits/socket_type.h.
76663
76664 [BZ #13566]
76665 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76666 checking __USE_GNU.
76667
76668 * Makerules ($(inst_includedir)/%.h): New rule.
76669 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76670 (install-others): Remove variable setting.
76671 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76672
76673 2012-03-08 Richard Henderson <rth@twiddle.net>
76674
76675 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76676 from macro to inline function; merge with the
76677 !__LIBC_INTERNAL_MATH_INLINES version.
76678 (__ieee754_sqrtf): Likewise.
76679
76680 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76681 to inline function.
76682 (__rintf, __floor, __floorf): Likewise.
76683
76684 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76685 macro to inline function.
76686 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76687
76688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76689 not <math/math_private.h>.
76690
76691 2012-03-08 David S. Miller <davem@davemloft.net>
76692
76693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76694 copyright year.
76695 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76696
76697 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76698
76699 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76700 normalization.
76701 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76702 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76703
76704 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76705
76706 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76707 be defined individually, they must be defined as a block. Define
76708 S for printing a string instead of hidint the different by using a
76709 macro for adding the 'l'.
76710 * stdio-common/tst-fphex-wide.c: Adjust.
76711
76712 2012-03-07 Marek Polacek <polacek@redhat.com>
76713
76714 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76715
76716 2012-03-08 Marek Polacek <polacek@redhat.com>
76717
76718 [BZ #13806]
76719 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76720 * stdio-common/tst-fphex.c: Define a few macros to make the
76721 test reusable. Use them.
76722 * stdio-common/tst-fphex-wide.c: New file.
76723
76724 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76725
76726 [BZ #6911]
76727 * manual/macros.texi (gnusystems): New macro.
76728 (nongnusystems): Likewise.
76729 (gnulinuxhurdsystems): Likewise.
76730 (gnuhurdsystems): Likewise..
76731 (gnulinuxsystems): Likewise.
76732 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76733 variants of the GNU system, not "GNU system".
76734 * manual/conf.texi: Likewise.
76735 * manual/errno.texi: Likewise. Update example of errno macro
76736 expansion.
76737 * manual/filesys.texi: Likewise.
76738 (getumask): Document as specific to GNU/Hurd.
76739 * manual/install.texi: Likewise. Reword some references to
76740 GNU/Linux.
76741 * manual/intro.texi: Likewise.
76742 * manual/io.texi: Likewise.
76743 (File Name Portability): Detail which constraints are inapplicable
76744 to all GNU systems and which are only inapplicable to GNU/Hurd.
76745 * manual/job.texi: Likewise.
76746 * manual/llio.texi: Likewise.
76747 (O_NOCTTY): Document as present on GNU/Linux.
76748 * manual/maint.texi: Likewise.
76749 * manual/memory.texi: Likewise.
76750 * manual/pattern.texi: Likewise.
76751 * manual/pipe.texi: Likewise.
76752 * manual/process.texi: Likewise.
76753 * manual/resource.texi: Likewise.
76754 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76755 child on GNU/Hurd.
76756 * manual/setjmp.texi: Likewise.
76757 * manual/signal.texi: Likewise.
76758 * manual/startup.texi: Likewise.
76759 * manual/stdio.texi: Likewise.
76760 * manual/terminal.texi: Likewise.
76761 (ONLCR): Document as POSIX.
76762 (OXTABS): Document availability on GNU/Linux as XTABS.
76763 (ONOEOT): Document availability separately from other bits.
76764 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76765 * manual/time.texi: Likewise.
76766 * manual/users.texi: Likewise.
76767 * INSTALL: Regenerated.
76768 * sysdeps/gnu/errlist.c: Regenerated.
76769
76770 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76771 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76772 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76773 puts.
76774 * configure: Regenerated.
76775
76776 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76777
76778 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76779 default includes instead of AC_HEADER_CHECK.
76780 * sysdeps/i386/configure: Regenerated.
76781
76782 [BZ #10716]
76783 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76784 * math/s_cacoshf.c (__cacoshf): Likewise.
76785 * math/s_cacoshl.c (__cacoshl): Likewise.
76786 * math/s_casinh.c (__casinh): Set signs of result from argument.
76787 * math/s_casinhf.c (__casinhf): Likewise.
76788 * math/s_casinhl.c (__casinhl): Likewise.
76789 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76790 (casinh_test): Add more tests.
76791 * sysdeps/i386/fpu/libm-test-ulps: Update.
76792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76793
76794 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76795
76796 * po/zh_TW.po: Update from translation team.
76797
76798 * login/Makefile (distribute): Remove variable.
76799 * catgets/Makefile: Likewise.
76800 * mach/Makefile: Likewise.
76801 * malloc/Makefile: Likewise.
76802 * misc/Makefile: Likewise.
76803 * iconv/Makefile: Likewise.
76804 * nscd/Makefile: Likewise.
76805 * hurd/Makefile: Likewise.
76806 * manual/Makefile: Likewise.
76807 * locale/Makefile: Likewise.
76808 * intl/Makefile: Likewise.
76809 * conform/Makefile: Likewise.
76810 * nss/Makefile: Likewise.
76811 * time/Makefile: Likewise.
76812 * soft-fp/Makefile: Likewise.
76813 * dirent/Makefile: Likewise.
76814 * gmon/Makefile: Likewise.
76815 * po/Makefile: Likewise.
76816 * rt/Makefile: Likewise.
76817 * socket/Makefile: Likewise.
76818 * math/Makefile: Likewise.
76819 * signal/Makefile: Likewise.
76820 * debug/Makefile: Likewise.
76821 * elf/Makefile: Likewise.
76822 * timezone/Makefile: Likewise.
76823 * stdlib/Makefile: Likewise.
76824 * iconvdata/Makefile: Likewise.
76825 * sunrpc/Makefile: Likewise.
76826 * io/Makefile: Likewise.
76827 * argp/Makefile: Likewise.
76828 * inet/Makefile: Likewise.
76829 * hesiod/Makefile: Likewise.
76830 * grp/Makefile: Likewise.
76831 * csu/Makefile: Likewise.
76832 * wctype/Makefile: Likewise.
76833 * crypt/Makefile: Likewise.
76834 * libio/Makefile: Likewise.
76835 * string/Makefile: Likewise.
76836 * nis/Makefile: Likewise.
76837 * resolv/Makefile: Likewise.
76838 * stdio-common/Makefile: Likewise.
76839 * wcsmbs/Makefile: Likewise.
76840 * dlfcn/Makefile: Likewise.
76841 * posix/Makefile: Likewise.
76842
76843 [BZ #6959]
76844 * timezone/Makefile: Don't install timezone files, just the programs
76845 and scripts.
76846
76847 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76848
76849 * nss/databases.def: Add missing gshadow entry.
76850
76851 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76852
76853 2012-03-06 Marek Polacek <polacek@redhat.com>
76854
76855 [BZ #13726]
76856 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76857 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76858 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76859 * stdio-common/tst-long-dbl-fphex.c: New file.
76860
76861 2012-03-06 David S. Miller <davem@davemloft.net>
76862
76863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76864 (set_obp_int): New function.
76865 (get_obp_int): New function.
76866 (__get_clockfreq_via_dev_openprom): Likewise.
76867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76868 Avoid unused variable warnings on 'val' and use builtin_expect.
76869 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76870 __builtin_expect.
76871 (INLINE_CLONE_SYSCALL): Likewise.
76872
76873 2012-03-05 David S. Miller <davem@davemloft.net>
76874
76875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76876
76877 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76878
76879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76880
76881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76882 only for |x| >= 40.
76883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76884
76885 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76886
76887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76888 Replace gettimeofday with __vdso_gettimeofday.
76889
76890 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76891 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76892 __vdso_clock_gettime and __vdso_getcpu.
76893
76894 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76895 time with __vdso_time.
76896
76897 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76898
76899 * manual/lang.texi (size_t): Note types to which size_t may be
76900 equivalent with the GNU C Library, but do not describe when
76901 differences between them are significant.
76902
76903 2012-03-05 Andreas Jaeger <aj@suse.de>
76904
76905 * sysdeps/i386/fpu/libm-test-ulps: Update.
76906
76907 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76908
76909 [BZ #3976]
76910 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76911 (__ieee754_pow): Save and restore rounding mode and use
76912 round-to-nearest for main computations.
76913 * math/libm-test.inc (pow_test_tonearest): New function.
76914 (pow_test_towardzero): Likewise.
76915 (pow_test_downward): Likewise.
76916 (pow_test_upward): Likewise.
76917 (main): Call the new functions.
76918 * sysdeps/i386/fpu/libm-test-ulps: Update.
76919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76920
76921 [BZ #3976]
76922 * math/libm-test.inc (cosh_test_tonearest): New function.
76923 (cosh_test_towardzero): Likewise.
76924 (cosh_test_downward): Likewise.
76925 (cosh_test_upward): Likewise.
76926 (sinh_test_tonearest): Likewise.
76927 (sinh_test_towardzero): Likewise.
76928 (sinh_test_downward): Likewise.
76929 (sinh_test_upward): Likewise.
76930 (main): Call the new functions.
76931 * sysdeps/i386/fpu/libm-test-ulps: Update.
76932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76933
76934 2012-03-05 Tom de Vries <tom@codesourcery.com>
76935
76936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76937 default stack guard is set in last bytes.
76938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76939
76940 2012-03-05 Kees Cook <keescook@chromium.org>
76941
76942 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76943
76944 [BZ #13656]
76945 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76946 possibly allocate from heap instead of stack.
76947 * stdio-common/bug-vfprintf-nargs.c: New file.
76948 * stdio-common/Makefile (tests): Add nargs overflow test.
76949
76950 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76951
76952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76953
76954 2012-03-03 Marek Polacek <polacek@redhat.com>
76955
76956 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76957 * math/math_private.h: Likewise.
76958 * stdlib/tst-strtod.c: Likewise.
76959 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76960 * sysdeps/x86_64/bits/atomic.h: Likewise.
76961
76962 2012-03-02 David S. Miller <davem@davemloft.net>
76963
76964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76968 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76969 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76970 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76971 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76972
76973 2012-03-02 Roland McGrath <roland@hack.frob.com>
76974
76975 [BZ #13792]
76976 * manual/examples/README: New file, says the example source files
76977 can be used under GPL>=2.
76978 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76979 line containing just "*/".
76980 * manual/examples/add.c: Add copyright header (GPL>=2).
76981 * manual/examples/argp-ex1.c: Likewise.
76982 * manual/examples/argp-ex2.c: Likewise.
76983 * manual/examples/argp-ex3.c: Likewise.
76984 * manual/examples/argp-ex4.c: Likewise.
76985 * manual/examples/atexit.c: Likewise.
76986 * manual/examples/db.c: Likewise.
76987 * manual/examples/dir.c: Likewise.
76988 * manual/examples/dir2.c: Likewise.
76989 * manual/examples/execinfo.c: Likewise.
76990 * manual/examples/filecli.c: Likewise.
76991 * manual/examples/filesrv.c: Likewise.
76992 * manual/examples/fmtmsgexpl.c: Likewise.
76993 * manual/examples/genpass.c: Likewise.
76994 * manual/examples/inetcli.c: Likewise.
76995 * manual/examples/inetsrv.c: Likewise.
76996 * manual/examples/isockad.c: Likewise.
76997 * manual/examples/longopt.c: Likewise.
76998 * manual/examples/memopen.c: Likewise.
76999 * manual/examples/memstrm.c: Likewise.
77000 * manual/examples/mkfsock.c: Likewise.
77001 * manual/examples/mkisock.c: Likewise.
77002 * manual/examples/mygetpass.c: Likewise.
77003 * manual/examples/pipe.c: Likewise.
77004 * manual/examples/popen.c: Likewise.
77005 * manual/examples/rprintf.c: Likewise.
77006 * manual/examples/search.c: Likewise.
77007 * manual/examples/select.c: Likewise.
77008 * manual/examples/setjmp.c: Likewise.
77009 * manual/examples/sigh1.c: Likewise.
77010 * manual/examples/sigusr.c: Likewise.
77011 * manual/examples/stpcpy.c: Likewise.
77012 * manual/examples/strdupa.c: Likewise.
77013 * manual/examples/strftim.c: Likewise.
77014 * manual/examples/strncat.c: Likewise.
77015 * manual/examples/subopt.c: Likewise.
77016 * manual/examples/swapcontext.c: Likewise.
77017 * manual/examples/termios.c: Likewise.
77018 * manual/examples/testopt.c: Likewise.
77019 * manual/examples/testpass.c: Likewise.
77020 * manual/examples/timeval_subtract.c: Likewise.
77021
77022 [BZ #13792]
77023 * manual/time.texi (Elapsed Time): Move timeval_subtract example
77024 function to ...
77025 * manual/timeval_subtract.c.texi: ... here, new file.
77026
77027 2012-03-02 David S. Miller <davem@davemloft.net>
77028
77029 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77030
77031 2012-03-02 Joseph Myers <joseph@codesourcery.com>
77032
77033 [BZ #3976]
77034 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77035 (__sin): Save and restore rounding mode and use round-to-nearest
77036 for all computations.
77037 (__cos): Save and restore rounding mode and use round-to-nearest
77038 for all computations.
77039 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77040 <fenv.h>.
77041 (tan): Save and restore rounding mode and use round-to-nearest for
77042 all computations.
77043 * math/libm-test.inc (cos_test_tonearest): New function.
77044 (cos_test_towardzero): Likewise.
77045 (cos_test_downward): Likewise.
77046 (cos_test_upward): Likewise.
77047 (sin_test_tonearest): Likewise.
77048 (sin_test_towardzero): Likewise.
77049 (sin_test_downward): Likewise.
77050 (sin_test_upward): Likewise.
77051 (tan_test_tonearest): Likewise.
77052 (tan_test_towardzero): Likewise.
77053 (tan_test_downward): Likewise.
77054 (tan_test_upward): Likewise.
77055 (main): Call the new functions.
77056 * sysdeps/i386/fpu/libm-test-ulps: Update.
77057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77058
77059 [BZ #10135]
77060 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77061 small n, then large n, before computing and testing k+n.
77062 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77064 Likewise.
77065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77066 Likewise.
77067 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77068 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77069 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77070 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77075 * math/libm-test.inc (scalbn_test): Add more tests.
77076 (scalbln_test): Likewise.
77077
77078 * manual/filesys.texi (mode_t): Describe constraints on size and
77079 signedness, not exact equivalence to a particular type.
77080 (ino_t): Likewise.
77081 (ino64_t): Likewise.
77082 (dev_t): Likewise.
77083 (nlink_t): Likewise.
77084 (blkcnt_t): Likewise.
77085 (blkcnt64_t): Likewise.
77086 * manual/llio.texi (off_t): Likewise.
77087
77088 [BZ #3976]
77089 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77090 (__ieee754_exp): Save and restore rounding mode and use
77091 round-to-nearest for all computations.
77092 * math/libm-test.inc (exp_test_tonearest): New function.
77093 (exp_test_towardzero): Likewise.
77094 (exp_test_downward): Likewise.
77095 (exp_test_upward): Likewise.
77096 (main): Call the new functions.
77097 * sysdeps/i386/fpu/libm-test-ulps: Update.
77098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77099
77100 2012-03-01 Chris Demetriou <cgd@google.com>
77101
77102 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77103 have predictable order.
77104
77105 2012-03-01 David S. Miller <davem@davemloft.net>
77106
77107 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77108
77109 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77110 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77111 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77112 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77113
77114 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77115 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77116 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77118 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77119 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77120 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77121 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77122 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77123
77124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77125
77126 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77127 * sysdeps/sparc/fpu/libm-test-ulps: to here.
77128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77129
77130 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77132 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77133 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77134 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77135 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77137 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77138 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77144 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77146 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77147 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77148 * sysdeps/sparc/elf/configure: Regenerated.
77149
77150 2012-03-01 Joseph Myers <joseph@codesourcery.com>
77151
77152 * configure.in (AS, LD): Require binutils 2.20 or later.
77153 * configure: Regenerated.
77154 * manual/install.texi (Tools for Compilation): Give binutils 2.20
77155 as required minimum version.
77156 * INSTALL: Regenerated.
77157
77158 [BZ #2541]
77159 [BZ #4108]
77160 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77161 before squaring exponent.
77162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77163 bottom long double and 27 bits of top long double before squaring
77164 exponent.
77165 * math/libm-test.inc (erfc_test): Add more tests.
77166 * sysdeps/i386/fpu/libm-test-ulps: Update.
77167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77169
77170 2012-03-01 Kai Tietz <ktietz@redhat.com>
77171
77172 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77173 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77174 containing bit-fields.
77175 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77176 * soft-fp/single.h (_FP_UNION_S): Likewise.
77177 * soft-fp/double.h (_FP_UNION_D): Likewise.
77178
77179 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77180
77181 [BZ #13786]
77182 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77183 not include ../strcmp.S.
77184 [USE_AS_STRNCASECMP_L]: Likewise.
77185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77186 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77187 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77188 (__strncasecmp_l_ia32): Define as alias to
77189 __strncasecmp_l_nonascii.
77190
77191 [BZ #5794]
77192 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77193 * sysdeps/i386/fpu/libm-test-ulps: Update.
77194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77195
77196 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77198
77199 2012-02-29 Jeff Law <law@redhat.com>
77200
77201 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77202 out of bounds read.
77203
77204 2012-02-29 Marek Polacek <polacek@redhat.com>
77205
77206 [BZ #13706]
77207 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77208 * elf/Makefile: Add rules to run tst-unused-dep.out.
77209
77210 2012-02-28 David S. Miller <davem@davemloft.net>
77211
77212 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77213 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77214 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77218
77219 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77220
77221 * math/libm-test.inc (llround_test): Move one test from
77222 lround_test. Use TEST_f_L in moved test.
77223 (lround_test): Move misplaced test to llround_test. Add testcase
77224 from bug 2561.
77225
77226 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77227
77228 * sysdeps/x86_64/fpu/e_expf.S: New file.
77229 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77230
77231 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77232
77233 [BZ #13637]
77234 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77235 of remain_len that may cause incomplete multi-byte character and
77236 false match.
77237 * posix/bug-regex33.c: New file.
77238 * posix/Makefile (tests): Add bug-regex33.
77239
77240 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77241
77242 * manual/macros.texi: New file.
77243 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77244 * manual/libc.texinfo: Include macros.texi.
77245 * manual/creatute.texi: Likewise.
77246 * manual/install.texi: Likewise.
77247 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77248 @glibcadj{} in references to the GNU C Library.
77249 * manual/charset.texi: Likewise.
77250 * manual/conf.texi: Likewise.
77251 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77252 when not using those macros.
77253 * manual/creature.texi: Likewise.
77254 * manual/crypt.texi: Likewise.
77255 * manual/errno.texi: Likewise.
77256 * manual/filesys.texi: Likewise.
77257 * manual/header.texi: Likewise.
77258 * manual/install.texi: Likewise.
77259 * manual/intro.texi: Likewise.
77260 * manual/io.texi: Likewise.
77261 * manual/job.texi: Likewise.
77262 * manual/lang.texi: Likewise.
77263 * manual/libc.texiinfo: Likewise.
77264 * manual/llio.texi: Likewise.
77265 * manual/locale.texi: Likewise.
77266 * manual/maint.texi: Likewise.
77267 * manual/math.texi: Likewise.
77268 * manual/memory.texi: Likewise.
77269 * manual/message.texi: Likewise.
77270 * manual/nss.texi: Likewise.
77271 * manual/pattern.texi: Likewise.
77272 * manual/process.texi: Likewise.
77273 * manual/resource.texi: Likewise.
77274 * manual/search.texi: Likewise.
77275 * manual/setjmp.texi: Likewise.
77276 * manual/signal.texi: Likewise.
77277 * manual/socket.texi: Likewise.
77278 * manual/startup.texi: Likewise.
77279 * manual/stdio.texi: Likewise.
77280 * manual/string.texi: Likewise.
77281 * manual/sysinfo.texi: Likewise.
77282 * manual/syslog.texi: Likewise.
77283 * manual/terminal.texi: Likewise.
77284 * manual/time.texi: Likewise.
77285 * manual/users.texi: Likewise.
77286 * INSTALL: Regenerated.
77287 * NOTES: Regenerated.
77288 * sysdeps/gnu/errlist.c: Regenerated.
77289
77290 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77291
77292 * include/dirent.h: Include <dirstream.h> before
77293 <dirent/dirent.h>.
77294
77295 2012-02-28 David S. Miller <davem@davemloft.net>
77296
77297 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77298 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77299 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77301
77302 2012-02-27 David S. Miller <davem@davemloft.net>
77303
77304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77306 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77307 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77308
77309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77310 frame pointer instead of stack pointer relative arg slot.
77311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77312 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77313 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77314
77315 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77316
77317 [BZ #3992]
77318 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77319
77320 2012-02-27 David S. Miller <davem@davemloft.net>
77321
77322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77328 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77329 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77330
77331 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77332
77333 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77334 later. Allow versions 5-9.
77335 * configure: Regenerated.
77336 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77337 required minimum version and 4.6 as recommended version. Do not
77338 mention bugs in GCC 2.7 and 2.8.
77339 * INSTALL: Regenerated.
77340
77341 2012-02-27 David S. Miller <davem@davemloft.net>
77342
77343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77347 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77348 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77349 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77350 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77351
77352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77353 manipulate bits before adding and subtracting TWO112[sx].
77354 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77355
77356 2012-02-27 Roland McGrath <roland@hack.frob.com>
77357
77358 [BZ #13775]
77359 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77360 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77361 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77362 being in POSIX, because they are in 1003.1-2008.
77363
77364 * rt/tst-aio.c: Include <fcntl.h>.
77365 * rt/tst-aio7.c: Likewise.
77366 * rt/tst-aio64.c: Likewise.
77367
77368 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77369
77370 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77371
77372 * manual/install.texi (--with-headers): Describe headers as
77373 interface headers, not private headers.
77374 (Specific advice for GNU/Linux systems): Describe use of headers
77375 from "make headers_install", not private headers from older
77376 kernels.
77377 * INSTALL: Regenerated.
77378 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77379 Change to 2.6.19.
77380 * sysdeps/unix/sysv/linux/configure: Regenerated.
77381
77382 * manual/llio.texi (fclean): Remove documentation.
77383
77384 * manual/Makefile (libc-texi-generated): New variable. Include
77385 version.texi.
77386 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77387 $(libc-texi-generated), not duplicated list of files.
77388 (version.texi, stamp-version): New rules.
77389 (realclean): Remove $(libc-texi-generated), not individual files
77390 from that list. Do not remove dir-add.texinfo.
77391 * manual/libc.texinfo: Comment out uses of edition numbers and
77392 references to printed manual. Remove last-updated dates.
77393 (EDITION): Comment out.
77394 (ISBN): Likewise.
77395 (VERSION, UPDATED): Remove.
77396 (version.texi): Include.
77397
77398 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77399
77400 * sysdeps/posix/spawni.c: Include <signal.h>.
77401 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77402 * sysdeps/pthread/aio_fsync.c: Likewise.
77403
77404 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77405
77406 * conform/Makefile (tests): Run only when not cross-compiling and
77407 when fast-check is not defined.
77408
77409 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77410 * conform/data/limits.h-data: Fixes for POSIX2008.
77411 * conform/run-conformtest.sh: Run all tests.
77412 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77413 headers.
77414 * include/bits/dlfcn.h: Likewise.
77415 * include/langinfo.h: Likewise.
77416 * include/monetary.h: Likewise.
77417 * include/sys/poll.h: Likewise.
77418
77419 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77420 for __USE_GNU.
77421 * posix/spawn.h: Define __need_sigset_t.
77422 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77423 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77424 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77425 to get sigevent_t only.
77426 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77427 only for __USE_GNU.
77428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77429 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77430 process_vm_writev only for __USE_GNU.
77431 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77432
77433 * conform/Makefile: For now ignore errors from run-conformtest.
77434 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77435 POSIX to avoid namespace pollution. Don't prepend headers.
77436 * conform/data/aio.h-data: Fixes for POSIX testing.
77437 * conform/data/fcntl.h-data: Likewise.
77438 * conform/data/glob.h-data: Likewise.
77439 * conform/data/grp.h-data: Likewise.
77440 * conform/data/pthread.h-data: Likewise.
77441 * conform/data/pwd.h-data: Likewise.
77442 * conform/data/signal.h-data: Likewise.
77443 * conform/data/spawn.h-data: Likewise.
77444 * conform/data/stdio.h-data: Likewise.
77445 * conform/data/stdlib.h-data: Likewise.
77446 * conform/data/stropts.h-data: Likewise.
77447 * conform/data/sys/mman.h-data: Likewise.
77448 * conform/data/sys/stat.h-data: Likewise.
77449 * conform/data/sys/types.h-data: Likewise.
77450 * conform/data/sys/wait.h-data: Likewise.
77451 * conform/data/time.h-data: Likewise.
77452 * conform/data/unistd.h-data: Likewise.
77453 * conform/data/utime.h-data: Likewise.
77454
77455 * io/sys/stat.h: fchmod was always in POSIX.
77456 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77457 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77458 * rt/aio.h: Define __need_timespec before including <time.h>.
77459 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77460 struct. Add forward declaration of pthread_attr_t and use it in
77461 sigevent.
77462 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77464 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77465 always remove CLK_TCK definition.
77466
77467 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77468
77469 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77470
77471 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77472
77473 * conform/run-conformtest.sh: New file.
77474 * conform/Makefile: Run run-conformtest for tests.
77475 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77476 support.
77477
77478 * conform/data/uchar.h-data: New file.
77479 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77480 * conform/data/arpa/inet.h-data: Likewise.
77481 * conform/data/assert.h-data: Likewise.
77482 * conform/data/complex.h-data: Likewise.
77483 * conform/data/cpio.h-data: Likewise.
77484 * conform/data/ctype.h-data: Likewise.
77485 * conform/data/dirent.h-data: Likewise.
77486 * conform/data/dlfcn.h-data: Likewise.
77487 * conform/data/errno.h-data: Likewise.
77488 * conform/data/fcntl.h-data: Likewise.
77489 * conform/data/float.h-data: Likewise.
77490 * conform/data/fmtmsg.h-data: Likewise.
77491 * conform/data/fnmatch.h-data: Likewise.
77492 * conform/data/ftw.h-data: Likewise.
77493 * conform/data/glob.h-data: Likewise.
77494 * conform/data/grp.h-data: Likewise.
77495 * conform/data/iconv.h-data: Likewise.
77496 * conform/data/inttypes.h-data: Likewise.
77497 * conform/data/langinfo.h-data: Likewise.
77498 * conform/data/libgen.h-data: Likewise.
77499 * conform/data/limits.h-data: Likewise.
77500 * conform/data/locale.h-data: Likewise.
77501 * conform/data/math.h-data: Likewise.
77502 * conform/data/monetary.h-data: Likewise.
77503 * conform/data/mqueue.h-data: Likewise.
77504 * conform/data/ndbm.h-data: Likewise.
77505 * conform/data/net/if.h-data: Likewise.
77506 * conform/data/netdb.h-data: Likewise.
77507 * conform/data/netinet/in.h-data: Likewise.
77508 * conform/data/nl_types.h-data: Likewise.
77509 * conform/data/poll.h-data: Likewise.
77510 * conform/data/pthread.h-data: Likewise.
77511 * conform/data/pwd.h-data: Likewise.
77512 * conform/data/regex.h-data: Likewise.
77513 * conform/data/sched.h-data: Likewise.
77514 * conform/data/search.h-data: Likewise.
77515 * conform/data/semaphore.h-data: Likewise.
77516 * conform/data/setjmp.h-data: Likewise.
77517 * conform/data/signal.h-data: Likewise.
77518 * conform/data/spawn.h-data: Likewise.
77519 * conform/data/stdarg.h-data: Likewise.
77520 * conform/data/stdio.h-data: Likewise.
77521 * conform/data/stdlib.h-data: Likewise.
77522 * conform/data/string.h-data: Likewise.
77523 * conform/data/strings.h-data: Likewise.
77524 * conform/data/stropts.h-data: Likewise.
77525 * conform/data/sys/ipc.h-data: Likewise.
77526 * conform/data/sys/mman.h-data: Likewise.
77527 * conform/data/sys/msg.h-data: Likewise.
77528 * conform/data/sys/resource.h-data: Likewise.
77529 * conform/data/sys/select.h-data: Likewise.
77530 * conform/data/sys/sem.h-data: Likewise.
77531 * conform/data/sys/shm.h-data: Likewise.
77532 * conform/data/sys/socket.h-data: Likewise.
77533 * conform/data/sys/stat.h-data: Likewise.
77534 * conform/data/sys/statvfs.h-data: Likewise.
77535 * conform/data/sys/time.h-data: Likewise.
77536 * conform/data/sys/timeb.h-data: Likewise.
77537 * conform/data/sys/times.h-data: Likewise.
77538 * conform/data/sys/types.h-data: Likewise.
77539 * conform/data/sys/uio.h-data: Likewise.
77540 * conform/data/sys/un.h-data: Likewise.
77541 * conform/data/sys/utsname.h-data: Likewise.
77542 * conform/data/sys/wait.h-data: Likewise.
77543 * conform/data/syslog.h-data: Likewise.
77544 * conform/data/tar.h-data: Likewise.
77545 * conform/data/termios.h-data: Likewise.
77546 * conform/data/utime.h-data: Likewise.
77547 * conform/data/utmpx.h-data: Likewise.
77548 * conform/data/varargs.h-data: Likewise.
77549 * conform/data/wchar.h-data: Likewise.
77550 * conform/data/wctype.h-data: Likewise.
77551 * conform/data/wordexp.h-data: Likewise.
77552
77553 * include/stropts.h: New file.
77554 * include/uchar.h: New file.
77555 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77556 * include/assert.h: Likewise.
77557 * include/ctype.h: Likewise.
77558 * include/dirent.h: Likewise.
77559 * include/dlfcn.h: Likewise.
77560 * include/fcntl.h: Likewise.
77561 * include/fnmatch.h: Likewise.
77562 * include/glob.h: Likewise.
77563 * include/grp.h: Likewise.
77564 * include/libio.h: Likewise.
77565 * include/locale.h: Likewise.
77566 * include/math.h: Likewise.
77567 * include/net/if.h: Likewise.
77568 * include/netdb.h: Likewise.
77569 * include/netinet/in.h: Likewise.
77570 * include/pthread.h: Likewise.
77571 * include/pwd.h: Likewise.
77572 * include/regex.h: Likewise.
77573 * include/sched.h: Likewise.
77574 * include/search.h: Likewise.
77575 * include/setjmp.h: Likewise.
77576 * include/signal.h: Likewise.
77577 * include/stdio.h: Likewise.
77578 * include/stdlib.h: Likewise.
77579 * include/string.h: Likewise.
77580 * include/sys/cdefs.h: Likewise.
77581 * include/sys/mman.h: Likewise.
77582 * include/sys/msg.h: Likewise.
77583 * include/sys/resource.h: Likewise.
77584 * include/sys/select.h: Likewise.
77585 * include/sys/socket.h: Likewise.
77586 * include/sys/stat.h: Likewise.
77587 * include/sys/statvfs.h: Likewise.
77588 * include/sys/time.h: Likewise.
77589 * include/sys/times.h: Likewise.
77590 * include/sys/uio.h: Likewise.
77591 * include/sys/utsname.h: Likewise.
77592 * include/sys/wait.h: Likewise.
77593 * include/termios.h: Likewise.
77594 * include/time.h: Likewise.
77595 * include/ulimit.h: Likewise.
77596 * include/unistd.h: Likewise.
77597 * include/utime.h: Likewise.
77598 * include/wchar.h: Likewise.
77599 * include/wctype.h: Likewise.
77600 * include/wordexp.h: Likewise.
77601
77602 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77603
77604 * time/time.h: TIME_UTC must be a macro.
77605 Make timespec_get available for ISO C11 only as well.
77606
77607 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77608
77609 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77610 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77611
77612 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77613
77614 * configure.in: Use -o not -a in test for unsupported multi-arch.
77615
77616 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77617
77618 * manual/texinfo.tex: Update to version 2012-01-19.16.
77619
77620 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77621
77622 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77623
77624 2012-02-24 Roland McGrath <roland@hack.frob.com>
77625
77626 [BZ #13738]
77627 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77628 * manual/fdl-1.3.texi: New file.
77629 * manual/fdl-1.1.texi: File removed.
77630
77631 [BZ #13738]
77632 * manual/libc.texinfo (FDL_VERSION): New @set.
77633 Use it for mention of FDL in cover text.
77634 (Documentation License): Use it in @include file name.
77635
77636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77637 Roland McGrath <roland@hack.frob.com>
77638
77639 [BZ #5461]
77640 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77641 (not LONG_LONG_MAX and LONG_LONG_MIN.
77642 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77643 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77644 name.
77645 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77646
77647 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77648
77649 [BZ #2547]
77650 [BZ #11365]
77651 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77652 manipulate bits before adding and subtracting TWO23[sx].
77653 * math/libm-test.inc (nearbyint_test): Add more tests.
77654
77655 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77656
77657 [BZ #2548]
77658 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77659 bits before adding and subtracting TWO23[sx].
77660 * math/libm-test.inc (rint_test): Add more tests.
77661 (rint_test_tonearest): Likewise.
77662 (rint_test_towardzero): Likewise.
77663 (rint_test_downward): Likewise.
77664 (rint_test_upward: Likewise.
77665
77666 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77667
77668 [BZ #10110]
77669 * include/stdc-predef.h: New file. Extracted from features.h.
77670 * include/features.h: Include stdc-predef.h.
77671 * Makefile (headers): Add stdc-predef.h.
77672 * CONFORMANCE (Compiler limitations): Update.
77673
77674 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77675
77676 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77677
77678 2012-02-21 David S. Miller <davem@davemloft.net>
77679
77680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77682
77683 2012-02-20 David S. Miller <davem@davemloft.net>
77684
77685 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77686 using a normal save/restore sequence, rather than allocating a
77687 dummy stack frame just to store a frame pointer and restore.
77688 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77689
77690 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77691
77692 * manual/install.texi: Fix stray word in line-wrapped comment.
77693
77694 2012-02-20 David S. Miller <davem@davemloft.net>
77695
77696 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77697 both binutils and gcc support GOTDATA.
77698
77699 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77700 "rd %pc" in the PIC register setup sequences.
77701
77702 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77703 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77704 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77705 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77711 (SYSCALL_ERROR_HANDLER): Likewise.
77712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77715 (SYSCALL_ERROR_HANDLER): Likewise.
77716
77717 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77718 (HAVE_GCC_GOTDATA): New.
77719 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77720 relocation support in both binutils and gcc.
77721 * sysdeps/sparc/elf/configure: Regenerate.
77722
77723 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77724 * sysdeps/sparc/sparc32/elf/configure: Delete.
77725 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77726 * sysdeps/sparc/sparc64/elf/configure: Delete.
77727 * sysdeps/sparc/elf/configure.in: New file.
77728 * sysdeps/sparc/elf/configure: Generate.
77729
77730 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77731 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77732 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77733 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77734 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77735
77736 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77737
77738 * manual/install.texi: Do not mention specific glibc version
77739 numbers.
77740 * manual/libc.texinfo (VERSION, UPDATED): Update.
77741 (@copying): Use @copyright{} and range of years.
77742
77743 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77744
77745 [BZ #13695]
77746 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77747 [crti.S not in sysdirs] (generated): Do not append.
77748 [crti.S not in sysdirs] (omit-deps): Likewise.
77749 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77750 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77751 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77752 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77753 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77754 Likewise.
77755 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77756 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77757 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77758 * csu/defs.awk: Remove file.
77759 * sysdeps/generic/initfini.c: Likewise.
77760 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77761 variable.
77762 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77763 Likewise.
77764
77765 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77766
77767 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77768 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77769 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77772 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77773 <bits/epoll.h>.
77774 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77775 (__EPOLL_PACKED): Define to empty if not defined by
77776 <bits/epoll.h>.
77777 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77779 bits/epoll.h.
77780
77781 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77782
77783 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77784 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77785 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77786 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77787 <bits/timerfd.h>.
77788 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77790 bits/timerfd.h.
77791
77792 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77793
77794 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77795 in C locale.
77796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77797 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77800
77801 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77802
77803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77805
77806 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77807
77808 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77809 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77810 defined.
77811 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77812 Likewise.
77813 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77814 entry for 2.16.
77815
77816 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77817
77818 * math/w_acos.c: Use non-signaling floating-point comparisons.
77819 * math/w_acosf.c: Likewise.
77820 * math/w_acosh.c: Likewise.
77821 * math/w_acoshf.c: Likewise.
77822 * math/w_acoshl.c: Likewise.
77823 * math/w_acosl.c: Likewise.
77824 * math/w_asin.c: Likewise.
77825 * math/w_asinf.c: Likewise.
77826 * math/w_asinl.c: Likewise.
77827 * math/w_atanh.c: Likewise.
77828 * math/w_atanhf.c: Likewise.
77829 * math/w_atanhl.c: Likewise.
77830 * math/w_exp2.c: Likewise.
77831 * math/w_exp2f.c: Likewise.
77832 * math/w_exp2l.c: Likewise.
77833 * math/w_j0.c: Likewise.
77834 * math/w_j0f.c: Likewise.
77835 * math/w_j0l.c: Likewise.
77836 * math/w_j1.c: Likewise.
77837 * math/w_j1f.c: Likewise.
77838 * math/w_j1l.c: Likewise.
77839 * math/w_jn.c: Likewise.
77840 * math/w_jnf.c: Likewise.
77841 * math/w_log.c: Likewise.
77842 * math/w_log10.c: Likewise.
77843 * math/w_log10f.c: Likewise.
77844 * math/w_log10l.c: Likewise.
77845 * math/w_log2.c: Likewise.
77846 * math/w_log2f.c: Likewise.
77847 * math/w_log2l.c: Likewise.
77848 * math/w_logf.c: Likewise.
77849 * math/w_logl.c: Likewise.
77850 * math/w_sqrt.c: Likewise.
77851 * math/w_sqrtf.c: Likewise.
77852 * math/w_sqrtl.c: Likewise.
77853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77854 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77856 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77857 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77858
77859 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77860
77861 [BZ #9739]
77862 * manual/string.texi (strnlen): Use correct parameter name in
77863 equivalent expression.
77864
77865 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77866
77867 [BZ #11174]
77868 * manual/users.texi (seteuid): Consistently use neweuid for
77869 argument name.
77870
77871 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77872
77873 [BZ #13704]
77874 * manual/nss.texi (Services in the NSS configuration): Correct
77875 list of services in example configuration file.
77876
77877 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77878
77879 [BZ #11322]
77880 * manual/arith.texi: Remove statements about negative zero
77881 behaving identically to zero.
77882
77883 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77884
77885 [BZ #5993]
77886 * manual/install.texi: Do not document upgrading from libc5.
77887
77888 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77889
77890 [BZ #4596]
77891 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77892
77893 2012-02-18 David S. Miller <davem@davemloft.net>
77894
77895 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77896 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77897 %o7 across the call.
77898 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77899 instead.
77900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77901 SETUP_PIC_REG_LEAF.
77902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77903 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77904 * sysdeps/sparc/crtn.S: Likewise.
77905
77906 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77907
77908 * aout/Makefile: Remove.
77909
77910 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77911
77912 [BZ #13058]
77913 * manual/examples/argp-ex1.c (main): Format definition in GNU
77914 style.
77915 * manual/examples/argp-ex2.c (main): Likewise.
77916 * manual/examples/argp-ex3.c (main): Likewise.
77917 * manual/examples/argp-ex4.c (main): Likewise.
77918 * manual/examples/longopt.c (main): Use new-style prototype
77919 definition.
77920 * manual/examples/strncat.c (main): Specify return type and use
77921 (void) for arguments.
77922 * manual/examples/subopt.c (main): Use char **argv argument.
77923
77924 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77925
77926 [BZ #5077]
77927 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77928 rounding modes.
77929
77930 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77931
77932 [BZ #6907]
77933 * manual/string.texi (strchr): Change when strchrnul is
77934 recommended.
77935
77936 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77937
77938 [BZ #174]
77939 * manual/locale.texi (setlocale): Document LOCPATH.
77940
77941 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77942
77943 [BZ #10210]
77944 * manual/process.texi (execle): Move @dots{} before last argument.
77945
77946 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77947
77948 [BZ #12047]
77949 * manual/charset.texi (Generic Charset Conversion): Fix typo
77950 (LC_TYPE -> LC_CTYPE).
77951
77952 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77953
77954 [BZ #5805]
77955 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77956 (scalbnf): Likewise.
77957 (scalbnl): Likewise.
77958 (scalbln): Likewise.
77959 (scalblnf): Likewise.
77960 (scalblnl): Likewise.
77961 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77962 (vwarnx): Likewise.
77963 (verr): Likewise.
77964 (verrx): Likewise.
77965 * manual/filesys.texi (telldir): Use braces around return type.
77966 * manual/llio.texi (mmap): Add space after comma.
77967 (mmap64): Likewise.
77968 * manual/math.texi (jn): Use @var{} on parameter names.
77969 (jnf): Likewise.
77970 (jnl): Likewise.
77971 (yn): Likewise.
77972 (ynf): Likewise.
77973 (ynl): Likewise.
77974 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77975 line.
77976 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77977 "...".
77978 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77979 (sched_get_priority_max): Likewise.
77980 * manual/signal.texi (sigvec): Add space after comma.
77981 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77982 names.
77983 (if_indextoname): Likewise.
77984 (if_freenameindex): Likewise.
77985 (sendto): Use ',' instead of '.' in prototype.
77986 * manual/startup.texi (syscall): Use @dots{} instead of literal
77987 "...".
77988 * manual/stdio.texi (__fpending): Separate initial words of
77989 paragraph from @deftypefun line.
77990 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77991 "...".
77992 (vsyslog): Use @var{} on parameter names.
77993 * manual/terminal.texi (stty): Use @var{} on parameter names.
77994 * manual/users.texi (getutmp): Use @var{} on parameter names.
77995 (getutmpx): Likewise.
77996
77997 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77998
77999 [BZ #6884]
78000 * manual/stdio.texi (fopen): Fix typos in description of
78001 ",ccs=STRING".
78002
78003 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
78004
78005 [BZ #4026]
78006 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78007 get clock_id definition.
78008
78009 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
78010
78011 [BZ #4822]
78012 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78013 (madvise): Cast every argument to void on its own.
78014
78015 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78016
78017 [BZ #9902]
78018 * manual/startup.texi (Exit Status): Fix typo.
78019
78020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78021
78022 [BZ #10140]
78023 * manual/examples/argp-ex1.c: Include <stdlib.h>.
78024 * manual/examples/argp-ex2.c: Likewise.
78025 * manual/examples/argp-ex3.c: Likewise.
78026
78027 2012-02-16 Richard Henderson <rth@redhat.com>
78028
78029 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78030 * sysdeps/s390/s390-32/initfini.c: Remove.
78031 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78032 * sysdeps/s390/s390-64/initfini.c: Remove.
78033
78034 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78035
78036 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78037 compiler output for sysdeps/generic/initfini.c.
78038 * sysdeps/sh/elf/initfini.c: Remove file.
78039
78040 2012-02-16 David S. Miller <davem@davemloft.net>
78041
78042 [BZ #11494]
78043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78044
78045 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78046 * sysdeps/sparc/crti.S: New file.
78047 * sysdeps/sparc/crtn.S: New file.
78048 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78049 * sysdeps/sparc/sparc64/Makefile: Likewise.
78050
78051 2012-02-15 Mike Frysinger <vapier@gentoo.org>
78052
78053 [BZ #3335]
78054 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78055
78056 2012-02-15 Roland McGrath <roland@hack.frob.com>
78057
78058 [BZ #4822]
78059 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78060
78061 * mach/devstream.c (cookie_io_functions_t): Macro removed.
78062 (write, read, close): Likewise.
78063 Patch by Aurelien Jarno <aurelien@aurel32.net>.
78064
78065 2012-02-15 Joseph Myers <joseph@codesourcery.com>
78066
78067 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78068 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78069 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78070 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78071 <bits/signalfd.h>.
78072 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78074 bits/signalfd.h.
78075
78076 2012-02-14 Marek Polacek <polacek@redhat.com>
78077
78078 * sysdeps/x86_64/crti.S: New file.
78079 * sysdeps/x86_64/crtn.S: New file.
78080 * sysdeps/x86_64/elf/initfini.c: Remove file.
78081
78082 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78083
78084 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78085 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78086 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78087 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78088 <bits/inotify.h>.
78089 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78091 bits/inotify.h.
78092
78093 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78094
78095 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78096 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78097 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78098 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78099 <bits/eventfd.h>.
78100 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78102 bits/eventfd.h.
78103
78104 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
78105
78106 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78107 __feraiseexcept instead of feraiseexcept.
78108
78109 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78110 nanosleep invocations.
78111 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78112 strings, and add error checking for a nanosleep invocations.
78113
78114 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
78115
78116 Replace FSF snail mail address with URLs, as per GNU coding standards.
78117 Most of the snail mail addresses were wrong anyway, and omitting
78118 them makes the source code easier to maintain. Almost all of the
78119 changes are to license notices and to locale LC_IDENTIFICATION
78120 addresses, except for this one:
78121 * manual/libc.texinfo: In "Published by", give the FSF's URL,
78122 not its snail mail address.
78123
78124 2012-02-09 Richard Henderson <rth@twiddle.net>
78125
78126 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78127 of kernel-features.h.
78128
78129 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78130
78131 2012-02-08 Marek Polacek <polacek@redhat.com>
78132
78133 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78134 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78135 * sysdeps/gnu/_G_config.h: Likewise.
78136 * sysdeps/generic/_G_config.h: Likewise.
78137
78138 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
78139
78140 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78141 tests.
78142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78143
78144 * sysdeps/powerpc/powerpc32/crti.S: New file.
78145 * sysdeps/powerpc/powerpc32/crtn.S: New file.
78146 * sysdeps/powerpc/powerpc64/crti.S: New file.
78147 * sysdeps/powerpc/powerpc64/crtn.S: New file.
78148
78149 * Makeconfig (have-initfini): Don't set.
78150 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78151 * configure.in (nopic_initfini): Don't substitute.
78152 * config.h.in (HAVE_INITFINI): Don't #undef.
78153 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78154 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78155
78156 2012-02-08 Joseph Myers <joseph@codesourcery.com>
78157
78158 Support crti.S and crtn.S provided directly by architectures.
78159 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78160 [crti.S in sysdirs] (omit-deps): Likewise.
78161 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78162 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78163 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78164 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78165 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78166 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78167 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78168 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78169 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78170 compiler output for sysdeps/generic/initfini.c.
78171 * sysdeps/i386/elf/Makefile: Remove file.
78172 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78173
78174 2012-02-07 Marek Polacek <polacek@redhat.com>
78175
78176 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78177 * sysdeps/gnu/_G_config.h: Likewise.
78178 * sysdeps/mach/hurd/_G_config.h: Likewise.
78179
78180 2012-02-07 Marek Polacek <polacek@redhat.com>
78181
78182 * math/Makefile (tests): Add tst-CMPLX2.
78183 * math/tst-CMPLX2.c: New file.
78184
78185 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78186
78187 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78188
78189 * math/libm-test.inc (jn_test): Add missing L suffix.
78190
78191 2012-02-06 Marek Polacek <polacek@redhat.com>
78192
78193 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78194 * sysdeps/i386/fpu/e_powf.S: Likewise.
78195 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78197 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78198 * sysdeps/i386/fpu/e_pow.S: Likewise.
78199 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78201 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78202 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78203 * sysdeps/i386/fpu/e_log2.S: Likewise.
78204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78206 * sysdeps/i386/fpu/e_powl.S: Likewise.
78207 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78208 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78209 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78210 * sysdeps/i386/fpu/e_logl.S: Likewise.
78211 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78212 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78213 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78214 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78215 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78216 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78217 * sysdeps/i386/fpu/e_log.S: Likewise.
78218 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78220 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78221 * sysdeps/i386/fpu/e_logf.S: Likewise.
78222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78223 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78224 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78225 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78227 * sysdeps/i386/fpu/e_log10.S: Likewise.
78228 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78230 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78231 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78233 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78234 * sysdeps/i386/asm-syntax.h: Likewise.
78235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78238 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78239 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78244 * sysdeps/powerpc/sysdep.h: Likewise.
78245 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78247
78248 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78249
78250 [BZ #411]
78251 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78252
78253 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78254
78255 * sysdeps/i386/sysdep.h: Include <features.h>.
78256 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78257 version.
78258
78259 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78260
78261 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78262 Define.
78263 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78264 LOAD_PIC_REG_STR.
78265
78266 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78267
78268 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78269 (SETUP_PIC_REG): Use GET_PC_THUNK.
78270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78271 macro.
78272
78273 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78274
78275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78276 for non-PIC compilation.
78277 (SETUP_PIC_REG): Add .p2align directive.
78278 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78279 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78281 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78283 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78285 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78286 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78287 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78288 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78289 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78290 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78291 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78292 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78293 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78294 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78295 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78296 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78297 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78300 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78301 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78306 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78307 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78308 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78310 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78311 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78312 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78319
78320 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78321
78322 * math/tst-CMPLX.c: Include <stdio.h>.
78323
78324 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78325
78326 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78327 float.
78328 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78329 * sysdeps/sparc/bits/mathdef.h: Likewise.
78330
78331 2012-01-31 Marek Polacek <polacek@redhat.com>
78332
78333 * libio/libio.h: Don't define _PARAMS.
78334 * locale/programs/config.h: Don't define PARAMS.
78335 * stdlib/strtol_l.c: Likewise.
78336 (__strtol_l): Remove PARAMS from the prototype.
78337
78338 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78339
78340 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78341 names. Just use the correct names. Remove unnecessary wrapper
78342 functions.
78343 * malloc/arena.c: Likewise.
78344 * malloc/hooks.c: Likewise.
78345
78346 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78347 ARENA_TEST says not to. Simplify test for creation of a new arena.
78348 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78349
78350 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78351
78352 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78353 into tail calls.
78354 (update_get_addr): New function.
78355 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78356 GET_ADDR_MODULE parameter.
78357
78358 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78359
78360 * crypt/cert.c: Remove __STDC__ conditionals.
78361 * crypt/crypt-entry.c: Likewise.
78362 * crypt/crypt_util.c: Likewise.
78363 * libio/filedoalloc.c: Likewise.
78364 * libio/fileops.c: Likewise.
78365 * libio/genops.c: Likewise.
78366 * libio/iofclose.c: Likewise.
78367 * libio/iofdopen.c: Likewise.
78368 * libio/iofopen.c: Likewise.
78369 * libio/iofopen64.c: Likewise.
78370 * libio/iogetdelim.c: Likewise.
78371 * libio/iopopen.c: Likewise.
78372 * libio/obprintf.c: Likewise.
78373 * libio/oldfileops.c: Likewise.
78374 * libio/oldiofclose.c: Likewise.
78375 * libio/oldiofdopen.c: Likewise.
78376 * libio/oldiofopen.c: Likewise.
78377 * libio/oldiopopen.c: Likewise.
78378 * libio/wfiledoalloc.c: Likewise.
78379 * libio/wgenops.c: Likewise.
78380 * locale/programs/xmalloc.c: Likewise.
78381 * misc/syslog.c: Likewise.
78382 * stdio-common/xbug.c: Likewise.
78383 * string/memchr.c: Likewise.
78384 * string/memcmp.c: Likewise.
78385 * string/memrchr.c: Likewise.
78386 * string/rawmemchr.c: Likewise.
78387 * sysdeps/posix/getcwd.c: Likewise.
78388 * time/strftime_l.c: Likewise.
78389
78390 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78391
78392 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78393 * config.make.in (config-cflags-sse2avx): Define.
78394 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78395 Fix typo.
78396
78397 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78398
78399 * scripts/config.guess: Update from upstream config git repository.
78400 * scripts/config.sub: Likewise.
78401
78402 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78403
78404 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78405 (EM_NUM): Update.
78406 (R_TILEPRO_*, R_TILEGX_*): New macros.
78407
78408 * scripts/firstversions.awk: Fix bug in version range handling.
78409
78410 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78411
78412 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78413
78414 * include/sys/epoll.h: New file.
78415 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78416 libc_hidden_def.
78417
78418 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78419
78420 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78421 Avoid unnecessary __WORDSIZE == 64 test.
78422 (fmaxf): Use VEX format if possible.
78423 (fmax): Likewise.
78424 (fminf): Likewise.
78425 (fmin): Likewise.
78426
78427 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78428 * math/math_private.h: Remove libc_fegetround* and
78429 libc_fesetround*.
78430 * sysdeps/i386/configure.in: Check for -msse2avx.
78431 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78432 also if SSE2AVX is defined.
78433 Remove libc_fegetround* and libc_fesetround*.
78434 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78435 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78437 of HAS_YMM_USABLE.
78438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78443
78444 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78445
78446 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78447
78448 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78449 size is not set.
78450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78451
78452 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78453
78454 [BZ #13618]
78455 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78456 relocation.
78457 * Makeconfig (libm): Define.
78458 * elf/Makefile: Add rules to build and run tst-relsort1.
78459 * elf/tst-relsort1.c: New file.
78460 * elf/tst-relsort1mod1.c: New file.
78461 * elf/tst-relsort1mod2.c: New file.
78462
78463 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78464
78465 * math/s_ldexp.c: Remove __STDC__ conditionals.
78466 * math/s_ldexpf.c: Likewise.
78467 * math/s_ldexpl.c: Likewise.
78468 * math/s_nextafter.c: Likewise.
78469 * math/s_nexttowardf.c: Likewise.
78470 * math/s_significand.c: Likewise.
78471 * math/s_significandf.c: Likewise.
78472 * math/s_significandl.c: Likewise.
78473 * math/w_jnl.c: Likewise.
78474 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78475 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78476 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78477 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78478 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78480 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78483 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78484 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78486 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78487 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78488 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78490 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78495 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78496 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78498 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78499 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78500 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78505 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78508 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78509 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78510 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78511 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78512 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78513 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78514 * sysdeps/ieee754/k_standard.c: Likewise.
78515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78516 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78517 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78519 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78520 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78522 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78523 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78524 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78525 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78526 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78527 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78528 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78531 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78534 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78537 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78539 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78540 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78546 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78548 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78551 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78554 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78555 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78557 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78558 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78560 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78561 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78564 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78565 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78568 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78570 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78572 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78573 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78575 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78576 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78577 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78579 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78580 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78581 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78582 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78585 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78586 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78587 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78590 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78591 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78592 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78594 * sysdeps/ieee754/s_matherr.c: Likewise.
78595 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78596 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78597 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78599
78600 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78601
78602 * crypt/md5.h: Remove __STDC__ conditionals.
78603 * libio/libioP.h: Likewise.
78604 * locale/programs/config.h: Likewise.
78605 * sysdeps/generic/sysdep.h: Likewise.
78606 * sysdeps/i386/asm-syntax.h: Likewise.
78607 * sysdeps/s390/asm-syntax.h: Likewise.
78608 * sysdeps/unix/sysdep.h: Likewise.
78609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78611
78612 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78613
78614 * libio/libio.h: Remove __STDC__ conditionals.
78615 * malloc/obstack.h: Likewise.
78616 * math/complex.h: Likewise.
78617 * math/math.h: Likewise.
78618 * sysdeps/generic/_G_config.h: Likewise.
78619 * sysdeps/gnu/_G_config.h: Likewise.
78620 * sysdeps/mach/hurd/_G_config.h: Likewise.
78621 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78622 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78623 * sysdeps/sparc/bits/mathdef.h: Likewise.
78624
78625 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78626
78627 [BZ #13583]
78628 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78629 Clean up HAS_* macros.
78630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78631 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78632 possible.
78633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78634 HAS_AVX.
78635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78640
78641 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78642
78643 * elf/tst-unique3.cc (gets): Remove declaration.
78644 * elf/tst-unique3lib.cc (gets): Likewise.
78645 * elf/tst-unique3lib2.cc (gets): Likewise.
78646 * elf/tst-unique4.cc (gets): Likewise.
78647
78648 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78649
78650 * include/stdio.h: Add C++ protection. Add gets declarations and
78651 definitions.
78652 * debug/tst-chk1.c: Don't declare gets here.
78653 * stdio-common/tst-gets.c: Likewise.
78654
78655 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78656
78657 * posix/glob: Remove directory.
78658
78659 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78660
78661 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78662
78663 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78664
78665 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78666 of the non-standard EPFNOSUPPORT.
78667
78668 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78669
78670 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78671 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78672 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78673
78674 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78675
78676 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78677
78678 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78679
78680 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78681 transient errors.
78682 * nscd/grpcache.c (cache_addgr): Likewise.
78683 * nscd/hstcache.c (cache_addhst): Likewise.
78684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78685 * nscd/pwdcache.c (cache_addpw): Likewise.
78686 * nscd/servicescache.c (cache_addserv): Likewise.
78687
78688 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78689
78690 * malloc/malloc.c: Various cleanups.
78691 * malloc/hooks.c: Likewise.
78692
78693 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78694 * stdlib/bug-fmtmsg1.c: New file.
78695
78696 * stdlib/fmtmsg.c (init): Add missing unlock.
78697 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78698
78699 2012-01-12 Marek Polacek <polacek@redhat.com>
78700
78701 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78702 and _GNU_SOURCE.
78703
78704 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78705
78706 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78708 macro to ensure uniqueness of label name.
78709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78711
78712 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78713
78714 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78715
78716 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78720
78721 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78722
78723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78724
78725 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78726 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78727 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78728
78729 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78730
78731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78732 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78735
78736 * math/bits/math-finite.h: Add ldexp support.
78737
78738 2012-01-10 Marek Polacek <polacek@redhat.com>
78739
78740 * locale/programs/localedef.h (show_archive_content): Add noreturn
78741 attribute.
78742
78743 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78744
78745 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78746
78747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78748
78749 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78750
78751 * io/Makefile (headers): Add bits/poll2.h.
78752
78753 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78754
78755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78756 typo #include statement.
78757
78758 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78759
78760 * include/sys/cdefs.h: Define __attribute_alloc_size.
78761 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78762 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78763 * elf/pldd.c: Likewise.
78764 * iconv/iconv_charmap.c: Likewise.
78765 * iconv/iconvconfig.c: Likewise.
78766 * iconv/strtab.c: Likewise.
78767 * locale/programs/locale.c: Likewise.
78768 * locale/programs/localedef.h: Likewise.
78769 * locale/programs/simple-hash.c: Likewise.
78770 * nscd/nscd.h: Likewise.
78771 * nss/makedb.c: Likewise.
78772 * sysdeps/generic/ldconfig.h: Likewise.
78773 * locale/programs/localedef.c: Remove xmalloc prototype.
78774 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78775
78776 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78777
78778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78779 appropriate.
78780
78781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78782
78783 * math/Makefile (tests): Add tst-CMPLX.
78784 * math/tst-CMPLX.c: New file.
78785
78786 * math/complex.h (CMPLXL): Fix typo.
78787
78788 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78789 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78790 GLIBC_2.16.
78791 * debug/tst-chk1.c: Add poll and ppoll tests.
78792 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78793 * include/sys/poll.h: Add hidden proto for ppoll.
78794 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78795 * sysdeps/mach/hurd/ppoll.c: Likewise.
78796 * io/ppoll.c: Likewise.
78797 * debug/poll_chk.c: New file.
78798 * debug/ppoll_chk.c: New file.
78799 * include/bits/poll2.h: New file.
78800 * io/bits/poll2.h: New file.
78801
78802 [BZ #1350]
78803 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78804
78805 * configure.in: static is always set to yes. Remove.
78806 * config.make.in: Don't set build-static.
78807 * Makeconfig: Remove use of build-static.
78808 * dlfcn/Makefile: Likewise.
78809 * elf/Makefile: Likewise.
78810 * math/Makefile: Likewise.
78811 * misc/Makefile: Likewise.
78812 * nptl/Makefile: Likewise.
78813 * sysdeps/mach/hurd/Makefile: Likewise.
78814
78815 * configure.in: PWD_P is not used anymore.
78816 * config.make.in: Remove PWD_P entry.
78817
78818 * configure.in: Remove last remnants of RANLIB.
78819 No need to check for signed size_t anymore.
78820 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78821 and IA-64.
78822 Remove __builtin_expect test because we require at least gcc 3.4.
78823 * aclocal.m4: Likewise.
78824
78825 * wcsmbs/mbrtoc16.c: Implement using towc function.
78826 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78827 * wcsmbs/wcsmbsload.c: Likewise.
78828 * iconv/gconv_simple.c: Likewise.
78829 * iconv/gconv_int.h: Likewise.
78830 * iconv/gconv_builtin.h: Likewise.
78831 * iconv/iconv_prog.c: Remove CHAR16 handling.
78832
78833 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78834
78835 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78836
78837 * configure.in: Remove --with-elf and --enable-bounded options.
78838 Dont set base_machine for ia64. More non-ELF conditions removed.
78839 Remove testing and setting of leading underscore information.
78840 * config.make.in (build-bounded): Set to no.
78841 * config.h.in: Remove NO_UNDERSCORES entry.
78842 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78843 them.
78844 * csu/start.c: Remove !NO_UNDERSCORE code.
78845 * locale/localeinfo.h: Likewise.
78846 * sysdeps/generic/machine-gmon.h: Likewise.
78847 * sysdeps/generic/sysdep.h: Likewise.
78848 * sysdeps/i386/sysdep.h: Likewise.
78849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78850 * sysdeps/mach/sysdep.h: Likewise.
78851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78853 * sysdeps/sh/sysdep.h: Likewise.
78854 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78855 * sysdeps/unix/i386/sysdep.S: Likewise.
78856 * sysdeps/unix/sparc/start.c: Likewise.
78857 * sysdeps/unix/sparc/sysdep.S: Likewise.
78858 * sysdeps/unix/sparc/sysdep.h: Likewise.
78859 * sysdeps/unix/start.c: Likewise.
78860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78861 * sysdeps/x86_64/sysdep.h: Likewise.
78862
78863 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78864
78865 [BZ #13553]
78866 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78867 for non-gcc.
78868 * argp/argp-fmtstream.h: Use const instead __const.
78869 * argp/argp.h: Likewise.
78870 * assert/assert.h: Likewise.
78871 * bits/fenv.h: Likewise.
78872 * bits/sched.h: Likewise.
78873 * bits/sigset.h: Likewise.
78874 * bits/sigthread.h: Likewise.
78875 * catgets/nl_types.h: Likewise.
78876 * conform/data/pthread.h-data: Likewise.
78877 * crypt/crypt-private.h: Likewise.
78878 * crypt/crypt.h: Likewise.
78879 * crypt/crypt_util.c: Likewise.
78880 * ctype/ctype.h: Likewise.
78881 * debug/execinfo.h: Likewise.
78882 * debug/mbsnrtowcs_chk.c: Likewise.
78883 * debug/mbsrtowcs_chk.c: Likewise.
78884 * debug/wcsnrtombs_chk.c: Likewise.
78885 * debug/wcsrtombs_chk.c: Likewise.
78886 * debug/wcstombs_chk.c: Likewise.
78887 * dirent/dirent.h: Likewise.
78888 * dlfcn/dlfcn.h: Likewise.
78889 * elf/neededtest4.c: Likewise.
78890 * grp/grp.h: Likewise.
78891 * gshadow/gshadow.h: Likewise.
78892 * iconv/gconv.h: Likewise.
78893 * iconv/gconv_int.h: Likewise.
78894 * iconv/gconv_simple.c: Likewise.
78895 * iconv/iconv.h: Likewise.
78896 * iconv/loop.c: Likewise.
78897 * iconv/skeleton.c: Likewise.
78898 * include/aio.h: Likewise.
78899 * include/aliases.h: Likewise.
78900 * include/argz.h: Likewise.
78901 * include/arpa/inet.h: Likewise.
78902 * include/assert.h: Likewise.
78903 * include/dirent.h: Likewise.
78904 * include/dlfcn.h: Likewise.
78905 * include/execinfo.h: Likewise.
78906 * include/fcntl.h: Likewise.
78907 * include/fenv.h: Likewise.
78908 * include/glob.h: Likewise.
78909 * include/grp.h: Likewise.
78910 * include/libintl.h: Likewise.
78911 * include/mntent.h: Likewise.
78912 * include/netdb.h: Likewise.
78913 * include/pwd.h: Likewise.
78914 * include/rpc/netdb.h: Likewise.
78915 * include/sched.h: Likewise.
78916 * include/search.h: Likewise.
78917 * include/shadow.h: Likewise.
78918 * include/signal.h: Likewise.
78919 * include/stdio.h: Likewise.
78920 * include/stdlib.h: Likewise.
78921 * include/string.h: Likewise.
78922 * include/sys/socket.h: Likewise.
78923 * include/sys/stat.h: Likewise.
78924 * include/sys/statfs.h: Likewise.
78925 * include/sys/statvfs.h: Likewise.
78926 * include/sys/syslog.h: Likewise.
78927 * include/sys/time.h: Likewise.
78928 * include/sys/uio.h: Likewise.
78929 * include/time.h: Likewise.
78930 * include/unistd.h: Likewise.
78931 * include/utmp.h: Likewise.
78932 * include/wchar.h: Likewise.
78933 * include/wctype.h: Likewise.
78934 * inet/aliases.h: Likewise.
78935 * inet/arpa/inet.h: Likewise.
78936 * inet/netinet/ether.h: Likewise.
78937 * inet/netinet/in.h: Likewise.
78938 * intl/libintl.h: Likewise.
78939 * io/bits/fcntl2.h: Likewise.
78940 * io/fcntl.h: Likewise.
78941 * io/ftw.h: Likewise.
78942 * io/sys/poll.h: Likewise.
78943 * io/sys/stat.h: Likewise.
78944 * io/sys/statfs.h: Likewise.
78945 * io/sys/statvfs.h: Likewise.
78946 * io/utime.h: Likewise.
78947 * libio/bits/stdio.h: Likewise.
78948 * libio/bits/stdio2.h: Likewise.
78949 * libio/libio.h: Likewise.
78950 * libio/libioP.h: Likewise.
78951 * libio/stdio.h: Likewise.
78952 * locale/lc-ctype.c: Likewise.
78953 * locale/locale.h: Likewise.
78954 * login/utmp.h: Likewise.
78955 * malloc/arena.c: Likewise.
78956 * malloc/malloc.c: Likewise.
78957 * malloc/malloc.h: Likewise.
78958 * malloc/mcheck.c: Likewise.
78959 * malloc/mtrace.c: Likewise.
78960 * math/bits/mathcalls.h: Likewise.
78961 * math/fenv.h: Likewise.
78962 * math/math_private.h: Likewise.
78963 * misc/bits/error.h: Likewise.
78964 * misc/bits/syslog.h: Likewise.
78965 * misc/err.h: Likewise.
78966 * misc/error.h: Likewise.
78967 * misc/fstab.h: Likewise.
78968 * misc/mntent.h: Likewise.
78969 * misc/regexp.h: Likewise.
78970 * misc/search.h: Likewise.
78971 * misc/sgtty.h: Likewise.
78972 * misc/sys/mman.h: Likewise.
78973 * misc/sys/syslog.h: Likewise.
78974 * misc/sys/uio.h: Likewise.
78975 * misc/sys/xattr.h: Likewise.
78976 * misc/ttyent.h: Likewise.
78977 * nis/rpcsvc/ypclnt.h: Likewise.
78978 * nss/nss.h: Likewise.
78979 * posix/bits/unistd.h: Likewise.
78980 * posix/fnmatch.h: Likewise.
78981 * posix/glob.h: Likewise.
78982 * posix/sched.h: Likewise.
78983 * posix/spawn.h: Likewise.
78984 * posix/sys/wait.h: Likewise.
78985 * posix/unistd.h: Likewise.
78986 * posix/wordexp.h: Likewise.
78987 * pwd/pwd.h: Likewise.
78988 * resolv/netdb.h: Likewise.
78989 * resource/sys/resource.h: Likewise.
78990 * rt/aio.h: Likewise.
78991 * rt/bits/mqueue2.h: Likewise.
78992 * rt/mqueue.h: Likewise.
78993 * shadow/shadow.h: Likewise.
78994 * signal/signal.h: Likewise.
78995 * socket/send.c: Likewise.
78996 * socket/sendto.c: Likewise.
78997 * socket/sys/socket.h: Likewise.
78998 * stdio-common/printf.h: Likewise.
78999 * stdlib/bits/stdlib.h: Likewise.
79000 * stdlib/fmtmsg.h: Likewise.
79001 * stdlib/monetary.h: Likewise.
79002 * stdlib/stdlib.h: Likewise.
79003 * stdlib/ucontext.h: Likewise.
79004 * streams/stropts.h: Likewise.
79005 * string/argz.h: Likewise.
79006 * string/bits/string2.h: Likewise.
79007 * string/string.h: Likewise.
79008 * string/strings.h: Likewise.
79009 * sunrpc/rpc/auth.h: Likewise.
79010 * sunrpc/rpc/auth_des.h: Likewise.
79011 * sunrpc/rpc/clnt.h: Likewise.
79012 * sunrpc/rpc/netdb.h: Likewise.
79013 * sunrpc/rpc/pmap_clnt.h: Likewise.
79014 * sunrpc/rpc/xdr.h: Likewise.
79015 * sysdeps/generic/inttypes.h: Likewise.
79016 * sysdeps/generic/net/if.h: Likewise.
79017 * sysdeps/generic/sys/swap.h: Likewise.
79018 * sysdeps/gnu/net/if.h: Likewise.
79019 * sysdeps/gnu/utmpx.h: Likewise.
79020 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79021 * sysdeps/i386/i486/bits/string.h: Likewise.
79022 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79023 * sysdeps/s390/bits/string.h: Likewise.
79024 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79025 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79026 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79027 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79028 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79029 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79030 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79031 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79032 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79033 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79034 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79035 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79036 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79037 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79038 * sysdeps/unix/sysv/linux/readv.c: Likewise.
79039 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79040 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79043 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79045 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79046 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79047 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79048 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79049 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79050 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79052 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79054 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79055 * sysvipc/sys/ipc.h: Likewise.
79056 * sysvipc/sys/msg.h: Likewise.
79057 * sysvipc/sys/sem.h: Likewise.
79058 * sysvipc/sys/shm.h: Likewise.
79059 * termios/termios.h: Likewise.
79060 * time/sys/time.h: Likewise.
79061 * time/time.h: Likewise.
79062 * wcsmbs/bits/wchar2.h: Likewise.
79063 * wcsmbs/uchar.h: Likewise.
79064 * wcsmbs/wchar.h: Likewise.
79065 * wctype/wctype.h: Likewise.
79066
79067 [BZ #13551]
79068 * Makeconfig: Remove all but ELF support including AIX support.
79069 * Makerules: Likewise.
79070 * config.h.in: Likewise.
79071 * config.make.in: Likewise.
79072 * configure: Likewise.
79073 * configure.in: Likewise.
79074 * csu/Makefile: Likewise.
79075 * csu/version.c: Likewise.
79076 * debug/Makefile: Likewise.
79077 * dlfcn/Makefile: Likewise.
79078 * elf/Makefile: Likewise.
79079 * extra-lib.mk: Likewise.
79080 * iconv/Makefile: Likewise.
79081 * include/libc-symbols.h: Likewise.
79082 * include/shlib-compat.h: Likewise.
79083 * resolv/Makefile: Likewise.
79084 * resolv/res_libc.c: Likewise.
79085 * rt/Makefile: Likewise.
79086 * sysdeps/i386/asm-syntax.h: Likewise.
79087 * sysdeps/i386/sysdep.h: Likewise.
79088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79089 * sysdeps/mach/sysdep.h: Likewise.
79090 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79091 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79092 * sysdeps/s390/asm-syntax.h: Likewise.
79093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79095 * sysdeps/sh/sysdep.h: Likewise.
79096 * sysdeps/unix/sparc/sysdep.h: Likewise.
79097 * sysdeps/wordsize-32/divdi3.c: Likewise.
79098 * sysdeps/x86_64/sysdep.h: Likewise.
79099
79100 * argp/Versions: Remove _argp_unlock_xxx.
79101
79102 [BZ #13559]
79103 * abilist/ld.abilist: Update. Adjust for removal of tls option.
79104 * abilist/libBrokenLocale.abilist: Likewise.
79105 * abilist/libanl.abilist: Likewise.
79106 * abilist/libc.abilist: Likewise.
79107 * abilist/libcrypt.abilist: Likewise.
79108 * abilist/libdl.abilist: Likewise.
79109 * abilist/libm.abilist: Likewise.
79110 * abilist/libnsl.abilist: Likewise.
79111 * abilist/libpthread.abilist: Likewise.
79112 * abilist/libresolv.abilist: Likewise.
79113 * abilist/librt.abilist: Likewise.
79114 * abilist/libthread_db.abilist: Likewise.
79115 * abilist/libutil.abilist: Likewise.
79116 * abilist/libnss_db.abilist: New file.
79117
79118 * scripts/abilist.awk: Add support for indirect functions.
79119
79120 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79121
79122 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79123
79124 * shlib-versions: Remove entries for ports architectures.
79125
79126 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
79127 files in ports.
79128 * elf/stackguard-macros.h: Remove support for IA-64.
79129 * elf/tst-auditmod1.c: Likewise.
79130 * sysdeps/generic/ldsodefs.h: Likewise.
79131
79132 * sysdeps/unix/sysv/linux/configure.in: Ports should define
79133 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79134 configure files.
79135
79136 [BZ #13552]
79137 * configure.in: Remove --enable-omitfp support.
79138 * FAQ.in: Adjust.
79139 * config.make.in: Likewise.
79140 * Makeconfig: Likewise.
79141 * manual/install.texi: Likewise.
79142
79143 In case anyone cares, the IA-64 architecture could move to ports.
79144 * sysdeps/ia64/*: Removed.
79145 * sysdeps/unix/sysv/linux/ia64/*: Removed.
79146 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79147
79148 [BZ #13555]
79149 * configure.in: Remove entries for unsupported architectures.
79150
79151 [BZ #13533]
79152 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79153 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
79154 routines.
79155 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79156 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79157 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
79158 fall back to using wcrtomb.
79159 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79160 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
79161 renaming.
79162 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79163 * wcsmbs/tst-c16c32-1.c: New file.
79164
79165 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79166 local variable.
79167
79168 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79169
79170 * elf/tst-unique3.cc: Add explicit declaration of gets.
79171 * elf/tst-unique3lib.cc: Likewise.
79172 * elf/tst-unique3lib2.cc: Likewise.
79173 * elf/tst-unique4.cc: Likewise.
79174
79175 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79176
79177 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79178
79179 [BZ #13566]
79180 * assert/assert.h (static_assert): Don't define for C++.
79181 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79182 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79183
79184 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79185
79186 * iconv/loop.c (single loop): Fix assertion in storing of
79187 remaining bytes.
79188
79189 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79190
79191 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79192
79193 * posix/getconf.c: Update copyright year.
79194 * nss/getent.c: Likewise.
79195 * nss/makedb.c: Likewise.
79196 * iconv/iconvconfig.c: Likewise.
79197 * iconv/iconv_prog.c: Likewise.
79198 * elf/ldconfig.c: Likewise.
79199 * elf/pldd.c: Likewise.
79200 * elf/sotruss.ksh: Likewise.
79201 * catgets/gencat.c: Likewise.
79202 * csu/version.c: Likewise.
79203 * elf/ldd.bash.in: Likewise.
79204 * elf/sprof.c (print_version): Likewise.
79205 * locale/programs/locale.c: Likewise.
79206 * locale/programs/localedef.c: Likewise.
79207 * login/programs/pt_chown.c: Likewise.
79208 * nscd/nscd.c (print_version): Likewise.
79209 * debug/xtrace.sh: Likewise.
79210 * malloc/memusage.sh: Likewise.
79211 * malloc/mtrace.pl: Likewise.
79212 * debug/catchsegv.sh: Likewise.
79213
79214 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79215
79216 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79217 pure attribute.
79218
79219 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79220
79221 [BZ #13533]
79222 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79223 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79224 transformations.
79225 * iconv/gconv_int.h: Likewise.
79226 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79227 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79228 from libc for GLIBC_2.16.
79229 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79230 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79231 * wcsmbs/uchar.h: Really define mbstate_t.
79232 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79233 * wcsmbs/c16rtomb.c: New file.
79234 * wcsmbs/mbrtoc16.c: New file.
79235 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79236 for C/POSIX locale.
79237 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79238 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79239
79240 * wcsmbs/wchar.h: Add missing __restrict.
79241
79242 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79243
79244 [BZ #13532]
79245 * time/Makefile (routines): Add timespec_get.
79246 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79247 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79248 timespec for ISO C11.
79249 * time/timespec_get.c: New file.
79250 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79251 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79252
79253 [BZ #13531]
79254 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79255 * stdlib/stdlib.h: Declare aligned_alloc.
79256 * Versions.def: Add GLIBC_2.16 for libc.
79257 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79258
79259 [BZ 13527]
79260 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79261 ISO C11.
79262
79263 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79264 code.
79265
79266 [BZ #13528]
79267 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79268
79269 [BZ #13529]
79270 * assert/assert.h (static_assert): Define.
79271
79272 * version.h: Update for 2.16 development version.
79273
79274 [BZ #13526]
79275 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79276 _ISOC11_SOURCE.
79277
79278 * version.h (RELEASE): Bump for 2.15 release.
79279 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79280
79281 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79282 Patch by Marek Polacek <mpolacek@redhat.com>.
79283
79284 * bits/byteswap.h: Protect long long constants with __extension__.
79285 * sysdeps/i386/bits/byteswap.h: Likewise.
79286 * sysdeps/ia64/bits/byteswap.h: Likewise.
79287 * sysdeps/s390/bits/byteswap.h: Likewise.
79288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79289
79290 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79291
79292 [BZ #13540]
79293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79294 destination buffer.
79295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79296
79297 2011-12-23 Marek Polacek <polacek@redhat.com>
79298
79299 * elf/dl-addr.c (determine_info): Add inline keyword.
79300 * elf/tst-auditmod4b.c (check_avx): Likewise.
79301 * elf/tst-auditmod6b.c (check_avx): Likewise.
79302 * elf/tst-auditmod6c.c (check_avx): Likewise.
79303 * elf/tst-auditmod7b.c (check_avx): Likewise.
79304
79305 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79306
79307 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79308 !__SSE_MATH__.
79309
79310 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79311
79312 [BZ #13540]
79313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79314 processing for last bytes.
79315
79316 2011-08-06 Bruno Haible <bruno@clisp.org>
79317
79318 [BZ #13061]
79319 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79320 U+0385, not to U+1FEE.
79321
79322 [BZ #13062]
79323 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79324 entry for U+00A5 U+0301.
79325
79326 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79327
79328 [BZ #13166]
79329 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79330 buffer for the output is too small.
79331
79332 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79333 optimization.
79334
79335 [BZ #13185]
79336 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79337 SSE flags if possible.
79338
79339 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79340
79341 [BZ #13540]
79342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79343 processing for last bytes.
79344
79345 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79346
79347 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79348 (syscall-list-default-options, syscall-list-default-condition)
79349 (syscall-list-includes): Define.
79350 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79351 list of ABIs and options and #if conditions for each ABI. Do not
79352 handle common syscalls between ABIs specially.
79353 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79354 Remove.
79355 (syscall-list-variants, syscall-list-32bit-options)
79356 (syscall-list-32bit-condition, syscall-list-64bit-options)
79357 (syscall-list-64bit-condition): Define.
79358 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79359 (syscall-list-variants, syscall-list-32bit-options)
79360 (syscall-list-32bit-condition, syscall-list-64bit-options)
79361 (syscall-list-64bit-condition): Define.
79362 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79363 Remove.
79364 (syscall-list-variants, syscall-list-32bit-options)
79365 (syscall-list-32bit-condition, syscall-list-64bit-options)
79366 (syscall-list-64bit-condition): Define.
79367 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79368 Remove.
79369 (syscall-list-variants, syscall-list-32bit-options)
79370 (syscall-list-32bit-condition, syscall-list-64bit-options)
79371 (syscall-list-64bit-condition): Define.
79372
79373 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79374
79375 * locale/iso-639.def: Add brx entry.
79376
79377 [BZ #13328]
79378 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79379 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79380
79381 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79382 __feraiseexcept_renamed.
79383
79384 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79385
79386 [BZ #13538]
79387 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79388 EPOLLET with unsigned values.
79389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79391
79392 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79393 to large cancellation.
79394 * math/s_cacoshf.c: Likewise.
79395 * math/s_cacoshl.c: Likewise.
79396
79397 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79398
79399 [BZ #13305]
79400 [BZ #12786]
79401 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79402 * math/s_cacoshf.c: Likewise.
79403 * math/s_cacoshl.c: Likewise.
79404
79405 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79406
79407 [BZ #13439]
79408 * iconv/gconv.h: Define __GCONV_SWAP.
79409 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79410 * iconvdata/utf-16.c: Likewise.
79411 * iconvdata/utf-32.c: Likewise.
79412
79413 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79414
79415 [BZ #13524]
79416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79417 numerator after shifting it by one limb.
79418
79419 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79420
79421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79422 under [__USE_EXTERN_INLINES].
79423
79424 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79425
79426 [BZ #13446]
79427 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79428
79429 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79430
79431 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79432 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79433 optimized code.
79434 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79436 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79437 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79438 for strncasecmp/strncasecmp_l compilation.
79439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79440 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79441
79442 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79443
79444 [BZ #13484]
79445 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79446 of __asm__.
79447
79448 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79449
79450 [BZ #13506]
79451 * time/tzfile.c (__tzfile_read): Check values from file header.
79452
79453 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79454
79455 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79456 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79457 * powerpc/powerpc32/dl-start.S: Likewise.
79458 * powerpc/powerpc32/elf/start.S: Likewise.
79459 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79460 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79461 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79462 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79463 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79464 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79465 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79466 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79467 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79468 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79469 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79470 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79471 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79472 * powerpc/powerpc32/memset.S: Likewise.
79473 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79474 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79475 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79476 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79477 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79478 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79479 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79480 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79481 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79482 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79483 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79484 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79485 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79486
79487 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79488
79489 * math/libm-test.inc: Added more nearbyint tests.
79490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79494
79495 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79496
79497 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79498 FD_CLOEXEC.
79499
79500 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79501
79502 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79503 Add wcscpy-ssse3 wcscpy-c.
79504 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79505 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79506 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79507 * sysdeps/x86_64/wcschr.S: New file.
79508 * sysdeps/x86_64/wcsrchr.S: New file.
79509 * string/test-strcmp.c: Remove checking of wcscmp function for
79510 wrong alignments.
79511 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79512 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79513 wcsrchr-sse2 wcsrchr-c.
79514 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79515 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79516 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79517 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79518 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79519 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79520 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79521 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79522 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79523 * wcsmbc/wcschr.c (WCSCHR): New macro.
79524
79525 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79526
79527 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79528 * wcsmbs/test-wcsrchr.c: New file.
79529 * string/test-strrchr.c: Add wcsrchr support.
79530 (WIDE): New macro.
79531 * wcsmbs/test-wcscpy.c: New file.
79532 * string/test-strcpy.c: Add wcscpy support.
79533 (WIDE): New macro.
79534
79535 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79536
79537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79538 the inner loop.
79539
79540 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79541
79542 [BZ #13472]
79543 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79544
79545 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79546
79547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79548 Minor optimizations.
79549
79550 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79551 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79552 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79553
79554 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79555
79556 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79557 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79558 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79559 for gcc to avoid warnings.
79560 * inet/Makefile (tests): Add tst-checks.
79561 * inet/tst-checks.c: New file.
79562
79563 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79564 warning.
79565
79566 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79567 __wmemcmp_sse2.
79568
79569 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79570 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79571
79572 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79573
79574 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79575
79576 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79577 problem.
79578
79579 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79580
79581 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79582
79583 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79584 conditional on GCC version.
79585 (__arch_compare_and_exchange_val_8_acq)
79586 (__arch_compare_and_exchange_val_16_acq)
79587 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79588 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79589 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79590
79591 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79592
79593 * sysdeps/sh/backtrace.c: New file.
79594
79595 2011-12-02 Andreas Schwab <schwab@redhat.com>
79596
79597 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79598 parenthesis.
79599
79600 2011-12-01 Andreas Schwab <schwab@redhat.com>
79601
79602 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79603 falling back to utime.
79604
79605 2011-11-30 Andreas Schwab <schwab@redhat.com>
79606
79607 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79608 expectations for float.
79609
79610 2011-11-29 Andreas Schwab <schwab@redhat.com>
79611
79612 * locale/weight.h (findidx): Add parameter len.
79613 * locale/weightwc.h (findidx): Likewise.
79614 * posix/fnmatch_loop.c (FCT): Adjust caller.
79615 * posix/regcomp.c (build_equiv_class): Likewise.
79616 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79617 * posix/regexec.c (check_node_accept_bytes): Likewise.
79618 * string/strcoll_l.c (STRCOLL): Likewise.
79619 * string/strxfrm_l.c (STRXFRM): Likewise.
79620
79621 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79622
79623 * Makefile.in: Remove CVSOPT handling.
79624 * configure.in: Remove use of AC_REVISION.
79625 * iconvdata/Makefile (distribute): No need to filter out CVS.
79626 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79627 handling.
79628
79629 2011-11-16 Andreas Schwab <schwab@redhat.com>
79630
79631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79632 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79633 [USE_AS_STRNCASECMP_L]: Likewise.
79634 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79635 NO_TLS_DIRECT_SEG_REFS.
79636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79637 Fix argument offsets for non-PIC.
79638 [USE_AS_STRNCASECMP_L]: Likewise.
79639 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79640 NO_TLS_DIRECT_SEG_REFS.
79641
79642 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79643
79644 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79645 O_CLOEXEC.
79646 * locale/loadlocale.c (_nl_load_locale): Likewise.
79647
79648 2011-11-15 Andreas Schwab <schwab@redhat.com>
79649
79650 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79651 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79652 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79653 (SYSCALL_GETTIME): Set errno on error.
79654
79655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79656 count references to noai6ai_cached.
79657
79658 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79659
79660 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79661
79662 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79663 FD_CLOEXEC for /proc/self/maps.
79664
79665 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79666 FD_CLOEXEC for /proc/meminfo.
79667
79668 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79669 gai.conf.
79670
79671 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79672 FD_CLOEXEC for given file.
79673
79674 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79675
79676 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79677 FD_CLOEXEC for /etc/hosts.
79678 (_gethtent): Likewise.
79679
79680 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79681
79682 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79683 cancellation and set FD_CLOEXEC for /etc/netgroup.
79684
79685 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79686 reading /etc/publickey.
79687
79688 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79689 allow cancellation when reading /etc/group.
79690
79691 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79692 cancellation.
79693 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79694
79695 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79696 when using data file.
79697
79698 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79699
79700 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79701 (write_nis_obj): Use "c" and "e" in fopen.
79702
79703 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79704
79705 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79706
79707 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79708
79709 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79710
79711 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79712 locale.alias.
79713
79714 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79715
79716 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79717
79718 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79719
79720 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79721 file parsing and set FD_CLOEXEC.
79722
79723 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79724
79725 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79726
79727 2011-11-14 Andreas Schwab <schwab@redhat.com>
79728
79729 * malloc/arena.c (arena_get2): Don't call reused_arena when
79730 _int_new_arena failed.
79731
79732 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79733
79734 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79735 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79737 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79738 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79740 to compile strcasecmp and strncasecmp.
79741 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79742 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79743
79744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79745
79746 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79747
79748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79749 locale-defines.sym to gen-as-const-headers.
79750 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79751 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79753 to compile strcasecmp and strncasecmp.
79754 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79755 strcasecmp_l and strncasecmp_l.
79756 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79757 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79758 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79759 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79760 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79761 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79762 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79763 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79764 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79765 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79766 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79767
79768 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79769
79770 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79771 result of SYSDEP_GETTIME_CPU to retval.
79772 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79773 parameter list to macro. Remove trailing semicolon. Adjust users.
79774
79775 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79776 variable.
79777
79778 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79779 mantissa words.
79780 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79781
79782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79783 from unused variable.
79784
79785 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79786 DWARF definitions.
79787 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79788 for assembling.
79789
79790 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79791 over namespaces.
79792
79793 * sunrpc/rpc_prot.c (rejected): Fix case value.
79794
79795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79796 unsigned long long int to avoid warnings in shift.
79797
79798 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79799 of use of trans.
79800 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79801 variable tmp.
79802
79803 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79804 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79805 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79806
79807 * nis/nis_table.c (nis_list): Use variable of correct type for
79808 result of __follow_path call.
79809
79810 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79811
79812 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79813 of math functions ceil, trunc, floor, round, and sqrt, when
79814 avaliable on the platform.
79815 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79816 name clash.
79817 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79818 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79819 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79820
79821 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79822
79823 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79825
79826 2011-11-11 Roland McGrath <roland@hack.frob.com>
79827
79828 * include/unistd.h: Fix __readlink return type.
79829 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79830
79831 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79832
79833 * stdlib/ucontext.h: Undo last change for makecontext.
79834
79835 2011-11-11 Andreas Schwab <schwab@redhat.com>
79836
79837 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79838
79839 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79840 * setjmp/setjmp.h: Mark functions as non-leaf.
79841 * setjmp/bits/setjmp2.h: Likewise.
79842 * stdlib/ucontext.h: Likewise.
79843
79844 2011-11-10 Andreas Schwab <schwab@redhat.com>
79845
79846 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79847 (reused_arena): Don't check arena limit.
79848 (arena_get2): Atomically check arena limit.
79849
79850 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79851
79852 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79853 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79854
79855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79856 instructions.
79857
79858 2011-11-07 Andreas Schwab <schwab@redhat.com>
79859
79860 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79861 handler when locking.
79862
79863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79864 Fix size of allocated buffer.
79865
79866 2011-11-04 Andreas Schwab <schwab@redhat.com>
79867
79868 [BZ #10103]
79869 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79870 declarations for long double functions.
79871 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79872
79873 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79874
79875 2011-11-03 Andreas Schwab <schwab@redhat.com>
79876
79877 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79878 installed.
79879
79880 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79881 is disabled.
79882
79883 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79884
79885 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79886
79887 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79888
79889 * include/alloca.h (stackinfo_alloca_round): Define.
79890 (extend_alloca): Use it.
79891 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79892 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79893 here.
79894
79895 * scripts/check-local-headers.sh: Ignore libaudit.h.
79896
79897 * nscd/Makefile (extra-objs): Make recursively expanded.
79898
79899 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79900
79901 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79903
79904 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79905 * posix/tst-rfc3484-2.c: Likewise.
79906 * posix/tst-rfc3484-3.c: Likewise.
79907
79908 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79909 process_vm_writev.
79910 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79911 process_vm_writev.
79912 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79913 process_vm_writev from libc using GLIBC_2.15 version.
79914
79915 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79916
79917 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79918
79919 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79920 stack usage.
79921
79922 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79923
79924 [BZ #13367]
79925 * nss/getent.c (initgroups_keys): Show error message in case no group
79926 names are given.
79927
79928 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79929 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79930 __bump_nl_timestamp.
79931 * nscd/connections (nscd_init): When host database is served open
79932 netlink socket and request notification about configuration changes.
79933 (main_loop_poll): Track netlink file descriptor and bump timestamp
79934 in case data becomes available.
79935 (main_loop_epoll): Likewise.
79936 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79937 (database_pers_head): Add extra_data fileds.
79938 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79939 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79940 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79941 Adjust caller.
79942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79943 in6ai data, call __free_in6ai.
79944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79945 Add -DHAVE_NETLINK.
79946 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79947 interface information. Reuse previous data if netlink timestamp
79948 is not changed.
79949 (__bump_nl_timestamp): New function.
79950 (__free_in6ai): New function.
79951
79952 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79953
79954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79955 close_not_cancel_no_status here.
79956 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79957
79958 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79959
79960 [BZ #13276]
79961 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79962 return value.
79963
79964 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79965 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79966 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79967
79968 2011-07-03 Andreas Jaeger <aj@suse.de>
79969
79970 [BZ #10709]
79971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79972 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79973 * math/libm-test.inc (sin_test): Add test case.
79974
79975 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79976
79977 [BZ #13337]
79978 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79979 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79980
79981 * elf/chroot_canon.c (chroot_canon): Cleanups.
79982
79983 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79984
79985 [BZ #13335]
79986 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79987 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79988
79989 * string/test-strchr.c: Make usable for strchrnul testing.
79990 * string/test-strchrnul.c: New file.
79991 * string/Makefile (strop-tests): Add strchrnul.
79992
79993 * po/it.po: Update from translation team.
79994 * po/es.po: Likewise.
79995
79996 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79997
79998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79999 the three constants needed as parameters. Drop the others.
80000 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80001 __m128i_strloadu_tolower.
80002 Create and initialize variable zero and use it in all the places
80003 where _mm_setzero_si128 was used.
80004
80005 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80006 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80007 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80008 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80009 anymore.
80010 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80011 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80012 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80013 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80014 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80015 __mpranred, __mptan.
80016 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80017 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80018 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80019 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80020 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80021 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80023 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80025
80026 2011-10-28 Andreas Schwab <schwab@redhat.com>
80027
80028 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80029 redefine if SHARED.
80030 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80031
80032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80033 wide char related routines to wcsmbs subdir.
80034
80035 2011-10-27 Andreas Schwab <schwab@redhat.com>
80036
80037 [BZ #13344]
80038 * misc/sys/cdefs.h (__THROWNL): Define.
80039 * posix/unistd.h: Use __THREADNL instead of __THREAD
80040 for memory synchronization functions.
80041
80042 2011-10-26 Roland McGrath <roland@hack.frob.com>
80043
80044 [BZ #13349]
80045 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80046 doesn't exist.
80047 * manual/stdio.texi (Obstack Streams): Node removed.
80048
80049 2011-10-26 Andreas Schwab <schwab@redhat.com>
80050
80051 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80053 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80054
80055 * math/math_private.h (math_force_eval): Allow non-addressable
80056 arguments.
80057 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80058
80059 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80060
80061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80062 file is not needed.
80063
80064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80065 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80068 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80071 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80072 Add AVX variants.
80073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80077 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80078 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80079 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80080 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80081 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80082 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80083 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80084 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80085 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80086 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80087 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80088 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80089 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80090 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80091 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80092
80093 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80094 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
80095
80096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80097 place. Use VEX encoding when compiling for AVX.
80098
80099 2011-10-25 Andreas Schwab <schwab@redhat.com>
80100
80101 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80102 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80103
80104 * string/test-strchr.c (do_test): Don't generate NUL bytes.
80105
80106 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80107
80108 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80109 useless if() expression.
80110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80111 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80116 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80117 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80118 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80120 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80124 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80129
80130 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80131
80132 2011-10-25 Andreas Schwab <schwab@redhat.com>
80133
80134 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80135 condition.
80136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80137
80138 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80139
80140 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80141 .text section. Avoid duplicate constants.
80142 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80144 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80151 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80152 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80154 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80155 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80157 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80158 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80159 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80165 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80166 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80167 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80168 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80169 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80170 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80175 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80176 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80177 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80178 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80180 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80181 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80182 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80183 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80184 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80185 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80186 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80187
80188 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80189
80190 * sysdeps/x86_64/dla.h: Move to ...
80191 * sysdeps/x86_64/fpu/dla.h: ...here.
80192 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80193 situations. Use __builtin_fma only for gcc 4.6 and up.
80194
80195 * config.make.in: Add have-mfma4 entry.
80196 * configure.in: Substitute libc_cv_cc_fma4.
80197 * math/Makefile (dbl-only-routines): Add sincostab.
80198 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80199 Use __sincostab not sincos.
80200 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80201 name is a macro.
80202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80206 using __copysign.
80207 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80208 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80209 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80210 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80211 and __inv.
80212 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80213 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80214 __copysign.
80215 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80216 define aliases when function name is a macro.
80217 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80218 sysdeps/ieee754/dbl-64/sincos.tbl.
80219 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80220 fma4-enabled routines.
80221 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80222 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80223 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80224 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80225 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80231 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80233 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80234 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80236 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80237 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80238 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80239 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80241 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80244 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80245 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80246 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80248 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80249 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80251
80252 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80253 rename.
80254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80262
80263 2011-10-24 Andreas Schwab <schwab@redhat.com>
80264
80265 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80266
80267 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80268
80269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80270
80271 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80272 prediction.
80273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80274
80275 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80276 Remove unused variable magic_bits.
80277 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80278
80279 * string/strnlen.c: Define and use STRNLEN macro.
80280 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80281 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80283 * wcsmbs/wcslen.c: Define and use WCSLEN.
80284 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80285 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80286 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80287 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80288 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80289 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80290 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80291
80292 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80293
80294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80295 strnlen-sse2-no-bsf.
80296 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80298 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80299 Add strnlen support.
80300 (USE_AS_STRNLEN): New macro.
80301 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80303 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80304 * sysdeps/x86_64/wcslen.S: New file.
80305
80306 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80307
80308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80309 XMM-moves are used for copying on small sizes.
80310
80311 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80312
80313 * wcsmbs/Makefile (strop-tests): Add wcschr.
80314 * wcsmbs/test-wcschr.c: New file.
80315 * string/test-strchr.c: Update.
80316 Add wcschr support.
80317 (WIDE): New macro.
80318
80319 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80320
80321 * wcsmbs/Makefile (strop-tests): Add wcslen.
80322 * wcsmbs/test-wcslen.c: New file.
80323 * string/test-strlen.c: Update.
80324 Add wcslen support.
80325 (WIDE): New macro.
80326
80327 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80328
80329 * po/it.po: Update from translation team.
80330
80331 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80332
80333 * sysdeps/x86_64/wcscmp.S: Update.
80334 Fix wrong comparison semantics.
80335 wcscmp shall use signed comparison not unsigned.
80336 Don't use substraction to avoid overflow bug.
80337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80338 * wcsmbc/wcscmp.c: Likewise.
80339 * string/test-strcmp.c: Likewise.
80340 Add new tests to check cases with negative values.
80341
80342 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80343
80344 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80345 * sysdeps/x86_64/dla.h: ...here. New file.
80346 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80351 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80355
80356 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80357
80358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80359 __ynl_finite aliases.
80360
80361 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80362
80363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80364
80365 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80366 define DLA_FMA.
80367 [DLA_FMA] (EMULV): Use DLA_FMA.
80368 [DLA_FMA] (MUL12): Use EMULV.
80369 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80370 that are not needed.
80371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80378
80379 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80380
80381 * math/s_nan.c: Undef __nan.
80382 * math/s_nanf.c: Undef __nanf.
80383 * math/s_nanl.c: Undef __nanl.
80384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80385 "math_private.h".
80386
80387 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80388
80389 * math/s_catan.c: Add branch predictions.
80390 * math/s_catanf.c: Likewise.
80391 * math/s_catanh.c: Likewise.
80392 * math/s_catanhf.c: Likewise.
80393 * math/s_catanhl.c: Likewise.
80394 * math/s_catanl.c: Likewise.
80395 * math/s_cexp.c: Likewise.
80396 * math/s_cexpf.c: Likewise.
80397 * math/s_cexpl.c: Likewise.
80398 * math/s_clog.c: Likewise.
80399 * math/s_clog10.c: Likewise.
80400 * math/s_clog10f.c: Likewise.
80401 * math/s_clog10l.c: Likewise.
80402 * math/s_clogf.c: Likewise.
80403 * math/s_clogl.c: Likewise.
80404 * math/s_csqrt.c: Likewise.
80405 * math/s_csqrtf.c: Likewise.
80406 * math/s_csqrtl.c: Likewise.
80407 * math/s_ctanf.c: Likewise.
80408 * math/s_ctanh.c: Likewise.
80409 * math/s_ctanhf.c: Likewise.
80410 * math/s_ctanhl.c: Likewise.
80411 * math/s_ctanl.c: Likewise.
80412
80413 * math/math_private.h: Define __nan, __nanf, __nanl.
80414 * math/s_cacosh.c: Include <math_private.h>.
80415 * math/s_cacoshl.c: Likewise.
80416 * math/s_casinh.c: Likewise.
80417 * math/s_casinhf.c: Likewise.
80418 * math/s_casinhl.c: Likewise.
80419 * math/s_ccos.c: Rely entire on ccosh.
80420 * math/s_ccosf.c: Rely entire on ccoshf.
80421 * math/s_ccosl.c: Rely entirely on ccoshl.
80422 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80423 Remove tests for FE_INVALID.
80424 * math/s_ccoshf.c: Likewise.
80425 * math/s_ccoshl.c: Likewise.
80426 * math/s_csin.c: Likewise.
80427 * math/s_csinf.c: Likewise.
80428 * math/s_csinh.c Likewise.
80429 * math/s_csinhf.c: Likewise.
80430 * math/s_csinhl.c: Likewise.
80431 * math/s_csinl.c: Likewise.
80432 * math/s_ctan.c: Likewise.
80433 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80434 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80436
80437 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80438
80439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80440 compilation problems.
80441
80442 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80443 __builtin_expect.
80444
80445 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80446
80447 * sysdeps/i386/configure.in: Test for -mfma4 option.
80448 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80449 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80450 COMMON_CPUID_INDEX_80000001.
80451 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80452 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80453 use it if FMA3 is not supported.
80454 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80455
80456 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80457 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80458
80459 2011-10-20 Andreas Schwab <schwab@redhat.com>
80460
80461 [BZ #12892]
80462 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80463 it would create a cycle with a link time dependency.
80464
80465 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80466
80467 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80468 instruction.
80469 * string/Makefile (strop-tests): Add rawmemchr.
80470 * string/test-rawmemchr.c: New file.
80471
80472 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80474 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80475 when compiling str{,n}casecmp and when AVX is available. Hook up
80476 new optimized code in initializers.
80477
80478 2011-10-19 Andreas Schwab <schwab@redhat.com>
80479
80480 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80481 __feraiseexcept instead of feraiseexcept.
80482
80483 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80484
80485 * math/math_private.h: Define defaults for libc_fetestexcept and
80486 libc_feupdateenv.
80487 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80488 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80489 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80490 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80491 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80492 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80493 libc_fetestexcept and libc_feupdateenv.
80494
80495 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80496 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80497 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80498 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80499 libc_feholdexcept_setround.
80500
80501 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80502 Add s_nearbyint-c and s_nearbyintf-c.
80503 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80504 nearbyintf inlines.
80505 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80507 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80509
80510 * math/math_private.h: Define defaults for libc_fegetround,
80511 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80512 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80513 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80515 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80516 standard functions.
80517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80518 Remove comments and hacks for old compiler versions.
80519 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80520 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80521 libc_feholdexceptl.
80522
80523 2011-10-18 Andreas Schwab <schwab@redhat.com>
80524
80525 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80526 (__feraiseexcept_renamed): Add __NTH.
80527 (feraiseexcept): Add __NTH. Rename local variables to fix
80528 namespace violations.
80529
80530 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80531
80532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80533
80534 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80535
80536 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80537 recently added interfaces.
80538 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80539
80540 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80541 about macro parameter expansion.
80542
80543 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80544 __NO_MATH_INLINES is defined. Cleanups.
80545
80546 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80547 and __floorf is target has SSE4.1.
80548 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80549 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80550 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80551 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80552
80553 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80554 name.
80555 (floorf): Likewise.
80556
80557 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80558
80559 2011-10-17 Andreas Schwab <schwab@redhat.com>
80560
80561 * misc/sys/cdefs.h: Fix last change.
80562
80563 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80564 database lookup.
80565
80566 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80567
80568 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80569
80570 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80572 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80573 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80578 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80579 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80580 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80581 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80582 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80583 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80584 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80585 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80586 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80587 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80588 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80589 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80590 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80591 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80592
80593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80594 ceil, ceilf, floor, floorf.
80595
80596 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80597 Perform IRELATIVE relocations last.
80598
80599 * elf/do-rel.h: Add another parameter nrelative, replacing the
80600 local variable with the same name. Change name of the function
80601 to end in Rel or Rela (uppercase).
80602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80603 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80604 elf_dynamic_do_##reloc function.
80605
80606 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80607
80608 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80609 is sufficient, at least on modern CPUs.
80610
80611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80612
80613 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80615
80616 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80617 __expl_finite.
80618 * math/bits/math-finite.h: Add entries for exp.
80619 * math/e_expl.c: Add __*_finite alias.
80620 * sysdeps/i386/fpu/e_exp.S: Likewise.
80621 * sysdeps/i386/fpu/e_expf.S: Likewise.
80622 * sysdeps/i386/fpu/e_expl.c: Likewise.
80623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80624 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80627 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80628 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80629 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80630
80631 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80632 is sufficient, at least on modern CPUs.
80633
80634 * ctype/ctype-info.c (__ctype_init): Define.
80635 * include/ctype.h (__ctype_init): Declare.
80636 (__ctype_b_loc): The variable is always initialized.
80637 (__ctype_toupper_loc): Likewise.
80638 (__ctype_tolower_loc): Likewise.
80639 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80640 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80641
80642 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80643
80644 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80645
80646 * configure.in: Also look in $cxxmachine/include for C++ system
80647 headers.
80648
80649 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80650
80651 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80652 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80653 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80654 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80656 (USE_AS_WMEMCMP): New macro.
80657 Fixing indents.
80658 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80659 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80660 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80661 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80663 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80664 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80666 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80667 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80669 (USE_AS_WMEMCMP): New macro.
80670 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80671 * sysdeps/string/test-memcmp.c: Update.
80672 Fix simple_wmemcmp.
80673 Add new tests.
80674 * wcsmbs/wmemcmp.c: Update.
80675 (WMEMCMP): New macro.
80676 Fix overflow bug.
80677
80678 2011-10-12 Andreas Jaeger <aj@suse.de>
80679
80680 [BZ #13268]
80681 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80682
80683 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80684
80685 * libio/iofwide.c (do_length): Avoid warning.
80686
80687 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80688
80689 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80690
80691 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80692
80693 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80694 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80695 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80696 * sysdeps/i386/i686/fpu/e_log.S: New file.
80697 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80698 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80699
80700 * ctype/ctype.h: Add support for inlined isXXX functions when
80701 compiling C++ code.
80702
80703 2011-10-14 Andreas Schwab <schwab@redhat.com>
80704
80705 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80706
80707 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80708
80709 2011-10-13 Roland McGrath <roland@hack.frob.com>
80710
80711 [BZ #13291]
80712 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80713
80714 2011-10-13 Andreas Schwab <schwab@redhat.com>
80715
80716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80717 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80718 feraiseexcept.
80719
80720 * sysdeps/x86_64/memrchr.S: Check for zero size.
80721
80722 * string/stratcliff.c: Add memrchr tests.
80723
80724 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80725
80726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80727 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80728 rawmemchr-sse2 rawmemchr-sse2-bsf.
80729 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80730 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80731 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80732 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80733 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80734 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80735 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80736 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80737 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80738 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80739 * string/memrchr.c (MEMRCHR): New macro.
80740
80741 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80742
80743 Add integration with gcc's -ffinite-math-only and optimize wrapper
80744 functions in libm.
80745 * Versions.def: Define GLIBC_2.15 version for libm.
80746 * math/Makefile (headers): Add bits/math-finite.h.
80747 * math/bits/math-finite.h: New file.
80748 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80749 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80750 * math/e_acoshl.c: Add __*_finite alias.
80751 * math/e_acosl.c: Likewise.
80752 * math/e_asinl.c: Likewise.
80753 * math/e_atan2l.c: Likewise.
80754 * math/e_atanhl.c: Likewise.
80755 * math/e_coshl.c: Likewise.
80756 * math/e_exp10.c: Likewise.
80757 * math/e_exp10f.c: Likewise.
80758 * math/e_exp10l.c: Likewise.
80759 * math/e_exp2l.c: Likewise.
80760 * math/e_fmodl.c: Likewise.
80761 * math/e_gammal_r.c: Likewise.
80762 * math/e_hypotl.c: Likewise.
80763 * math/e_j0l.c: Likewise.
80764 * math/e_j1l.c: Likewise.
80765 * math/e_jnl.c: Likewise.
80766 * math/e_lgammal_r.c: Likewise.
80767 * math/e_log10l.c: Likewise.
80768 * math/e_log2l.c: Likewise.
80769 * math/e_logl.c: Likewise.
80770 * math/e_powl.c: Likewise.
80771 * math/e_sinhl.c: Likewise.
80772 * math/e_sqrtl.c: Likewise.
80773 * math/e_scalb.c: Completely rewritten and optimized.
80774 * math/e_scalbf.c: Likewise.
80775 * math/e_scalbl.c: Likewise.
80776 * math/w_acos.c: Likewise.
80777 * math/w_acosf.c: Likewise.
80778 * math/w_acosl.c: Likewise.
80779 * math/w_acosh.c: Likewise.
80780 * math/w_acoshf.c: Likewise.
80781 * math/w_acoshl.c: Likewise.
80782 * math/w_asin.c: Likewise.
80783 * math/w_asinf.c: Likewise.
80784 * math/w_asinl.c: Likewise.
80785 * math/w_atan2.c: Likewise.
80786 * math/w_atan2f.c: Likewise.
80787 * math/w_atan2l.c: Likewise.
80788 * math/w_atanh.c: Likewise.
80789 * math/w_atanhf.c: Likewise.
80790 * math/w_atanhl.c: Likewise.
80791 * math/w_exp10.c: Likewise.
80792 * math/w_exp10f.c: Likewise.
80793 * math/w_exp10l.c: Likewise.
80794 * math/w_fmod.c: Likewise.
80795 * math/w_fmodf.c: Likewise.
80796 * math/w_fmodl.c: Likewise.
80797 * math/w_j0.c: Likewise.
80798 * math/w_j0f.c: Likewise.
80799 * math/w_j0l.c: Likewise.
80800 * math/w_j1.c: Likewise.
80801 * math/w_j1f.c: Likewise.
80802 * math/w_j1l.c: Likewise.
80803 * math/w_jn.c: Likewise.
80804 * math/w_jnf.c: Likewise.
80805 * math/w_log.c: Likewise.
80806 * math/w_logf.c: Likewise.
80807 * math/w_logl.c: Likewise.
80808 * math/w_log10.c: Likewise.
80809 * math/w_log10f.c: Likewise.
80810 * math/w_log10l.c: Likewise.
80811 * math/w_log2.c: Likewise.
80812 * math/w_log2f.c: Likewise.
80813 * math/w_log2l.c: Likewise.
80814 * math/w_pow.c: Likewise.
80815 * math/w_powf.c: Likewise.
80816 * math/w_powl.c: Likewise.
80817 * math/w_remainder.c: Likewise.
80818 * math/w_remainderf.c: Likewise.
80819 * math/w_remainderl.c: Likewise.
80820 * math/w_scalb.c: Likewise.
80821 * math/w_scalbf.c: Likewise.
80822 * math/w_scalbl.c: Likewise.
80823 * math/w_sqrt.c: Likewise.
80824 * math/w_sqrtf.c: Likewise.
80825 * math/w_sqrtl.c: Likewise.
80826 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80827 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80828 used.
80829 * math/math_private.h: Declare __kernel_standard_f.
80830 * math/w_cosh.c: Remove cruft and optimize a bit.
80831 * math/w_coshf.c: Likewise.
80832 * math/w_coshl.c: Likewise.
80833 * math/w_exp2.c: Likewise.
80834 * math/w_exp2f.c: Likewise.
80835 * math/w_exp2l.c: Likewise.
80836 * math/w_hypot.c: Likewise.
80837 * math/w_hypotf.c: Likewise.
80838 * math/w_hypotl.c: Likewise.
80839 * math/w_lgamma.c: Likewise.
80840 * math/w_lgamma_r.c: Likewise.
80841 * math/w_lgammaf.c: Likewise.
80842 * math/w_lgammaf_r.c: Likewise.
80843 * math/w_lgammal.c: Likewise.
80844 * math/w_lgammal_r.c: Likewise.
80845 * math/w_sinh.c: Likewise.
80846 * math/w_sinhf.c: Likewise.
80847 * math/w_sinhl.c: Likewise.
80848 * math/w_tgamma.c: Likewise.
80849 * math/w_tgammaf.c: Likewise.
80850 * math/w_tgammal.c: Likewise.
80851 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80853 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80854 Minor optimizations. Pretty printing. Remove cruft.
80855 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80859 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80860 * sysdeps/i386/fpu/e_asin.S: Likewise.
80861 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80862 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80863 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80864 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80865 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80867 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80868 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80869 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80870 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80871 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80872 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80873 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80874 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80875 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80876 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80877 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80878 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80879 * sysdeps/i386/fpu/e_log.S: Likewise.
80880 * sysdeps/i386/fpu/e_log10.S: Likewise.
80881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80883 * sysdeps/i386/fpu/e_log2.S: Likewise.
80884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80885 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80886 * sysdeps/i386/fpu/e_logf.S: Likewise.
80887 * sysdeps/i386/fpu/e_logl.S: Likewise.
80888 * sysdeps/i386/fpu/e_pow.S: Likewise.
80889 * sysdeps/i386/fpu/e_powf.S: Likewise.
80890 * sysdeps/i386/fpu/e_powl.S: Likewise.
80891 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80892 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80893 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80897 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80898 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80899 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80900 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80903 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80904 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80905 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80906 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80907 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80909 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80910 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80917 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80921 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80922 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80923 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80924 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80925 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80927 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80929 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80930 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80934 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80935 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80936 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80937 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80938 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80939 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80940 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80941 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80942 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80943 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80944 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80945 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80946 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80947 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80948 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80949 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80959 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80960 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80964 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80968 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80970 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80972 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80974 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80977 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80979 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80981 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80989 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80993 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80997 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80998 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80999 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81000 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81001 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81002 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81003 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81004 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81005 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81008 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81010 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
81011 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81012 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81013 (__isnanf): Likewise.
81014 (__isinf_ns): Likewise.
81015 (__isinf_nsf): Likewise.
81016 (__finite): Likewise.
81017 (__finitef): Likewise.
81018 (__ieee754_sqrt): Define as macro.
81019 (__ieee754_sqrtf): Define as macro.
81020 (__ieee754_sqrtl): Define as macro.
81021 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81022 inlined copy.
81023 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81024 __FINITE_MATH_ONLY__ consistent.
81025 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81026
81027 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
81028
81029 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81030 of rawmemchr.
81031
81032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81033
81034 2011-10-09 Ulrich Drepper <drepper@gmail.com>
81035
81036 * po/ja.po: Update from translation team.
81037
81038 2011-10-08 Roland McGrath <roland@hack.frob.com>
81039
81040 * locale/programs/locarchive.c (prepare_address_space): New function.
81041 (create_archive, enlarge_archive, open_archive): Use it.
81042
81043 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81044 inside [SHARED], where it is used.
81045
81046 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81047
81048 * nss/getent.c (netgroup_keys): Remove unused variable.
81049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81050
81051 2011-10-08 Ulrich Drepper <drepper@gmail.com>
81052
81053 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81057 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81058 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81059 * math/Makefile (libm-calls): Add s_isinf_ns.
81060 * math/divtc3.c: Use __isinf_nsl instead of isinf.
81061 * math/multc3.c: Likewise.
81062 * math/s_casin.c: Likewise.
81063 * math/s_casinf.c: Likewise.
81064 * math/s_casinl.c: Likewise.
81065 * math/s_ccos.c: Likewise.
81066 * math/s_ccosf.c: Likewise.
81067 * math/s_ccosl.c: Likewise.
81068 * math/s_ctan.c: Likewise.
81069 * math/s_ctanf.c: Likewise.
81070 * math/s_ctanh.c: Likewise.
81071 * math/s_ctanhf.c: Likewise.
81072 * math/s_ctanhl.c: Likewise.
81073 * math/s_ctanl.c: Likewise.
81074 * math/w_fmod.c: Likewise.
81075 * math/w_fmodf.c: Likewise.
81076 * math/w_fmodl.c: Likewise.
81077 * math/w_remainder.c: Likewise.
81078 * math/w_remainderf.c: Likewise.
81079 * math/w_remainderl.c: Likewise.
81080 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81081 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81084 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81085 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81086 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81087 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81088
81089 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81090 of the number.
81091 * stdio-common/printf_fphex.c: Likewise.
81092 * stdio-common/printf_size.c: Likewise.
81093
81094 * math/e_exp10.c: Include math_private.h using <...> not "...".
81095 * math/e_exp10f.c: Likewise.
81096 * math/e_exp10l.c: Likewise.
81097 * math/e_exp2l.c: Likewise.
81098 * math/e_j0l.c: Likewise.
81099 * math/e_j1l.c: Likewise.
81100 * math/e_jnl.c: Likewise.
81101 * math/e_lgammal_r.c: Likewise.
81102 * math/e_rem_pio2l.c: Likewise.
81103 * math/e_scalb.c: Likewise.
81104 * math/e_scalbf.c: Likewise.
81105 * math/e_scalbl.c: Likewise.
81106 * math/k_cosl.c: Likewise.
81107 * math/k_sinl.c: Likewise.
81108 * math/k_tanl.c: Likewise.
81109 * math/s_cacoshf.c: Likewise.
81110 * math/s_catan.c: Likewise.
81111 * math/s_catanf.c: Likewise.
81112 * math/s_catanh.c: Likewise.
81113 * math/s_catanhf.c: Likewise.
81114 * math/s_catanhl.c: Likewise.
81115 * math/s_catanl.c: Likewise.
81116 * math/s_ccosh.c: Likewise.
81117 * math/s_ccoshf.c: Likewise.
81118 * math/s_ccoshl.c: Likewise.
81119 * math/s_cexp.c: Likewise.
81120 * math/s_cexpf.c: Likewise.
81121 * math/s_cexpl.c: Likewise.
81122 * math/s_clog.c: Likewise.
81123 * math/s_clog10.c: Likewise.
81124 * math/s_clog10f.c: Likewise.
81125 * math/s_clog10l.c: Likewise.
81126 * math/s_clogf.c: Likewise.
81127 * math/s_clogl.c: Likewise.
81128 * math/s_csin.c: Likewise.
81129 * math/s_csinf.c: Likewise.
81130 * math/s_csinh.c: Likewise.
81131 * math/s_csinhf.c: Likewise.
81132 * math/s_csinhl.c: Likewise.
81133 * math/s_csinl.c: Likewise.
81134 * math/s_csqrt.c: Likewise.
81135 * math/s_csqrtf.c: Likewise.
81136 * math/s_csqrtl.c: Likewise.
81137 * math/s_ctan.c: Likewise.
81138 * math/s_ctanf.c: Likewise.
81139 * math/s_ctanh.c: Likewise.
81140 * math/s_ctanhf.c: Likewise.
81141 * math/s_ctanhl.c: Likewise.
81142 * math/s_ctanl.c: Likewise.
81143 * math/s_ldexp.c: Likewise.
81144 * math/s_ldexpf.c: Likewise.
81145 * math/s_ldexpl.c: Likewise.
81146 * math/s_significand.c: Likewise.
81147 * math/s_significandf.c: Likewise.
81148 * math/s_significandl.c: Likewise.
81149 * math/w_acos.c: Likewise.
81150 * math/w_acosf.c: Likewise.
81151 * math/w_acosh.c: Likewise.
81152 * math/w_acoshf.c: Likewise.
81153 * math/w_acoshl.c: Likewise.
81154 * math/w_acosl.c: Likewise.
81155 * math/w_asin.c: Likewise.
81156 * math/w_asinf.c: Likewise.
81157 * math/w_asinl.c: Likewise.
81158 * math/w_atan2.c: Likewise.
81159 * math/w_atan2f.c: Likewise.
81160 * math/w_atan2l.c: Likewise.
81161 * math/w_atanh.c: Likewise.
81162 * math/w_atanhf.c: Likewise.
81163 * math/w_atanhl.c: Likewise.
81164 * math/w_cosh.c: Likewise.
81165 * math/w_coshf.c: Likewise.
81166 * math/w_coshl.c: Likewise.
81167 * math/w_dremf.c: Likewise.
81168 * math/w_exp10.c: Likewise.
81169 * math/w_exp10f.c: Likewise.
81170 * math/w_exp10l.c: Likewise.
81171 * math/w_exp2.c: Likewise.
81172 * math/w_exp2f.c: Likewise.
81173 * math/w_fmod.c: Likewise.
81174 * math/w_fmodf.c: Likewise.
81175 * math/w_fmodl.c: Likewise.
81176 * math/w_hypot.c: Likewise.
81177 * math/w_hypotf.c: Likewise.
81178 * math/w_hypotl.c: Likewise.
81179 * math/w_j0.c: Likewise.
81180 * math/w_j0f.c: Likewise.
81181 * math/w_j0l.c: Likewise.
81182 * math/w_j1.c: Likewise.
81183 * math/w_j1f.c: Likewise.
81184 * math/w_j1l.c: Likewise.
81185 * math/w_jn.c: Likewise.
81186 * math/w_jnf.c: Likewise.
81187 * math/w_jnl.c: Likewise.
81188 * math/w_lgamma.c: Likewise.
81189 * math/w_lgamma_r.c: Likewise.
81190 * math/w_lgammaf.c: Likewise.
81191 * math/w_lgammaf_r.c: Likewise.
81192 * math/w_lgammal.c: Likewise.
81193 * math/w_lgammal_r.c: Likewise.
81194 * math/w_log.c: Likewise.
81195 * math/w_log10.c: Likewise.
81196 * math/w_log10f.c: Likewise.
81197 * math/w_log10l.c: Likewise.
81198 * math/w_log2.c: Likewise.
81199 * math/w_log2f.c: Likewise.
81200 * math/w_log2l.c: Likewise.
81201 * math/w_logf.c: Likewise.
81202 * math/w_logl.c: Likewise.
81203 * math/w_pow.c: Likewise.
81204 * math/w_powf.c: Likewise.
81205 * math/w_powl.c: Likewise.
81206 * math/w_remainder.c: Likewise.
81207 * math/w_remainderf.c: Likewise.
81208 * math/w_remainderl.c: Likewise.
81209 * math/w_scalb.c: Likewise.
81210 * math/w_scalbf.c: Likewise.
81211 * math/w_scalbl.c: Likewise.
81212 * math/w_sinh.c: Likewise.
81213 * math/w_sinhf.c: Likewise.
81214 * math/w_sinhl.c: Likewise.
81215 * math/w_sqrt.c: Likewise.
81216 * math/w_sqrtf.c: Likewise.
81217 * math/w_sqrtl.c: Likewise.
81218 * math/w_tgamma.c: Likewise.
81219 * math/w_tgammaf.c: Likewise.
81220 * math/w_tgammal.c: Likewise.
81221
81222 * po/ja.po: Update from translation team.
81223
81224 2011-09-29 Andreas Jaeger <aj@suse.de>
81225
81226 [BZ #13179]
81227 * sunrpc/netname.c (netname2host): Fix logic.
81228
81229 [BZ #6779]
81230 [BZ #6783]
81231 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81232 correctly.
81233 * math/w_remainder.c (__remainder): Likewise.
81234 * math/w_remainderf.c (__remainderf): Likewise.
81235 * math/libm-test.inc (remainder_test): Add test cases.
81236
81237 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81238
81239 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81240 sdiv_qrnnd.
81241
81242 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81243
81244 * string/test-memcmp.c: Avoid unncessary #defines.
81245 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81246
81247 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81248
81249 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81250 Use new sse2 version for core i3 - i7 as it's faster
81251 than sse42 version.
81252 (bit_Prefer_PMINUB_for_stringop): New.
81253 * sysdeps/x86_64/rawmemchr.S: Update.
81254 Replace with faster SSE2 version.
81255 * sysdeps/x86_64/memrchr.S: New file.
81256 * sysdeps/x86_64/memchr.S: Update.
81257 Replace with faster SSE2 version.
81258
81259 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81260
81261 * elf/dl-load.c (lose): Add cast to avoid warning.
81262
81263 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81264
81265 * po/ca.po: Update from translation team.
81266
81267 * inet/getnetgrent_r.c: Hook up nscd.
81268 * nscd/Makefile (routines): Add nscd_netgroup.
81269 (nscd-modules): Add netgroupcache.
81270 (CFLAGS-netgroupcache.c): Define.
81271 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81272 (cache_search): Add const to second parameter.
81273 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81274 INNETGR.
81275 (dbs): Add netgrdb entry.
81276 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81277 (verify_persistent_db): Handle netgrdb.
81278 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81279 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81280 GETFDNETGR.
81281 (netgroup_response_header): Define.
81282 (innetgroup_response_header): Define.
81283 (datahead): Add netgroup_response_header and innetgroup_response_header
81284 elements.
81285 * nscd/nscd.conf: Add entries for netgroup cache.
81286 * nscd/nscd.h (dbtype): Add netgrdb.
81287 (_PATH_NSCD_NETGROUP_DB): Define.
81288 (netgroup_iov_disabled): Declare.
81289 (xmalloc, xcalloc, xrealloc): Move declarations here.
81290 (cache_search): Adjust prototype.
81291 Add netgroup-related prototypes.
81292 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81293 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81294 (__nscd_innetgr): Declare.
81295 * nscd/selinux.c (perms): Use access_vector_t as element type and
81296 add netgroup-related initializers.
81297 * nscd/netgroupcache.c: New file.
81298 * nscd/nscd_netgroup.c: New file.
81299 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81300 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81301 For four parameters use innetgr.
81302 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81303 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81304 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81305 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81306
81307 * nscd/connections.c (register_traced_file): Don't register file
81308 for disabled databases.
81309
81310 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81311
81312 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81313
81314 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81315 from tree and freeing node.
81316
81317 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81318
81319 * nss/nsswitch.c (__nss_database_lookup): Handle
81320 nss_parse_service_list out of memory case.
81321
81322 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81323
81324 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81325 out of memory case.
81326
81327 2011-10-04 Andreas Schwab <schwab@redhat.com>
81328
81329 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81330 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81331 pass it down.
81332 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81333 elf_machine_rela, elf_machine_lazy_rel.
81334 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81335 (ELF_DYNAMIC_DO_REL): Likewise.
81336 (ELF_DYNAMIC_DO_RELA): Likewise.
81337 (ELF_DYNAMIC_RELOCATE): Likewise.
81338 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81339 to ELF_DYNAMIC_DO_REL.
81340 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81341 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81342 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81343 elf_machine_rela.
81344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81345 skip_ifunc, don't call ifunc function if non-zero.
81346 (elf_machine_rela): Likewise.
81347 (elf_machine_lazy_rel): Likewise.
81348 (elf_machine_lazy_rela): Likewise.
81349 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81350 (elf_machine_lazy_rel): Likewise.
81351 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81352 Likewise.
81353 (elf_machine_lazy_rel): Likewise.
81354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81355 Likewise.
81356 (elf_machine_lazy_rel): Likewise.
81357 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81358 (elf_machine_lazy_rel): Likewise.
81359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81360 (elf_machine_lazy_rel): Likewise.
81361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81362 (elf_machine_lazy_rel): Likewise.
81363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81364 (elf_machine_lazy_rel): Likewise.
81365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81366 (elf_machine_lazy_rel): Likewise.
81367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81368 (elf_machine_lazy_rel): Likewise.
81369
81370 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81371
81372 * nss/nss_files/files-init.c (_nss_files_init): Use static
81373 initialization for all the *_traced_file variables.
81374
81375 2011-09-28 Andreas Schwab <schwab@redhat.com>
81376
81377 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81378
81379 2011-09-27 Roland McGrath <roland@hack.frob.com>
81380
81381 [BZ #13226]
81382 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81383
81384 2011-09-27 Andreas Schwab <schwab@redhat.com>
81385
81386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81387 Reread the line before reparsing it.
81388
81389 2011-09-26 Andreas Schwab <schwab@redhat.com>
81390
81391 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81392
81393 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81394 Maxim Kuvyrkov <maxim@codesourcery.com>
81395 Joseph Myers <joseph@codesourcery.com>
81396
81397 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81398 if needed for __stack_chk_guard.
81399
81400 2011-09-19 Roland McGrath <roland@hack.frob.com>
81401
81402 * sysdeps/posix/spawni.c (script_execute): Always define it.
81403 It will be optimized away if unused.
81404 (maybe_script_execute): New function.
81405 (__spawni): Call it.
81406
81407 * Makerules: Don't include tls.make.
81408 (config-tls): Always set to thread.
81409 * tls.make.c: File removed.
81410
81411 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81412
81413 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81414 * config.make.in (CPPFLAGS-config): New substituted variable.
81415
81416 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81417
81418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81419
81420 [BZ #13192]
81421 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81422 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81423
81424 2011-09-15 Roland McGrath <roland@hack.frob.com>
81425
81426 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81427 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81429 (CALL_FAIL): Likewise.
81430 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81431 (CALL_FAIL): Macro removed.
81432 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81433
81434 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81435
81436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81437 for __FINITE_MATH_ONLY__ == 1.
81438
81439 2011-09-15 Andreas Schwab <schwab@redhat.com>
81440
81441 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81442 __ieee754_sqrt instead of sqrt.
81443 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81444 __ieee754_sqrtf instead of sqrtf.
81445 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81446 __floorf instead of floorf.
81447 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81448 __floorf, __truncf instead of floorf, truncf.
81449
81450 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81451
81452 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81453
81454 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81455 __extern_always_inline.
81456 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81457 32-bit.
81458
81459 2011-09-14 Andreas Schwab <schwab@redhat.com>
81460
81461 * elf/rtld.c (dl_main): Also relocate in dependency order when
81462 doing symbol dependency testing.
81463
81464 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81465
81466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81467 Always define `refsym'.
81468
81469 2011-09-13 Andreas Schwab <schwab@redhat.com>
81470
81471 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81472 (__FD_ELT): Renamed from __FDELT.
81473 * misc/bits/select2.h (__FD_ELT): Likewise.
81474 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81475 __FD_MASK instead of __FDELT, __FDMASK.
81476 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81477 Likewise.
81478 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81479 Likewise.
81480
81481 * elf/Makefile (gen-ldd): Fix pattern.
81482
81483 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81484 (init_tls): Likewise.
81485
81486 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81487
81488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81489
81490 2011-09-12 Andreas Schwab <schwab@redhat.com>
81491
81492 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81493 `struct cmsghdr *' instead of `void *'.
81494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81495 Likewise.
81496
81497 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81498
81499 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81500 if non-absolute.
81501 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81502 ldd_rewrite_script.
81503
81504 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81505
81506 * configure.in: Remove --with-tls option.
81507 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81508 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81509 out in case it is missing.
81510 * sysdeps/ia64/elf/configure.in: Likewise.
81511 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81512 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81513 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81514 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81515 * sysdeps/sh/elf/configure.in: Likewise.
81516 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81517 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81518 * sysdeps/x86_64/elf/configure.in: Likewise.
81519 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81520 * sysdeps/mach/hurd/tls.h: Likewise.
81521
81522 [BZ #13067]
81523 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81524
81525 [BZ #13090]
81526 * configure.in: Fix use of AC_INIT.
81527
81528 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81529
81530 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81531
81532 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81533 __set_errno.
81534 * malloc/hooks.c: Likewise.
81535
81536 [BZ #11929]
81537 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81538 variables statically.
81539 (narenas): Initialize.
81540 (list_lock): Initialize.
81541 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81542 initializtion of main_arena and list_lock. Small cleanups.
81543 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81544 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81545 Add initializers to main_arena and mp_.
81546 (malloc_state): Remove pagesize member. Change all users to use
81547 GLRO(dl_pagesize).
81548
81549 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81550 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81551 is always initialized.
81552
81553 * malloc/malloc.c: Removed unused configurations and dead code.
81554 * malloc/arena.c: Likewise.
81555 * malloc/hooks.c: Likewise.
81556 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81557
81558 * include/tls.h: Removed. USE___THREAD must always be defined.
81559 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81560 * elf/dl-libc.c: Likewise.
81561 * elf/dl-tsd.c: Likewise.
81562 * include/errno.h: Likewise.
81563 * include/netdb.h: Likewise.
81564 * include/resolv.h: Likewise.
81565 * inet/herrno-loc.c: Likewise.
81566 * inet/herrno.c: Likewise.
81567 * malloc/arena.c: Likewise.
81568 * malloc/hooks.c: Likewise.
81569 * malloc/malloc.c: Likewise.
81570 * resolv/res-state.c: Likewise.
81571 * resolv/res_libc.c: Likewise.
81572 * sysdeps/i386/dl-machine.h: Likewise.
81573 * sysdeps/ia64/dl-machine.h: Likewise.
81574 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81575 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81578 * sysdeps/sh/dl-machine.h: Likewise.
81579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81580 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81581 * sysdeps/unix/i386/sysdep.S: Likewise.
81582 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81583 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81584 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81588 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81593 * sysdeps/x86_64/dl-machine.h: Likewise.
81594 * tls.make.c: Likewise.
81595
81596 * configure.in: Remove --with-__thread option. Make tests for
81597 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81598 tls_model attribute fail if no support is available. Remove
81599 USE_IN_LIBIO.
81600 * Makeconfig: Adjust for dropped configure option. All features are
81601 now mandatory.
81602 * Makerules: Likewise.
81603 * Versions.def: Likewise.
81604 * argp/argp-fmtstream.c: Likewise.
81605 * argp/argp-fmtstream.h: Likewise.
81606 * argp/argp-help.c: Likewise.
81607 * assert/assert.c: Likewise.
81608 * config.h.in: Likewise.
81609 * config.make.in: Likewise.
81610 * configure: Likewise.
81611 * configure.in: Likewise.
81612 * csu/Versions: Likewise.
81613 * csu/init.c: Likewise.
81614 * elf/tst-audit2.c: Likewise.
81615 * elf/tst-tls10.c: Likewise.
81616 * elf/tst-tls10.h: Likewise.
81617 * elf/tst-tls11.c: Likewise.
81618 * elf/tst-tls12.c: Likewise.
81619 * elf/tst-tls14.c: Likewise.
81620 * elf/tst-tlsmod11.c: Likewise.
81621 * elf/tst-tlsmod12.c: Likewise.
81622 * elf/tst-tlsmod13.c: Likewise.
81623 * elf/tst-tlsmod13a.c: Likewise.
81624 * elf/tst-tlsmod14a.c: Likewise.
81625 * elf/tst-tlsmod15b.c: Likewise.
81626 * elf/tst-tlsmod16a.c: Likewise.
81627 * elf/tst-tlsmod16b.c: Likewise.
81628 * elf/tst-tlsmod7.c: Likewise.
81629 * elf/tst-tlsmod8.c: Likewise.
81630 * elf/tst-tlsmod9.c: Likewise.
81631 * gmon/gmon.c: Likewise.
81632 * grp/fgetgrent_r.c: Likewise.
81633 * grp/putgrent.c: Likewise.
81634 * hurd/fopenport.c: Likewise.
81635 * include/libc-symbols.h: Likewise.
81636 * include/tls.h: Likewise.
81637 * intl/gettextP.h: Likewise.
81638 * intl/loadinfo.h: Likewise.
81639 * locale/global-locale.c: Likewise.
81640 * locale/localeinfo.h: Likewise.
81641 * mach/devstream.c: Likewise.
81642 * malloc/arena.c: Likewise.
81643 * malloc/set-freeres.c: Likewise.
81644 * misc/err.c: Likewise.
81645 * misc/getttyent.c: Likewise.
81646 * misc/mntent_r.c: Likewise.
81647 * posix/getopt.c: Likewise.
81648 * posix/wordexp.c: Likewise.
81649 * pwd/fgetpwent_r.c: Likewise.
81650 * resolv/Versions: Likewise.
81651 * resolv/res_hconf.c: Likewise.
81652 * shadow/fgetspent_r.c: Likewise.
81653 * shadow/putspent.c: Likewise.
81654 * stdio-common/printf_fphex.c: Likewise.
81655 * stdio-common/tmpfile.c: Likewise.
81656 * stdlib/abort.c: Likewise.
81657 * stdlib/fmtmsg.c: Likewise.
81658 * sunrpc/auth_unix.c: Likewise.
81659 * sunrpc/clnt_perr.c: Likewise.
81660 * sunrpc/clnt_tcp.c: Likewise.
81661 * sunrpc/clnt_udp.c: Likewise.
81662 * sunrpc/clnt_unix.c: Likewise.
81663 * sunrpc/openchild.c: Likewise.
81664 * sunrpc/svc_simple.c: Likewise.
81665 * sunrpc/svc_tcp.c: Likewise.
81666 * sunrpc/svc_udp.c: Likewise.
81667 * sunrpc/svc_unix.c: Likewise.
81668 * sunrpc/xdr.c: Likewise.
81669 * sunrpc/xdr_array.c: Likewise.
81670 * sunrpc/xdr_rec.c: Likewise.
81671 * sunrpc/xdr_ref.c: Likewise.
81672 * sunrpc/xdr_stdio.c: Likewise.
81673
81674 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81675
81676 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81677
81678 2011-07-03 Andreas Jaeger <aj@suse.de>
81679
81680 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81681 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81682 regenerate with gen-libm-tests.pl.
81683
81684 2010-05-12 Petr Baudis <pasky@suse.cz>
81685
81686 [BZ #11589]
81687 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81688 around j0() zero points by switching to j1().
81689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81692 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81693
81694 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81695
81696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81697 instead of 0.
81698 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81699 instead of 0.
81700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81701 Patch in part by Pavel Roskin <proski@gnu.org>.
81702
81703 [BZ #13138]
81704 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81705 realloc.
81706 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81707 Free memory block if necessary.
81708
81709 [BZ #12847]
81710 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81711 be NULL. Don't lock in this case.
81712
81713 2011-09-09 Roland McGrath <roland@hack.frob.com>
81714
81715 * elf/elf.h (ELFOSABI_GNU): New macro.
81716 (ELFOSABI_LINUX): Define to that.
81717
81718 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81719
81720 * string/strncat.c (strncat): Undef the symbol in case it has been
81721 defined in bits/string.h.
81722
81723 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81724
81725 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81726
81727 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81728 link map.
81729
81730 2011-08-17 Andreas Jaeger <aj@suse.de>
81731
81732 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81733
81734 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81735 Ian Lance Taylor <iant@google.com>
81736
81737 * math/libm-test.inc (lround_test): New testcase.
81738 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81739
81740 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81741
81742 * Makefile: Remove support for automatic cvs check-ins.
81743 * Makerules: Likewise.
81744 * config.make.in: Likewise.
81745 * configure.in: Likewise.
81746 * intl/Makefile: Likewise.
81747 * locale/Makefile: Likewise.
81748 * po/Makefile: Likewise.
81749 * posix/Makefile: Likewise.
81750 * sysdeps/gnu/Makefile: Likewise.
81751 * sysdeps/mach/hurd/Makefile: Likewise.
81752 * sysdeps/sparc/sparc32/Makefile: Likewise.
81753
81754 [BZ #13118]
81755 * posix/Makefile (bug-regex32-ENV): Define.
81756 Patch by John Stanley <jpsinthemix@verizon.net>.
81757
81758 * misc/Makefile (headers): Add bits/select2.h.
81759 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81760 * misc/bits/select2.h: New file.
81761 * include/bits/select2.h: New file.
81762 * debug/Makefile (routines): Add fdelt_chk.
81763 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81764 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81765 FD_ISSET.
81766 * debug/fdelt_chk.c: New file.
81767
81768 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81769 * wcsmbs/test-wmemcmp.c: Likewise.
81770 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81771 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81772
81773 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81774
81775 * string/Makefile (strop-tests): Add memcmp.
81776 * string/test-wmemcmp.c: New file.
81777 * string/test-memcmp.c: Add wmemcmp support.
81778
81779 2011-09-08 Roland McGrath <roland@hack.frob.com>
81780
81781 [BZ #13153]
81782 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81783 2011-07-19 change.
81784
81785 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81786 garbage value in a __mach_port_mod_refs call in the cases of the
81787 task-self and thread-self ports.
81788
81789 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81790
81791 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81792
81793 2011-09-08 Andreas Schwab <schwab@redhat.com>
81794
81795 * elf/dl-load.c (lose): Check for non-null L.
81796
81797 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81798
81799 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81800
81801 * elf/dl-libc.c (dlerror_run): Pass back error code from
81802 dl_catch_error.
81803
81804 [BZ #13123]
81805 * elf/dl-load.c (lose): Free l_origin if it is valid.
81806
81807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81808 names.
81809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81810 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81813 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81814 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81815
81816 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81817
81818 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81819 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81822 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81823 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81824 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81825 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81826 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81827 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81828
81829 2011-08-15 Alan Modra <amodra@gmail.com>
81830
81831 [BZ #13092]
81832 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81833 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81834 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81835 ppc_mcount to static-only-routines.
81836 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81837 __mcount_internal.
81838 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81839 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81840
81841 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81842
81843 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81844 for finite and infinity parameters.
81845
81846 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81847
81848 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81849 and add nop instructions for throughput optimization.
81850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81851
81852 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81853
81854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81855 aligned copy for power7 with vector-scalar instructions.
81856 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81857
81858 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81859
81860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81861 AVX check.
81862
81863 2011-09-07 Andreas Schwab <schwab@redhat.com>
81864
81865 [BZ #13144]
81866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81867 last change.
81868
81869 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81870
81871 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81872 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81873 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81874 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81875 clock_gettime.
81876
81877 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81878
81879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81880 Forgot to demangle the pointer.
81881
81882 * sysdeps/i386/sysdep.h: Define atom_text_section.
81883 * sysdeps/x86_64/sysdep.h: Likewise.
81884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81885 section with atom_text_section.
81886 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81887 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81888 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81891
81892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81893 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81894 already be defined. Change to take two parameters and don't assign
81895 result to variable. Adjust all users.
81896 Define INTERNAL_GETTIME if not already defined.
81897 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81898 call.
81899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81900 HAVE_CLOCK_GETTIME_VSYSCALL.
81901 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81902
81903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81904 gettimeofday vsyscall, just use time.
81905
81906 2011-09-06 Andreas Schwab <schwab@redhat.com>
81907
81908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81909 <errno.h>.
81910
81911 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81912
81913 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81914 syscall on x86-64.
81915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81916 syscall.
81917 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81919 syscall if possible.
81920
81921 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81922
81923 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81924 e_ident. Don't pass to find_mapsXX.
81925 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81926
81927 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81928
81929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81930 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81931 * sysdeps/x86_64/multiarch/strchr.S: Update.
81932 Check bit_slow_BSF bit.
81933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81934 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81935 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81936
81937 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81938
81939 [BZ #13134]
81940 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81941 before glibc 2.15.
81942 (tryshell): Define.
81943 (__spawni): Change last parameter to be flag. Test
81944 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81945 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81946 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81947 * posix/spawni.c: Likewise.
81948 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81949 * posix/spawnp.c: Likewise. Change normal version to use
81950 SPAWN_XFLAGS_USE_PATH.
81951 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81952 SPAWN_XFLAGS_TRY_SHELL.
81953
81954 [BZ #13150]
81955 * posix/glob.h: Remove gcc 1.x support.
81956
81957 [BZ #13068]
81958 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81959
81960 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81961
81962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81963 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81964 strrchr-sse2-bsf
81965 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81966 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81967 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81968 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81969 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81970 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81971
81972 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81973
81974 * sysdeps/x86_64/wcscmp.S: New file.
81975
81976 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81977 wcscmp-c wcscmp-sse2
81978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81979 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81980 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81981 * wcsmbs/wcscmp.c: Allow renaming.
81982
81983 2011-09-05 David S. Miller <davem@davemloft.net>
81984
81985 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81986 stack slot, rather than the struct return pointer slot.
81987 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81988 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81990 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81991
81992 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81993
81994 * po/ja.po: Update from translation team.
81995
81996 [BZ #13144]
81997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81998 kernel in 64-bit binaries.
81999
82000 2011-09-01 David S. Miller <davem@davemloft.net>
82001
82002 * elf/elf.h (HWCAP_SPARC_*): Move to..
82003 * sysdeps/sparc/sysdep.h: this new file and add new values.
82004 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82005 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82006 _DL_HWCAP_COUNT to 24.
82007 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82008 entries.
82009 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82010 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82011 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82013 instead of magic constants.
82014 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82015
82016 2011-08-31 David S. Miller <davem@davemloft.net>
82017
82018 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82020 Reimplement to do errno handling inline.
82021 (SYSCALL_ERROR_HANDLER): New macro.
82022 (__SYSCALL_STRING): Do not do errno handling in asm.
82023 (__CLONE_SYSCALL_STRING): Delete.
82024 (__INTERNAL_SYSCALL_STRING): Delete.
82025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82026 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82027 (PSEUDO): Reimplement to do errno handling inline.
82028 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82029 (SYSCALL_ERROR_HANDLER): New macro.
82030 (__SYSCALL_STRING): Do not do errno handling in asm.
82031 (__CLONE_SYSCALL_STRING): Delete.
82032 (__INTERNAL_SYSCALL_STRING): Delete.
82033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82034 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82035 i386.
82036 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82037 (inline_syscall*): Add 'err' argument.
82038 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82039 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82040 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82041 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82042
82043 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82044 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82045
82046 2011-08-30 Andreas Schwab <schwab@redhat.com>
82047
82048 * elf/rtld.c (dl_main): Relocate objects in dependency order.
82049
82050 2011-08-29 Jiri Olsa <jolsa@redhat.com>
82051
82052 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82053 directive.
82054
82055 2011-08-24 David S. Miller <davem@davemloft.net>
82056
82057 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82058
82059 2011-08-24 Andreas Schwab <schwab@redhat.com>
82060
82061 * elf/Makefile: Add rules to build and run unload8 test.
82062 * elf/unload8.c: New file.
82063 * elf/unload8mod1.c: New file.
82064 * elf/unload8mod1x.c: New file.
82065 * elf/unload8mod2.c: New file.
82066 * elf/unload8mod3.c: New file.
82067
82068 * elf/dl-close.c (_dl_close_worker): Reset private search list if
82069 it wasn't used.
82070
82071 2011-08-23 David S. Miller <davem@davemloft.net>
82072
82073 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82074 subtract stack bias.
82075 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82076 %sp not %fp in calculations.
82077 (_JMPBUF_UNWINDS_ADJ): Likewise.
82078
82079 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82080 (aio_suspend): Call it to force an exception region around the
82081 AIO_MISC_WAIT() invocation.
82082
82083 2011-08-23 Andreas Schwab <schwab@redhat.com>
82084
82085 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82086 backslash.
82087
82088 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
82089
82090 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82091 protection macro.
82092 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82093 and <dl-machine.h>.
82094 (Elf64_FuncDesc): Remove.
82095
82096 2011-08-22 David S. Miller <davem@davemloft.net>
82097
82098 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82099 sigaltstack check, add missing cfi directives.
82100 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82101 missing cfi directives, and sigaltstack handling.
82102
82103 2011-08-16 Andreas Schwab <schwab@redhat.com>
82104
82105 [BZ #11724]
82106 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82107 object is seen twice.
82108 * elf/dl-fini.c (_dl_sort_fini): Likewise.
82109
82110 * elf/Makefile (distribute): Add tst-initorder2.c.
82111 (tests): Add tst-initorder2.
82112 (modules-names): Add tst-initorder2a tst-initorder2b
82113 tst-initorder2c tst-initorder2d. Add rules to build them.
82114 ($(objpfx)tst-initorder2.out): New rule.
82115 * elf/tst-initorder2.c: New file.
82116 * elf/tst-initorder2.exp: New file.
82117
82118 2011-08-22 Andreas Schwab <schwab@redhat.com>
82119
82120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82121
82122 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82123 dependencies back to end of function.
82124
82125 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82126 $(elfobjdir)/ld.so.
82127
82128 2011-08-21 Ulrich Drepper <drepper@gmail.com>
82129
82130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82131 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82133 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82134 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82135 of __vdso_gettimeofday.
82136 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82137 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
82138 attribute_hidden.
82139 (_libc_vdso_platform_setup): Remove initialization of
82140 __vdso_gettimeofday and __vdso_time.
82141
82142 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82143
82144 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82145 and fgetc_unlocked.
82146 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82147 getc_unlocked.
82148
82149 * elf/dl-open.c (add_to_global): Report additions to the global scope
82150 for LD_DEBUG=scopes.
82151 (dl_open_worker): Also print scope of newly loaded dependencies.
82152 (_dl_show_scope): Indicate if there is no scope.
82153
82154 [BZ #13114]
82155 * stdio-common/Makefile (tests): Add bug24.
82156 * stdio-common/bug24.c: New file.
82157
82158 2011-08-19 Andreas Jaeger <aj@suse.de>
82159
82160 [BZ #13114]
82161 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82162 non-existant file when using close-on-exec mode.
82163
82164 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82165
82166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82167 the very first instruction.
82168
82169 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82170 the CFI state in the end.
82171 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82172 inclusion of dl-trampoline.h.
82173 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82174
82175 2011-08-19 Andreas Schwab <schwab@redhat.com>
82176
82177 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82178 expectations for long double.
82179
82180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82181 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82182
82183 2011-08-14 David S. Miller <davem@davemloft.net>
82184
82185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82186 artificual limit depends upon the system page size.
82187
82188 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82189
82190 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82191 * resolv/Makefile: Define CFLAGS-libresolv.
82192
82193 2011-08-17 Andreas Schwab <schwab@redhat.com>
82194
82195 * nss/makedb.c (compute_tables): Make variables used in nested
82196 function static.
82197
82198 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82199
82200 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82201 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82202 if buffer was too small.
82203
82204 * elf/pldd.c (main): Attach to all threads in the process.
82205 Rewrite /proc handling to use *at functions.
82206
82207 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82208
82209 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82210 specifies first scope to show.
82211 (dl_open_worker): Update callers. Move printing scope of new
82212 object to before the relocation.
82213 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82214 * sysdeps/generic/ldsodefs.h: Update declaration.
82215
82216 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82217 string for the scope number.
82218
82219 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82220
82221 * nscd/servicescache.c (cache_addserv): Make sure written is always
82222 initialized.
82223
82224 2011-08-14 Roland McGrath <roland@hack.frob.com>
82225
82226 * sysdeps/i386/i486/bits/atomic.h
82227 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82228 statement expression, so as to suppress "set but not used" warning.
82229 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82230
82231 * string/strncat.c (STRNCAT): Use prototype definition.
82232
82233 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82234 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82235 -Iprograms here.
82236 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82237 (localedef-modules): Add localedef.
82238 (locale-modules): Add locale.
82239
82240 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82241 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82242 to avoid a warning.
82243
82244 2011-08-14 David S. Miller <davem@davemloft.net>
82245
82246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82247 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82248
82249 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82250
82251 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82252 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82253 * elf/rtld.c (dl_main): Set l_name of vDSO.
82254 Call _dl_show_scope when DL_DEBUG_SCOPES.
82255 (process_dl_debug): Recognize scopes flag and also set it for all.
82256 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82257 Declare _dl_show_scope.
82258
82259 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82260 (do_dlopen): Pass caller_dlopen to dl_open.
82261 (__libc_dlopen_mode): Initialize caller_dlopen.
82262
82263 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82264 of libc. Make tolower call locale-independent. Optimize a bit by
82265 using isdigit instead of isalnum.
82266 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82267
82268 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82269
82270 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82271 was a dependency or dynamically loaded.
82272
82273 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82274
82275 * intl/l10nflist.c: Allow architecture-specific pop function.
82276 * sysdeps/x86_64/l10nflist.c: New file.
82277
82278 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82279 classification.
82280
82281 2011-08-10 Andreas Schwab <schwab@redhat.com>
82282
82283 * include/dirent.h: Add libc_hidden_proto for scandirat and
82284 scandirat64. Don't declare __scandirat64.
82285 * dirent/scandirat.c: Add libc_hidden_def.
82286 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82287 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82288
82289 2011-08-10 David S. Miller <davem@davemloft.net>
82290
82291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82292 enum.
82293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82296
82297 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82298
82299 * Versions.def [libc]: Add GLIBC_2.15.
82300 * dirent/Makefile (routines): Add scandirat and scandirat64.
82301 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82302 GLIBC_2.15.
82303 * dirent/dirent.h: Declare scandirat and scandirat64.
82304 * dirent/scandirat.c: New file.
82305 * dirent/scandirat64.c: New file.
82306 * sysdeps/wordsize-64/scandirat.c: New file.
82307 * sysdeps/wordsize-64/scandirat64.c: New file.
82308 * dirent/opendir.c: Define opendirat.
82309 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82310 using scandirat.
82311 * dirent/scandir64.c: Adjust for scandir.c change.
82312 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82313 __scandirat64, and __scandir_cancel_handler.
82314 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82315 additional parameter and use openat instead of open (outside of ld.so).
82316 Add new __opendir as wrapper around __opendirat.
82317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82318 here without requiring old scandirat implementation.
82319
82320 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82321
82322 * dirent/scandir.c (cancel_handler): Renamed to
82323 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82324 defined. Adjust users.
82325 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82327
82328 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82329
82330 * string/test-string.h (IMPL): Use __STRING to expand name and then
82331 stringify it.
82332
82333 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82334 of cleanups.
82335
82336 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82337
82338 * string/Makefile: Update.
82339 (strop-tests): Append strncat.
82340 * string/test-wcscmp.c: New file.
82341 New comprehensive test for wcscmp.
82342 * string/test-strcmp.c: Update.
82343 (WIDE): New define.
82344
82345 2011-07-22 Andreas Schwab <schwab@redhat.com>
82346
82347 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82348 line.
82349
82350 2011-07-26 Andreas Schwab <schwab@redhat.com>
82351
82352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82353 encoding to ACE if AI_IDN.
82354
82355 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82356
82357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82358 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82359
82360 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82361
82362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82363 Fix overflow bug in strncat.
82364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82365
82366 * string/test-strncat.c: Update.
82367 Add new tests for checking overflow bugs.
82368
82369 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82370
82371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82372 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82373 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82374 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82376 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82377 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82378 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82379 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82380
82381 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82382 (USE_AS_STRCAT): Define.
82383 Add strcat and strncat support.
82384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82385
82386 2011-07-25 Andreas Schwab <schwab@redhat.com>
82387
82388 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82389 __n bigger than INT_MAX+1.
82390 (__strncmp_g): Likewise.
82391
82392 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82393
82394 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82395 * libio/stido.h: Likewise.
82396
82397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82398 (AF_NFC): Define.
82399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82400 (AF_NFC): Define.
82401
82402 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82407
82408 [BZ #13021]
82409 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82410 installed.
82411
82412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82413 typo.
82414 (_dl_x86_64_save_sse): Likewise.
82415
82416 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82417
82418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82419 OSXSAVE.
82420 (_dl_x86_64_save_sse): Likewise.
82421
82422 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82423
82424 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82425
82426 2011-07-21 Andreas Schwab <schwab@redhat.com>
82427
82428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82429 change.
82430 (_dl_x86_64_save_sse): Use correct AVX check.
82431
82432 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82433
82434 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82435 bug in strncpy/strncat.
82436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82437
82438 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82439
82440 * string/tester.c (test_strcat): Add tests for different alignments
82441 of source and destination.
82442 (test_strncat): Likewise.
82443
82444 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82445
82446 [BZ #12852]
82447 * posix/glob.c (glob): Check passed in values before using them in
82448 expressions to avoid some overflows.
82449 (glob_in_dir): Likewise.
82450
82451 [BZ #13007]
82452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82453 check for AVX enablement so that we don't crash with old kernels and
82454 new hardware.
82455 * elf/tst-audit4.c: Add same checks here.
82456 * elf/tst-audit6.c: Likewise.
82457
82458 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82459
82460 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82461
82462 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82463
82464 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82465
82466 * po/cs.po: Update from translation team.
82467 * po/bg.po: Likewise.
82468
82469 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82470
82471 * misc/sys/cdefs.h: Add support for const attribute.
82472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82473 to gnu_dev_{major,minor,makedev} functions.
82474
82475 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82476
82477 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82478
82479 2011-07-20 Andreas Schwab <schwab@redhat.com>
82480
82481 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82482 strlen results.
82483
82484 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82485
82486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82487 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82488 register in order to avoid conflicts with the soft frame pointer
82489 being held in r11 when necessary.
82490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82491 (INTERNAL_VSYSCALL_NCS): Likewise.
82492
82493 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82494
82495 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82496 * elf/dl-fini.c (_dl_fini): Adjust caller.
82497 * elf/dl-close.c (_dl_close_worker): Likewise.
82498 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82499
82500 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82501
82502 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82503 "aux_cache->nlibs < 0".
82504
82505 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82506 in the reload-count case.
82507
82508 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82509
82510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82511 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82512 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82513 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82514 * sysdeps/x86_64/multiarch/strcat.S: New file.
82515 * sysdeps/x86_64/multiarch/strncat.S: New file.
82516 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82518 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82519 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82521 (USE_AS_STRCAT): Define.
82522 Add strcat and strncat support.
82523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82525 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82526 * string/strncat.c: Update.
82527 (USE_AS_STRNCAT): Define.
82528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82529 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82530 and i7.
82531 * sysdeps/x86_64/multiarch/init-arch.h
82532 (bit_Prefer_PMINUB_for_stringop): New.
82533 (index_Prefer_PMINUB_for_stringop): Likewise.
82534 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82535 bit_Prefer_PMINUB_for_stringop.
82536
82537 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82538
82539 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82540 buffer64.
82541 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82542 of casting of buffer.
82543 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82544 buffer32 and buffer64.
82545 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82546 writes instead of casting of buffer.
82547 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82548 buffer32.
82549 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82550 casting of buffer.
82551
82552 2011-07-19 Andreas Schwab <schwab@redhat.com>
82553
82554 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82555
82556 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82557
82558 * nscd/nscd.c (termination_handler): Don't do anything for a database
82559 if it has not yet been initialized.
82560
82561 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82562
82563 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82564
82565 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82566
82567 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82568
82569 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82570
82571 * po/nl.po: Update from translation team.
82572 * po/sv.po: Likewise.
82573
82574 2011-07-16 Roland McGrath <roland@hack.frob.com>
82575
82576 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82577 now disallowed by GCC.
82578
82579 * configure.in (use-default-link): Default to yes if a test -shared
82580 link meets our qualifications.
82581 * configure: Regenerated.
82582
82583 * config.make.in (output-format): New variable.
82584 * configure.in: Check for ld --print-output-format support.
82585 * configure: Regenerated.
82586 * Makerules ($(common-objpfx)format.lds)
82587 [$(output-format) != unknown]: Just use $(output-format),
82588 instead of the linker-script munging.
82589
82590 2011-07-14 Roland McGrath <roland@hack.frob.com>
82591
82592 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82593 of $(common-objpfx)shlib.lds.
82594 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82595
82596 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82597 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82598
82599 * configure.in (-z relro check): Adjust test code to add a large
82600 writable data section after it.
82601 * configure: Regenerated.
82602
82603 2011-07-11 Roland McGrath <roland@hack.frob.com>
82604
82605 * configure.in (-z relro check): Fix test code to make the variable
82606 truly const.
82607 * configure: Regenerated.
82608
82609 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82610
82611 * nscd/nscd.h (struct traced_file): Define.
82612 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82613 elements. Add traced_files.
82614 (inotify_fd): Declare.
82615 (register_traced_file): Declare.
82616 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82617 (inotify_fd): Export.
82618 (resolv_conf_descr): Remove.
82619 (nscd_init): Move inotify descriptor creation to main.
82620 Don't register files for notification here.
82621 (register_traced_file): New function.
82622 (invalidate_cache): Don't use reset_res to determine whether to call
82623 res_init, go through the list of registered files.
82624 (main_loop_poll): The inotify descriptors are now stored in the
82625 structures for the traced files.
82626 (main_loop_epoll): Likewise.
82627 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82628 to __nss_disable_nscd.
82629 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82630 for a database anymore. Check the records for all the registered
82631 files instead.
82632 * nss/Makefile (libnss_files-routines): Add files-init.
82633 (libnss_db-routines): Add db-init.
82634 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82635 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82636 * nss/nss_db/db-init.c: New file.
82637 * nss/nss_files/files-init.c: New file.
82638 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82639 __nss_lookup_function.
82640 (__nss_lookup_function): Call nss_load_library.
82641 (nss_load_all_libraries): New function.
82642 (__nss_disable_nscd): Take parameter with callback function for files
82643 to register. Set is_nscd. Load all the DSOs for the NSS modules
82644 used for the cached services.
82645 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82646 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82647 options for features to all the files in nscd.
82648
82649 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82650
82651 2011-07-10 Roland McGrath <roland@hack.frob.com>
82652
82653 * csu/elf-init.c (__libc_csu_init): Comment typo.
82654
82655 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82656
82657 * po/pl.po: Update from translation team.
82658 * po/ja.po: Likewise.
82659 * po/ru.po: Likewise.
82660 * po/ko.po: Likewise.
82661 * po/fr.po: Likewise.
82662
82663 2011-07-09 Roland McGrath <roland@hack.frob.com>
82664
82665 * configure.in (.ctors/.dtors header and trailer check):
82666 Use an empirical test on a built program.
82667 * configure: Regenerated.
82668
82669 * configure.in (-z relro check): Use an empirical test on a built DSO.
82670 Detect, but do not require, on ia64.
82671 * configure: Regenerated.
82672
82673 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82674 Update tests that use readelf to use $READELF instead.
82675 * configure: Regenerated.
82676
82677 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82678
82679 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82680 if the result is not used.
82681
82682 2011-07-05 Andreas Jaeger <aj@suse.de>
82683
82684 [BZ#9696]
82685 * stdlib/tst-strtod.c: Add testcase.
82686
82687 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82688
82689 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82690 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82691 The latter has a higher limit. Take additional parameter to pass to
82692 the new function.
82693 (__pathconf): Pass file to __statfs_link_max.
82694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82695 __statfs_link_max.
82696 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82697 __statfs_link_max.
82698
82699 [BZ #12868]
82700 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82702 Handle Lustre.
82703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82704 (__statfs_filesize_max): Likewise.
82705 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82706
82707 2011-07-05 Andreas Jaeger <aj@suse.de>
82708
82709 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82710
82711 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82712
82713 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82714 `status' variable.
82715 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82716 Likewise.
82717
82718 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82719
82720 * Makefile (strop-tests): Add strncat.
82721 * string/test-strncat.c: New file.
82722
82723 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82724
82725 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82726
82727 2011-06-21 Andreas Jaeger <aj@suse.de>
82728
82729 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82730 Copy rule from iconvdata/Makefile.
82731
82732 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82733
82734 [BZ #12922]
82735 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82736 but no long options are defined, just return 'W'.
82737
82738 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82739
82740 [BZ #9696]
82741 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82742
82743 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82744
82745 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82746 netgroups to read.
82747 (innetgr): Likewise.
82748
82749 2011-07-05 Roland McGrath <roland@hack.frob.com>
82750
82751 * config.make.in (install_root): Default to $(DESTDIR).
82752
82753 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82754
82755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82756
82757 2011-07-02 Roland McGrath <roland@hack.frob.com>
82758
82759 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82760
82761 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82762 containing directory rather than embedding absolute directory names.
82763
82764 * scripts/check-local-headers.sh: Rewritten using awk.
82765 Match by word, not by line. Print error messages for matches.
82766 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82767
82768 * Makerules [shlib-lds-flags empty]:
82769 ($(common-objpfx)libc_pic.opts): New target.
82770 ($(common-objpfx)libc_pic.os.clean): New target.
82771 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82772
82773 * config.make.in (OBJCOPY): New variable.
82774 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82775 * configure: Regenerated.
82776
82777 * config.make.in (use-default-link): New variable.
82778 * configure.in (use_default_link): Grok --with-default-link to set it.
82779 * configure: Regenerated.
82780 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82781 (shlib-lds, shlib-lds-flags): Define to empty.
82782
82783 * Makerules (shlib-lds): New variable.
82784 (shlib-lds-flags): New variable.
82785 (build-shlib, build-moduile, build-module-asneeded): Use it.
82786 ($(common-objpfx)libc.so): Use $(shlib-lds).
82787 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82788 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82789
82790 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82791 DT_FLAGS/DT_FLAGS_1 with zero flags.
82792
82793 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82794 linker script munging.
82795
82796 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82797
82798 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82799 as 128-bit value.
82800 * crypt/sha512.c (sha512_process_block): Perform total addition using
82801 128-bit if possible.
82802 (__sha512_finish_ctx): Likewise.
82803 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82804 as 64-bit value.
82805 * crypt/sha256.c (SWAP64): Define.
82806 (sha256_process_block): Perform total addition using 64-bit if
82807 possible.
82808 (__sha256_finish_ctx): Likewise.
82809
82810 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82811
82812 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82814 * nscd/hstcache.c (cache_addhst): Likewise.
82815 * nscd/grpcache.c (cache_addgr): Likewise.
82816 * nscd/aicache.c (addhstaiX): Likewise.
82817 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82818
82819 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82820
82821 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82823 * nscd/hstcache.c (cache_addhst): Likewise.
82824 * nscd/grpcache.c (cache_addgr): Likewise.
82825 * nscd/aicache.c (addhstaiX): Likewise.
82826
82827 2011-07-01 Andreas Schwab <schwab@redhat.com>
82828
82829 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82830 domain only when needed.
82831
82832 2011-06-30 Andreas Schwab <schwab@redhat.com>
82833
82834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82835 is always restored.
82836
82837 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82838
82839 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82840 are re-adding the entry.
82841 * nscd/servicescache.c (cache_addserv): Likewise.
82842
82843 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82844
82845 * sysdeps/generic/dl-irel.h: fix protection against multiple
82846 inclusions.
82847 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82848
82849 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82850
82851 [BZ #12935]
82852 * malloc/memusage.sh: Fix quoting in message.
82853 * debug/xtrace.sh: Likewise.
82854
82855 * configure.in: Remove support for --experimental-malloc option, make
82856 it the default.
82857 * config.make.in: Likewise.
82858 * malloc/Makefile: Likewise.
82859
82860 2011-06-27 Andreas Schwab <schwab@redhat.com>
82861
82862 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82863 two-byte characters.
82864
82865 2011-06-27 Roland McGrath <roland@hack.frob.com>
82866
82867 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82868 AC_CACHE_CHECK invocation.
82869 * configure: Regenerated.
82870
82871 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82872
82873 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82874
82875 [BZ #12350]
82876 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82877 bit from old_res_options.
82878
82879 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82880
82881 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82882 value type for setfct.
82883
82884 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82885
82886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82887 __gettimeofday instead of gettimeofday.
82888
82889 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82890
82891 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82892
82893 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82894
82895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82896
82897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82898 info.
82899
82900 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82901
82902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82903 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82904 strcpy-sse2-unaligned strncpy-sse2-unaligned
82905 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82906 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82907 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82908 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82909 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82912 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82913 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82914 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82915 (STRCPY): Support SSE2 and SSSE3 versions.
82916
82917 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82918
82919 [BZ #12874]
82920 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82921 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82922 kernels which artificially limit size of requests.
82923
82924 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82925
82926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82927 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82928 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82929 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82930 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82931 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82932 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82933 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82934 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82936 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82937 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82938 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82939 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82940 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82942 Enable unaligned load optimization for Intel Core i3, i5 and i7
82943 processors.
82944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82945 Define.
82946 (index_Fast_Unaligned_Load): Define.
82947 (HAS_FAST_UNALIGNED_LOAD): Define.
82948
82949 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82950
82951 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82952
82953 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82954
82955 [BZ #12907]
82956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82957 until it is clear that the information is realy needed.
82958 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82959
82960 2011-06-22 Andreas Schwab <schwab@redhat.com>
82961
82962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82963
82964 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82965
82966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82967 /sys/devices/system/cpu/online if it is usable.
82968
82969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82970 reading the information from the /proc filesystem to once a second.
82971
82972 2011-06-21 Andreas Jaeger <aj@suse.de>
82973
82974 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82975 NULL after inclusion of kernel headers.
82976
82977 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82978
82979 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82980 calls to internal_setent.
82981
82982 [BZ #12885]
82983 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82984 addresses using gethostbyname4_r ignore IPv4 addresses.
82985
82986 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82987 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82988
82989 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82990
82991 2011-06-20 David S. Miller <davem@davemloft.net>
82992
82993 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82994 inclusions.
82995 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82996
82997 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82998 (elf_irel): Use it.
82999 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83000 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83001 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83002 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83003 * sysdeps/x86_64/dl-irel.h: Likewise.
83004
83005 * elf/dl-runtime.c: Use elf_ifunc_invoke.
83006 * elf/dl-sym.c: Likewise.
83007
83008 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83009
83010 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
83011 need to dereference resplen2.
83012
83013 2011-06-14 Andreas Schwab <schwab@redhat.com>
83014
83015 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83016
83017 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83018
83019 * Makeconfig: Define vardbdir and inst_vardbdir.
83020 * nss/Makefile: Add rules to install db-Makefile.
83021
83022 * nss/nss_db/db-XXX.c: Cleanup.
83023
83024 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83025 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83026 GLIBC_PRIVATE.
83027 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83028 * nss/makedb.c: Implement -g option to specify that value strings
83029 are generated and should not be added to table iterated over for
83030 get*ent calls.
83031 * nss/nss_db/db-initgroups.c: New file.
83032
83033 * nss/getent.c: Add support for initgroups lookups through getgrouplist
83034 interface.
83035
83036 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83037 (internal_getgrouplist): Adjust to name change.
83038 Update use_initgroups_entry if this is not the first call.
83039 * nss/databases.def: Add initgroups entry.
83040
83041 * nss/makedb.c (compute_tables): Check result of multiple hash table
83042 sizes to minimize maximum chain length.
83043
83044 2011-06-14 Ulrich Drepper <drepper@gmail.com>
83045
83046 * Versions.def: Add entry for libnss_db.
83047 * shlib-versions: Likewise.
83048 * nss/Makefile: Add rules to build libnss_db.
83049 * nss/Versions: Add libnss_db information. Organize libnss_files
83050 entries better.
83051 * nss/db-Makefile: Add gshadow support. Change rules for the new
83052 makedb progra. Some minor improvements to generate smaller files.
83053 * nss/nss_db/nss_db.h: Move NSS database header data structures to
83054 here from...
83055 * nss/makedb.c: ...here.
83056 Improve database format to be smaller and require less memory at
83057 runtime.
83058 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
83059 db anymore.
83060 * nss/nss_db/db-netgrp.c: Likewise.
83061 * nss/nss_db/db-open.c: Likewise.
83062 * nss/nss_files/flies-XXX.x: Adjust comments.
83063 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83064 * nss/nss_files/files-grp.c: Likewise.
83065 * nss/nss_files/files-hosts.c: Likewise.
83066 * nss/nss_files/files-network.c: Likewise.
83067 * nss/nss_files/files-proto.c: Likewise.
83068 * nss/nss_files/files-pwd.c: Likewise.
83069 * nss/nss_files/files-rpc.c: Likewise.
83070 * nss/nss_files/files-service.c: Likewise.
83071 * nss/nss_files/files-sgrp.c: Likewise.
83072 * nss/nss_files/files-spwd.c: Likewise.
83073 * nss/nss_db/db-alias.c: Removed.
83074 * nss/nss_db/dummy-db.h: Removed.
83075
83076 2011-06-02 Ulrich Drepper <drepper@gmail.com>
83077
83078 * nss/makedb.c: Rewritten to not use database library.
83079 * nss/Makefile: Update to build new makedb program.
83080
83081 2011-06-14 Andreas Jaeger <aj@suse.de>
83082
83083 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83084 memset declaration.
83085
83086 2011-06-10 Andreas Schwab <schwab@redhat.com>
83087
83088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83089 tmpbuf.
83090
83091 2011-06-10 Roland McGrath <roland@hack.frob.com>
83092
83093 * Makerules (shlib.lds): Fail if the linker script comes out empty.
83094 * elf/Makefile ($(objpfx)ld.so): Likewise.
83095
83096 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83097 Don't list ld.so twice in dependencies.
83098
83099 * posix/bug-regex31.c: Include <stdlib.h>.
83100
83101 * nscd/hstcache.c (cache_addhst): Remove unused variable.
83102
83103 * nis/nss_compat/compat-spwd.c
83104 (getspent_next_nss_netgr): Remove unused variable.
83105 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83106
83107 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83108 nonmembers" output to use the right array.
83109
83110 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83111
83112 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83113
83114 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83115 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83116 * catgets/gencat.c (read_input_file): Likewise.
83117 * locale/programs/locarchive.c (enlarge_archive): Likewise.
83118
83119 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83120 variable definition inside #if's controlling its use.
83121
83122 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83123
83124 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83125
83126 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83127
83128 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83129 unreachable code.
83130
83131 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83132
83133 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83134 * configure: Regenerated.
83135
83136 * Makerules: Revert last change.
83137 * elf/Makefile: Likewise.
83138
83139 2011-06-09 Roland McGrath <roland@hack.frob.com>
83140
83141 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83142 * elf/Makefile ($(objpfx)librtld.os): Likewise.
83143 (reloc-link): Likewise.
83144
83145 2011-06-09 Ulrich Drepper <drepper@gmail.com>
83146
83147 * elf/Makefile: Add rules to build pldd.
83148 * elf/pldd.c: New file.
83149 * elf/pldd-xx.c: New file.
83150
83151 2011-06-07 Ulrich Drepper <drepper@gmail.com>
83152
83153 * version.h: Update for 2.15 development version.
83154
83155 2011-06-07 David S. Miller <davem@davemloft.net>
83156
83157 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83158 ifuncs.
83159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83160 elf_machine_lazy_rel): Likewise.
83161 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83163 elf_machine_lazy_rel): Likewise.
83164 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83165 dl_hwcap via passed in argument.
83166 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83167 Likewise.
83168
83169 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83170
83171 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83172
83173 2011-06-06 Roland McGrath <roland@hack.frob.com>
83174
83175 [BZ #12849]
83176 * manual/fdl-1.1.texi: New file, verbatim from:
83177 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83178 * manual/lgpl-2.1.texi: New file, verbatim from:
83179 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83180 * manual/Makefile (licenses): New variable, list those new file names.
83181 (texis): Use it.
83182 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83183
83184 * manual/fdl.texi: File removed.
83185 * manual/lesser.texi: File removed.
83186 * manual/libc.texinfo (Copying, Documentation License):
83187 Use new @include file names, put @appendix directive before @include.
83188
83189 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83190
83191 [BZ #12841]
83192 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83193 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83194 (mq_open): Add __NTH.
83195
83196 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83197
83198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83199 Assume Intel Core i3/i5/i7 processor if AVX is available.
83200
83201 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83202
83203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83204 typo.
83205
83206 2011-05-31 Andreas Schwab <schwab@redhat.com>
83207
83208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83209 memory. Use alloca_account. Fix memory leak when retrying.
83210
83211 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83212
83213 * version.h (RELEASE): Bump for 2.14 release.
83214 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83215
83216 * config.make.in (RANLIB): Remove entry.
83217
83218 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83219
83220 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83221 (libc.pot): Work around missing support for .ksh extension in xgettext.
83222
83223 [BZ #12684]
83224 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83225 if both request failed.
83226 (send_dg): In case of server errors clear resplen or *resplen2.
83227
83228 [BZ #12454]
83229 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83230 when there are multiple maps.
83231 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83232 (_dl_fini): Remove test here.
83233
83234 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83235
83236 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83237
83238 [BZ #12350]
83239 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83240 bit from old_res_options.
83241 (gaih_inet): Likewise.
83242
83243 [BZ #11099]
83244 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83245 as signed.
83246
83247 * resolv/res_init.c (res_setoptions): Make the code more compact.
83248
83249 [BZ #11558]
83250 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83251 set RES_USEVC.
83252
83253 [BZ #11634]
83254 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83255
83256 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83257
83258 [BZ #11781]
83259 * malloc/malloc.h: Declare malloc hook variables as volatile.
83260
83261 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83262 in last patch.
83263
83264 [BZ #11799]
83265 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83266 raise in the comment.
83267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83269 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83270
83271 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83272
83273 [BZ #12811]
83274 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83275 grow the buffers more if it already has to be sufficient.
83276 (build_wcs_upper_buffer): Likewise.
83277 * posix/regexec.c (check_matching): Likewise.
83278 (clean_state_log_if_needed): Likewise.
83279 (extend_buffers): Don't enlarge buffers beyond size of the input
83280 buffer.
83281 Patches mostly by Emil Wojak <emil@wojak.eu>.
83282 * posix/bug-regex32.c: New file.
83283 * posix/Makefile (tests): Add bug-regex32.
83284
83285 * locale/findlocale.c (_nl_find_locale): Return right away if
83286 _nl_explode_name failed.
83287 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83288
83289 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83290
83291 * debug/xtrace.sh: Unify messages.
83292 * malloc/memusage.sh: Likewise.
83293
83294 [BZ #12813]
83295 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83296 time symbol from vDSO. Substitute with vsyscall if not available.
83297 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83298 __vdso_time.
83299
83300 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83301 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83302 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83303 Add sendmmsg and internal_sendmmsg.
83304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83305 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83307
83308 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83309 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83311
83312 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83313
83314 [BZ #12813]
83315 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83316 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83317 available.
83318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83319 __vdso_getcpu.
83320
83321 [BZ #12814]
83322 * iconvdata/Makefile (tests): Add bug-iconv9.
83323 * iconvdata/bug-iconv9.c: New file.
83324
83325 2011-05-27 Andreas Schwab <schwab@redhat.com>
83326
83327 [BZ #12814]
83328 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83329
83330 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83331
83332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83333 (struct user_regs_struct): Change intcs field back to cs.
83334
83335 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83336
83337 * po/ja.po: Update from translation team.
83338
83339 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83340
83341 [BZ #12795]
83342 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83343 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83344
83345 2011-05-20 Andreas Schwab <schwab@redhat.com>
83346
83347 * stdlib/longlong.h: Update from GCC.
83348
83349 2011-05-23 Andreas Schwab <schwab@redhat.com>
83350
83351 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83352 parameter name.
83353 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83354 Add parameter name.
83355 (__sysconf): Pass it down.
83356
83357 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83358
83359 [BZ #12671]
83360 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83361 some situations.
83362 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83363 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83364 add in in __libc_use_alloca calls. Adjust callers.
83365 (glob): Use malloc in some situations.
83366
83367 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83368 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83369 pltexit.
83370
83371 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83372
83373 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83374 and CLOCK_BOOTTIME_ALARM.
83375
83376 [BZ #12782]
83377 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83378 is returned.
83379
83380 * string/_strerror.c (__strerror_r): Print negative errors as signed
83381 numbers.
83382
83383 [BZ #12777]
83384 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83385 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83386 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83387
83388 * configure.in: Fix typo in redirection and correct removal of test
83389 files in two cases.
83390
83391 [BZ #12788]
83392 * locale/setlocale.c (new_composite_name): Fix test to check for
83393 identical name of all categories.
83394
83395 [BZ #12792]
83396 * libio/filedoalloc.c (local_isatty): New function.
83397 (_IO_file_doallocate): Use local_isatty.
83398 * stdio-common/perror.c (perror): In case a new stream is used
83399 forward the stream error.
83400 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83401 error flag.
83402
83403 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83404
83405 [BZ #11884]
83406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83407 alloca.
83408 * include/alloca.h (extend_alloca_account): Define.
83409
83410 [BZ #11857]
83411 * posix/regex.h: Fix comments with documentation of user-accessible
83412 fields after compilation and describe correct free'ing of pattern
83413 after re_compile_pattern.
83414 Patch by Reuben Thomas <rrt@sc3d.org>.
83415
83416 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83417
83418 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83419 and -mno-altivec to prevent the compiler from using Altivec and/or
83420 VSX instructions when the corresponding registers are not available.
83421
83422 2011-05-19 Andreas Schwab <schwab@redhat.com>
83423
83424 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83425
83426 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83427
83428 * libio/freopen.c (freopen): Use __dup2, not dup2.
83429 * libio/freopen64.c (freopen64): Likewise.
83430
83431 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83432
83433 [BZ #12775]
83434 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83435 * math/Makefile (tests): Add test-powl.
83436 (CFLAGS-test-powl.c): Define.
83437 * math/test-powl.c: New file.
83438
83439 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83440
83441 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83442
83443 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83444
83445 [BZ #11837]
83446 * iconvdata/gb18030.c: Update to GB18020-2005.
83447
83448 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83449
83450 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83451 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83452 Patch by Aharon Robbins <arnold@skeeve.com>.
83453
83454 [BZ #11892]
83455 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83456 on the stack.
83457
83458 [BZ #11895]
83459 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83460 through underflows.
83461
83462 [BZ #12766]
83463 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83464 point to strings before performing equality test for error_one_per_line
83465 mode.
83466
83467 [BZ #11697]
83468 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83469
83470 [BZ #11820]
83471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83472 (struct user_fpregs_struct): Avoid __uint*_t types.
83473
83474 [BZ #6420]
83475 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83476 symbol info. Use it instead of calling _dl_addr locally.
83477 (lock_and_info): New function.
83478 (tr_freehook): Call lock_and_info and pass symbol info as additional
83479 parameter to tr_where.
83480 (tr_mallochook): Likewise.
83481 (tr_reallochook): Likewise.
83482 (tr_memalignhook): Likewise.
83483
83484 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83485 used and couldn't be at all thread-safe.
83486
83487 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83488
83489 * libio/freopen.c (freopen): Don't close old file descriptor
83490 before the new one is opened. Instead dup the new file descriptor
83491 to the old one after the new stream is created.
83492 * libio/freopen64.c (freopen64): Likewise.
83493 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83494 * libio/fileops.c (_IO_new_file_close_it): Handle new
83495 _IO_FLAGS2_NOCLOSE flag.
83496 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83497 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83498 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83499 _IO_FLAGS2_NOCLOSE flag.
83500 * include/unistd.h: Add hidden_proto for dup3.
83501 Define __have_dup3.
83502 * io/dup3.c: Define hidden symbol.
83503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83504
83505 [BZ #7101]
83506 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83507 when an incomplete long option is used.
83508 * posix/tst-getopt_long1.c: New file.
83509 * posix/Makefile (tests): Add tst-getopt_long1.
83510
83511 [BZ #10138]
83512 * scripts/config.guess: Update from autoconf-2.68.
83513 * scripts/config.sub: Likewise.
83514
83515 [BZ #10157]
83516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83517 tests into ...
83518 (has_cpuclock): ...this. New function.
83519 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83520 macro here based on has_cpuclock code.
83521
83522 [BZ #10149]
83523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83524 First byte (not low byte) is now always NUL.
83525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83526
83527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83528 Use non-cancelable interfaces.
83529
83530 [BZ #9809]
83531 * locale/iso-639.def: Add entry for Sorani.
83532
83533 [BZ #11901]
83534 * include/stdlib.h: Move include protection to the right place.
83535 Define abort_msg_s. Declare __abort_msg with it.
83536 * stdlib/abort.c (__abort_msg): Adjust type.
83537 * assert/assert.c (__assert_fail_base): New function. Majority
83538 of code from __assert_fail. Allocate memory for __abort_msg with
83539 mmap.
83540 (__assert_fail): Now call __assert_fail_base.
83541 * assert/assert-perr.c: Remove bulk of implementation. Use
83542 __assert_fail_base.
83543 * include/assert.hL Declare __assert_fail_base.
83544 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83545 mmap.
83546 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83547
83548 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83549
83550 [BZ #11952]
83551 [BZ #12453]
83552 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83553 until all modules are registered in the DTV.
83554 * elf/Makefile: Add rules to build and run tst-tls19.
83555 * elf/tst-tls19.c: New file.
83556 * elf/tst-tls19mod1.c: New file.
83557 * elf/tst-tls19mod2.c: New file.
83558 * elf/tst-tls19mod3.c: New file.
83559 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83560
83561 [BZ #12083]
83562 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83563 correctly.
83564
83565 [BZ #12601]
83566 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83567 two-byte sequence errors.
83568 * iconvdata/Makefile (tests): Add bug-iconv8.
83569 * iconvdata/bug-iconv8.c: New file.
83570
83571 [BZ #12626]
83572 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83573 buf2 definition.
83574
83575 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83576
83577 [BZ #12432]
83578 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83579 (dummy_getcfa): New function.
83580 (init): Get _Unwind_GetCFA address, use dummy if not found.
83581 (backtrace_helper): In recursion check, also check whether CFA changes.
83582 (__backtrace): Completely initialize arg.
83583
83584 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83585 storing incomplete byte sequence in state object. Avoid testing for
83586 guaranteed too small input if we know there is enough data available.
83587
83588 2011-05-11 Andreas Schwab <schwab@redhat.com>
83589
83590 * Makeconfig (+link-pie): Indent.
83591 * Rules (binaries-pie): Define if $(have-fpie) and
83592 $(build-shared).
83593 (binaries-shared): Also filter out $(binaries-pie).
83594 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83595 * nscd/Makefile (others-pie): Add nscd.
83596 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83597 ($(objpfx)nscd): Remove command override.
83598 * login/Makefile (others-pie): Add pt_chown.
83599 ($(objpfx)pt_chown): Remove command override.
83600 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83601 remove command overrides.
83602
83603 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83604
83605 * libio/tst_putwc.c: Fix error messages.
83606
83607 [BZ #12724]
83608 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83609 currently writing and seek to current position when not.
83610 * libio/Makefile (tests): Add bug-fclose1.
83611 * libio/bug-fclose1.c: New file.
83612
83613 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83614
83615 [BZ #12511]
83616 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83617 don't set DF_1_NODELETE here.
83618 (do_lookup_x): When entering new entry test for copy relocation
83619 and if necessary set DF_1_NODELETE flag.
83620 * elf/tst-unique4.cc: New file.
83621 * elf/tst-unique4.h: New file.
83622 * elf/tst-unique4lib.cc: New file.
83623 * elf/Makefile: Add rules to build and run tst-unique4.
83624 Patch by Piotr Bury <pbury@goahead.com>.
83625
83626 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83627
83628 [BZ #12052]
83629 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83630
83631 [BZ #12625]
83632 * misc/mntent_r.c (addmntent): Flush the stream after the output
83633
83634 [BZ #12393]
83635 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83636 (is_trusted_path_normalize): Skip initial colon. Append slash
83637 to empty buffer. Duplicate is_trusted_path code but allow
83638 constructed patch to be prefix.
83639 (is_dst): Allow $ORIGIN followed by /.
83640 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83641 Correct testing of result of is_trusted_path_normalize
83642 (decompose_rpath): Fix warning.
83643
83644 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83645
83646 [BZ #11257]
83647 * grp/initgroups.c (internal_getgrouplist): When we found the service
83648 list through the initgroups entry in nsswitch.conf do not always
83649 continue on a successful lookup. Don't always use the
83650 __nss_group_database value if it is set.
83651 * nss/nsswitch.conf (initgroups): Change action for successful db
83652 lookup to continue for compatibility.
83653
83654 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83655
83656 [BZ #11532]
83657 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83658 and CP774 modules.
83659 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83660 and CP774 modules.
83661 * iconvdata/tst-tables.sh: Likewise.
83662 * iconvdata/cp770.c: New file.
83663 * iconvdata/cp771.c: New file.
83664 * iconvdata/cp772.c: New file.
83665 * iconvdata/cp773.c: New file.
83666 * iconvdata/cp774.c: New file.
83667 * iconvdata/testdata/CP770: New file.
83668 * iconvdata/testdata/CP770..UTF8: New file.
83669 * iconvdata/testdata/CP771: New file.
83670 * iconvdata/testdata/CP771..UTF8: New file.
83671 * iconvdata/testdata/CP772: New file.
83672 * iconvdata/testdata/CP772..UTF8: New file.
83673 * iconvdata/testdata/CP773: New file.
83674 * iconvdata/testdata/CP773..UTF8: New file.
83675 * iconvdata/testdata/CP774: New file.
83676 * iconvdata/testdata/CP774..UTF8: New file.
83677
83678 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83679 END CHARMAP line.
83680 * iconvdata/gen-8bit-gap.sh: Likewise.
83681 * iconvdata/gen-8bit.sh: Likewise.
83682
83683 * locale/iso-639.def: Add ary entry.
83684
83685 [BZ #11258]
83686 * locale/C-translit.h.in: Add U20A1 transliteration.
83687
83688 [BZ #12178]
83689 * locale/iso-639.def: Add wae entry.
83690 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83691
83692 [BZ #12545]
83693 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83694 for n.
83695
83696 [BZ #12711]
83697 * locale/C-translit.h.in: Add entry for U20B9.
83698 Patch by pravin.d.s@gmail.com.
83699
83700 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83701
83702 [BZ #12713]
83703 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83704 ENAMETOOLONG use generic getcwd.
83705 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83706 in rtld. Use *stat64.
83707 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83708 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83709 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83710 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83711 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83712 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83713 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83714 __fstatat64 macros.
83715 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83716 * dirent/rewinddir.c: Add libc_hidden_def.
83717 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83718 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83719
83720 * include/dirent.h (__alloc_dir): Add flags parameter.
83721 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83722 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83723 __alloc_dir.
83724 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83725 from fdopendir if O_CLOEXEC is already set.
83726
83727 2011-03-15 Alan Modra <amodra@gmail.com>
83728
83729 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83730 l_tls_firstbyte_offset non-zero. Save padding offset in
83731 l_tls_firstbyte_offset for later use.
83732 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83733 freeing static tls block.
83734
83735 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83736
83737 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83738 where #ifdef was intended. The intent is to prevent ARG_MAX from
83739 being defined by the kernel headers.
83740
83741 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83742
83743 [BZ #12734]
83744 * resolv/resolv.h: Define RES_NOTLDQUERY.
83745 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83746 no-tld-query and set RES_NOTLDQUERY.
83747 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83748 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83749 modern BIND to search name as TLD unless forbidden.
83750
83751 2011-05-07 Petr Baudis <pasky@suse.cz>
83752 Ulrich Drepper <drepper@gmail.com>
83753
83754 [BZ #12393]
83755 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83756 (is_trusted_path): ...to here.
83757 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83758 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83759 using is_trusted_path_normalize() in setuid scripts.
83760
83761 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83762
83763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83764 __BEGIN/__END_DECLS.
83765
83766 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83767
83768 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83769 NSS_STATUS_NOTFOUND if no record was found.
83770
83771 2011-05-05 Andreas Schwab <schwab@redhat.com>
83772
83773 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83774 (headers-not-in-tirpc): Remove rpc/netdb.h
83775 * resolv/netdb.h: Revert last change.
83776
83777 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83778
83779 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83780 circular dependency between libgcc.a and libc.a.
83781
83782 2011-05-05 Andreas Schwab <schwab@redhat.com>
83783
83784 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83785 * nis/Makefile: Don't install rpcsvc/*.
83786 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83787 instead of <rpc/types.h>.
83788 (MAXHOSTNAMELEN): Define.
83789
83790 2011-05-03 Andreas Schwab <schwab@redhat.com>
83791
83792 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83793
83794 2011-04-28 Maciej Babinski <mbabinski@google.com>
83795
83796 [BZ #12714]
83797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83798 gethostbyname4_r when IPv6 results are possible.
83799
83800 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83801
83802 [BZ #12723]
83803 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83804 _PC_PIPE_BUF handling.
83805
83806 2011-04-30 Bruno Haible <bruno@clisp.org>
83807
83808 [BZ #12717]
83809 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83810 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83811 to 'int'.
83812 * inet/getnameinfo.c (getnameinfo): Likewise.
83813
83814 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83815
83816 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83817 to groups setting in database lookup.
83818 * nss/nsswitch.conf: Add initgroups entry.
83819
83820 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83821
83822 [BZ #12685]
83823 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83824 mode string.
83825 Patch by Eric Blake <eblake@redhat.com>.
83826
83827 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83828
83829 * sunrpc/Makefile (need-export-routines): Add svc_run.
83830 (routines): Remove svc_run.
83831 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83832 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83833 * sunrpc/svc_run.c (svc_run): Likewise.
83834 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83835
83836 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83837
83838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83839 problem in reallocation in last patch.
83840
83841 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83842
83843 * sunrpc/Makefile: Move inclusion of Rules.
83844
83845 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83846
83847 * nss/nss_files/files-initgroups.c: New file.
83848 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83849 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83850 _nss_files_initgroups_dyn.
83851
83852 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83853
83854 * elf/elf.h (R_ARM_IRELATIVE): Define.
83855
83856 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83857
83858 * po/ru.po: Update from translation team.
83859
83860 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83861
83862 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83863 dependencies.
83864
83865 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83866
83867 [BZ #12653]
83868 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83869 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83870 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83873
83874 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83875
83876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83877 differing bytes.
83878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83881
83882 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83883
83884 [BZ #12420]
83885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83886 storing it.
83887 * stdlib/bug-getcontext.c: New file.
83888 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83889
83890 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83891
83892 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83893 instructions into .machine "z9-109".
83894 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83895 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83896
83897 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83898
83899 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83900 between environment variables and auxiliary vector.
83901
83902 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83903
83904 * Makefile: Add rules to build linkobj/libc.so.
83905 * include/libc-symbols.h: Define libc_hidden_nolink.
83906 * include/rpc/auth.h: Mark functions which are to be hidden.
83907 * include/rpc/auth_des.h: Likewise.
83908 * include/rpc/auth_unix.h: Likewise.
83909 * include/rpc/clnt.h: Likewise.
83910 * include/rpc/des_crypt.h: Likewise.
83911 * include/rpc/key_prot.h: Likewise.
83912 * include/rpc/pmap_clnt.h: Likewise.
83913 * include/rpc/pmap_prot.h: Likewise.
83914 * include/rpc/pmap_rmt.h: Likewise.
83915 * include/rpc/rpc_msg.h: Likewise.
83916 * include/rpc/svc.h: Likewise.
83917 * include/rpc/svc_auth.h: Likewise.
83918 * include/rpc/xdr.h: Likewise.
83919 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83920 * nss/Makefile: Likewise.
83921 * sunrpc/Makefile: Don't install headers. Build library with normal
83922 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83923 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83924 for the compat linking library. Remove use of INTDEF/INTUSE.
83925 * sunrpc/auth_none.c: Likewise.
83926 * sunrpc/auth_unix.c: Likewise.
83927 * sunrpc/authdes_prot.c: Likewise.
83928 * sunrpc/authuxprot.c: Likewise.
83929 * sunrpc/clnt_gen.c: Likewise.
83930 * sunrpc/clnt_perr.c: Likewise.
83931 * sunrpc/clnt_raw.c: Likewise.
83932 * sunrpc/clnt_simp.c: Likewise.
83933 * sunrpc/clnt_tcp.c: Likewise.
83934 * sunrpc/clnt_udp.c: Likewise.
83935 * sunrpc/clnt_unix.c: Likewise.
83936 * sunrpc/des_crypt.c: Likewise.
83937 * sunrpc/des_soft.c: Likewise.
83938 * sunrpc/get_myaddr.c: Likewise.
83939 * sunrpc/key_call.c: Likewise.
83940 * sunrpc/key_prot.c: Likewise.
83941 * sunrpc/netname.c: Likewise.
83942 * sunrpc/pm_getmaps.c: Likewise.
83943 * sunrpc/pm_getport.c: Likewise.
83944 * sunrpc/pmap_clnt.c: Likewise.
83945 * sunrpc/pmap_prot.c: Likewise.
83946 * sunrpc/pmap_prot2.c: Likewise.
83947 * sunrpc/pmap_rmt.c: Likewise.
83948 * sunrpc/publickey.c: Likewise.
83949 * sunrpc/rpc_cmsg.c: Likewise.
83950 * sunrpc/rpc_common.c: Likewise.
83951 * sunrpc/rpc_dtable.c: Likewise.
83952 * sunrpc/rpc_prot.c: Likewise.
83953 * sunrpc/rpc_thread.c: Likewise.
83954 * sunrpc/rtime.c: Likewise.
83955 * sunrpc/svc.c: Likewise.
83956 * sunrpc/svc_auth.c: Likewise.
83957 * sunrpc/svc_authux.c: Likewise.
83958 * sunrpc/svc_raw.c: Likewise.
83959 * sunrpc/svc_run.c: Likewise.
83960 * sunrpc/svc_simple.c: Likewise.
83961 * sunrpc/svc_tcp.c: Likewise.
83962 * sunrpc/svc_udp.c: Likewise.
83963 * sunrpc/svc_unix.c: Likewise.
83964 * sunrpc/svcauth_des.c: Likewise.
83965 * sunrpc/xcrypt.c: Likewise.
83966 * sunrpc/xdr.c: Likewise.
83967 * sunrpc/xdr_array.c: Likewise.
83968 * sunrpc/xdr_float.c: Likewise.
83969 * sunrpc/xdr_intXX_t.c: Likewise.
83970 * sunrpc/xdr_mem.c: Likewise.
83971 * sunrpc/xdr_rec.c: Likewise.
83972 * sunrpc/xdr_ref.c: Likewise.
83973 * sunrpc/xdr_sizeof.c: Likewise.
83974 * sunrpc/xdr_stdio.c: Likewise.
83975
83976 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83977
83978 [BZ #12650]
83979 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83980 * sysdeps/ia64/dl-tls.h: Likewise.
83981 * sysdeps/powerpc/dl-tls.h: Likewise.
83982 * sysdeps/s390/dl-tls.h: Likewise.
83983 * sysdeps/sh/dl-tls.h: Likewise.
83984 * sysdeps/sparc/dl-tls.h: Likewise.
83985 * sysdeps/x86_64/dl-tls.h: Likewise.
83986 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83987
83988 2011-03-14 Andreas Schwab <schwab@redhat.com>
83989
83990 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83991 rpath element also skip the following colon.
83992 (expand_dynamic_string_token): Add is_path parameter and pass
83993 down to DL_DST_REQUIRED and _dl_dst_substitute.
83994 (decompose_rpath): Call expand_dynamic_string_token with
83995 non-zero is_path. Ignore empty rpaths.
83996 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83997 with zero is_path.
83998
83999 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
84000
84001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84002 Make cancelable.
84003
84004 2011-04-09 Ulrich Drepper <drepper@gmail.com>
84005
84006 [BZ #12655]
84007 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84008 Patch by Filipe David Manana <fdmanana@apache.org>.
84009
84010 2011-04-07 Andreas Schwab <schwab@redhat.com>
84011
84012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84013 Maintain aligned stack.
84014 (CHECK_RSP): Remove unused macro.
84015
84016 2011-04-03 Ulrich Drepper <drepper@gmail.com>
84017
84018 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84020
84021 2011-04-02 Ulrich Drepper <drepper@gmail.com>
84022
84023 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84024
84025 * include/features.h: Mention __USE_XOPEN2K8 in comment.
84026
84027 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
84028
84029 [BZ #12518]
84030 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84031 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84032 * sysdeps/x86_64/memmove.c: New file.
84033 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84034 (memcpy): Renamed to ...
84035 (__new_memcpy): This.
84036 (memcpy): Provide GLIBC_2_14 memcpy.
84037 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84038 (memcpy): Provide GLIBC_2_2_5 memcpy.
84039
84040 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84041
84042 [BZ #12631]
84043 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84044
84045 2011-03-30 Andreas Schwab <schwab@redhat.com>
84046
84047 * misc/syncfs.c: New file.
84048 * misc/Makefile (routines): Add syncfs.
84049 * posix/unistd.h: Declare syncfs.
84050 * sysdeps/unix/syscalls.list: Add syncfs.
84051
84052 2011-04-01 Andreas Schwab <schwab@redhat.com>
84053
84054 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84055 open_by_handle_at.
84056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84057 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
84062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84063
84064 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84065
84066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84067 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84068 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84073
84074 * io/Makefile: Compile fallocate.c, fallocate64.c, and
84075 sync_file_range.c with -fexceptions.
84076 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84077 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84078 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84079 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84080 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84081 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84083 sync_file_range as cancellation point
84084 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
84085 now a wrapper around __call_sync_file_range with cancellation handling.
84086 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84087 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
84088 function name to __call_sync_file_range.
84089 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84090 Add call_sync_file_range.
84091
84092 2011-04-01 Andreas Schwab <schwab@redhat.com>
84093
84094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84095 bits/timex.h.
84096
84097 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84098
84099 * iconv/iconv.h: Fix typo in comment.
84100 * io/fcntl.h: Likewise.
84101 * libio/stdio.h: Likewise.
84102 * posix/spawn.h: Likewise.
84103 * posix/unistd.h: Likewise.
84104 * stdlib/stdlib.h: Likewise.
84105 * time/time.h: Likewise.
84106 * wcsmbs/wchar.h: Likewise.
84107
84108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84109 open_by_handle): Add.
84110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84111 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
84112 Augment a few comments.
84113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84118 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84119 open_by_handle.
84120
84121 * io/fcntl.h (AT_EMPTY_PATH): Define.
84122
84123 2011-03-30 Ulrich Drepper <drepper@gmail.com>
84124
84125 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84126 * sysdeps/unix/sysv/linux/bits/time.h: New file.
84127 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84128 to...
84129 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
84130 * Versions.def: Add GLIBC_2.14.
84131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84132 Export.
84133
84134 2011-03-22 Ulrich Drepper <drepper@gmail.com>
84135
84136 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84137 round counter.
84138 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84139
84140 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
84141
84142 [BZ #12597]
84143 * string/test-strncmp.c (do_page_test): New function.
84144 (check2): Likewise.
84145 (test_main): Call check2.
84146 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84147
84148 2011-03-20 Ulrich Drepper <drepper@gmail.com>
84149
84150 [BZ #12587]
84151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84152 Handle cache information in CPU leaf 4.
84153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84154
84155 2011-03-18 Ulrich Drepper <drepper@gmail.com>
84156
84157 [BZ #12583]
84158 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84159 character representation.
84160 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84161
84162 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
84163
84164 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84165 END(__isnan) to END(__isnanf) to match function entry point/label
84166 EALIGN(__isnanf,...).
84167
84168 2011-03-10 Jakub Jelinek <jakub@redhat.com>
84169
84170 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84171
84172 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84173
84174 [BZ #12510]
84175 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84176 copy from the symbol referenced in the relocation to initialize the
84177 used variable.
84178 Patch by Piotr Bury <pbury@goahead.com>.
84179 * elf/Makefile: Add rules to build and tst-unique3.
84180 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84181 * elf/tst-unique3.cc: New file.
84182 * elf/tst-unique3.h: New file.
84183 * elf/tst-unique3lib.cc: New file.
84184 * elf/tst-unique3lib2.cc: New file.
84185
84186 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84187
84188 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84189
84190 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84191 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84192 to _start.
84193
84194 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84195
84196 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84197 to-be-loaded object along a path to loader is ld.so.
84198
84199 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84200 Ulrich Drepper <drepper@gmail.com>
84201
84202 * sysdeps/x86_64/memset.S: After aligning destination, code
84203 branches to different locations depending on the value of
84204 misalignment, when multiarch is enabled. Fix this.
84205
84206 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84207
84208 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84209 Set _x86_64_preferred_memory_instruction for AMD processsors.
84210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84211 Set bit_Prefer_SSE_for_memop for AMD processors.
84212
84213 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84214
84215 * libio/fmemopen.c (fmemopen): Optimize a bit.
84216
84217 2011-03-03 Andreas Schwab <schwab@redhat.com>
84218
84219 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84220
84221 2011-03-03 Roland McGrath <roland@redhat.com>
84222
84223 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84224
84225 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84226
84227 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84228 __bzero_ultra1 instead of __memset_ultra1.
84229
84230 2011-02-23 Andreas Schwab <schwab@redhat.com>
84231 Ulrich Drepper <drepper@gmail.com>
84232
84233 [BZ #12509]
84234 * include/link.h (struct link_map): Add l_orig_initfini.
84235 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84236 returning unsuccessfully.
84237 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84238 close of a file loaded at startup, restore the original l_initfini
84239 list.
84240 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84241 list, store the pointer.
84242 * elf/Makefile ($(objpfx)noload-mem): New rule.
84243 (noload-ENV): Define.
84244 (tests): Add $(objpfx)noload-mem.
84245 * elf/noload.c: Include <memcheck.h>.
84246 (main): Call mtrace. Close all opened handles.
84247
84248 2011-02-17 Andreas Schwab <schwab@redhat.com>
84249
84250 [BZ #12454]
84251 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84252 dependencies are missing.
84253
84254 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84255
84256 Fix __if_freereq crash: Unlike the generic version which uses free,
84257 Hurd needs munmap.
84258 * sysdeps/mach/hurd/ifreq.h: New file.
84259
84260 2011-01-27 Petr Baudis <pasky@suse.cz>
84261 Ulrich Drepper <drepper@gmail.com>
84262
84263 [BZ 12445]#
84264 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84265 to extend_alloca().
84266 * stdio-common/bug23.c: New file.
84267 * stdio-common/Makefile (tests): Add bug23.
84268
84269 2010-09-28 Andreas Schwab <schwab@redhat.com>
84270 Ulrich Drepper <drepper@gmail.com>
84271
84272 [BZ #12489]
84273 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84274 before performing relro protection. At old place add assertion
84275 to make sure nothing changed.
84276
84277 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84278 Glauber de Oliveira Costa <glommer@gmail.com>
84279
84280 * elf/elf.h: Add new ARM TLS relocs.
84281
84282 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84283
84284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84285 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84286 cast from r3.
84287 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84288 'tests' variable.
84289 * sysdeps/wordsize-64/tst-writev.c: New file.
84290
84291 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84292
84293 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84294 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84295 insns in _dl_start to prevent a TOC reference before relocs are
84296 resolved.
84297
84298 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84299
84300 [BZ #12469]
84301 * Makeconfig: Remove RANLIB definition.
84302 * Makerules: Don't use RANLIB.
84303 * aclocal.m4: Remove ranlib test.
84304 * configure.in: No need to check for ranlib.
84305 * elf/rtld-Rules: Don't use RANLIB.
84306
84307 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84308
84309 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84310 protection macro.
84311 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84312 inclusion protection macro.
84313
84314 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84315 SIGRTMIN and SIGRTMAX and print information in that case only when
84316 SIGRTMIN is defined.
84317
84318 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84319
84320 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84321 arginfo fn returning -1.
84322
84323 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84324 and thousands string is zero terminated.
84325
84326 2011-02-03 Andreas Schwab <schwab@redhat.com>
84327
84328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84329 sysdeps/unix/sysv/linux/bits/socket.h.
84330
84331 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84332
84333 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84334 (__CPU_COUNT): Remove old macros.
84335 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84336 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84337 (__CPU_ALLOC, __CPU_FREE): Add macros.
84338 (__sched_cpualloc, __sched_cpufree): Add declarations.
84339
84340 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84341
84342 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84343 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84344 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84345 (readdhstai): Return value of addhstaiX call.
84346 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84347 (addgrbyX): Return value returned by cache_addgr.
84348 (readdgrbyname): Return value returned by addgrbyX.
84349 (readdgrbygid): Likewise.
84350 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84351 (addpwbyX): Return value returned by cache_addpw.
84352 (readdpwbyname): Return value returned by addhstbyX.
84353 (readdpwbyuid): Likewise.
84354 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84355 (addservbyX): Return value returned by cache_addserv.
84356 (readdservbyname): Return value returned by addservbyX:
84357 (readdservbyport): Likewise.
84358 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84359 (addhstbyX): Return value returned by cache_addhst.
84360 (readdhstbyname): Return value returned by addhstbyX.
84361 (readdhstbyaddr): Likewise.
84362 (readdhstbynamev6): Likewise.
84363 (readdhstbyaddrv6): Likewise.
84364 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84365 (readdinitgroups): Return value returned by addinitgroupsX.
84366 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84367 (prune_cache): Keep track of timeout value of re-added entries.
84368 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84369 * nscd/nscd.h: Adjust prototypes of readd* functions.
84370
84371 2011-02-04 Roland McGrath <roland@redhat.com>
84372
84373 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84374 (nis_stats): Likewise.
84375 * nis/nis_modify.c (nis_modify): Likewise.
84376 * nis/nis_remove.c (nis_remove): Likewise.
84377 * nis/nis_add.c (nis_add): Likewise.
84378
84379 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84380
84381 * posix/fnmatch_loop.c: Add some consts.
84382
84383 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84384
84385 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84386
84387 [BZ #12460]
84388 * config.make.in (config-cflags-novzeroupper): Define.
84389 * configure.in: Substitute libc_cv_cc_novzeroupper.
84390 * elf/Makefile (AVX-CFLAGS): Define.
84391 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84392 (CFLAGS-tst-auditmod4a.c): Likewise.
84393 (CFLAGS-tst-auditmod4b.c): Likewise.
84394 (CFLAGS-tst-auditmod6b.c): Likewise.
84395 (CFLAGS-tst-auditmod6c.c): Likewise.
84396 (CFLAGS-tst-auditmod7b.c): Likewise.
84397 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84398
84399 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84400
84401 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84402 function to the callback.
84403 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84404
84405 2011-02-02 Andreas Schwab <schwab@redhat.com>
84406
84407 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84408 of errno.
84409
84410 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84411
84412 [BZ #11724]
84413 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84414 of constructors.
84415 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84416 of destructors.
84417 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84418
84419 [BZ #11724]
84420 * elf/Makefile: Add rules to build and run new test.
84421 * elf/tst-initorder.c: New file.
84422 * elf/tst-initorder.exp: New file.
84423 * elf/tst-initordera1.c: New file.
84424 * elf/tst-initordera2.c: New file.
84425 * elf/tst-initordera3.c: New file.
84426 * elf/tst-initordera4.c: New file.
84427 * elf/tst-initorderb1.c: New file.
84428 * elf/tst-initorderb2.c: New file.
84429 * elf/tst-order-a1.c: New file.
84430 * elf/tst-order-a2.c: New file.
84431 * elf/tst-order-a3.c: New file.
84432 * elf/tst-order-a4.c: New file.
84433 * elf/tst-order-b1.c: New file.
84434 * elf/tst-order-b2.c: New file.
84435 * elf/tst-order-main.c: New file.
84436 New test case by George Gensure <werkt0@gmail.com>.
84437
84438 2010-10-01 Andreas Schwab <schwab@redhat.com>
84439
84440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84441 decoding ACE if AI_CANONIDN.
84442
84443 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84444
84445 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84446
84447 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84448
84449 * version.h (RELEASE): Bump for 2.13 release.
84450 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84451
84452 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84453
84454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84455 MADV_NOHUGEPAGE.
84456 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84458 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84459 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84462
84463 * posix/getconf.c: Update copyright year.
84464 * catgets/gencat.c: Likewise.
84465 * csu/version.c: Likewise.
84466 * debug/catchsegv.sh: Likewise.
84467 * debug/xtrace.sh: Likewise.
84468 * elf/ldconfig.c: Likewise.
84469 * elf/ldd.bash.in: Likewise.
84470 * elf/sprof.c (print_version): Likewise.
84471 * iconv/iconv_prog.c: Likewise.
84472 * iconv/iconvconfig.c: Likewise.
84473 * locale/programs/locale.c: Likewise.
84474 * locale/programs/localedef.c: Likewise.
84475 * malloc/memusage.sh: Likewise.
84476 * malloc/mtrace.pl: Likewise.
84477 * nscd/nscd.c (print_version): Likewise.
84478 * nss/getent.c: Likewise.
84479
84480 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84481 PF_CAIF, and PF_ALG.
84482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84483
84484 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84485
84486 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84487 (modules-names): Use them.
84488 (ifunc-test-modules, ifunc-pie-tests): Define.
84489 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84490 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84491 (test-extras): Likewise.
84492 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84493 $(compile-command.c).
84494 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84495 (all-built-dso): Define.
84496 (check-textrel.out, check-execstack.out): Depend on it.
84497
84498 * configure.in: Don't override --enable-multi-arch.
84499
84500 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84501
84502 [BZ #6812]
84503 * nscd/hstcache.c (tryagain): Define.
84504 (cache_addhst): Return tryagain not notfound for temporary errors.
84505 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84506 failed.
84507
84508 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84509
84510 [BZ #10563]
84511 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84512 to make the syscall.
84513 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84514
84515 [BZ #12378]
84516 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84517 and fall back to matching as normal character if the string ends before
84518 the matching ']' is found. This is what POSIX requires.
84519 * posix/testfnm.c: Adjust test result.
84520 * posix/globtest.sh: Adjust test result. Add new test.
84521 * posix/tst-fnmatch.input: Likewise.
84522 * posix/tst-fnmatch2.c: Add new test.
84523
84524 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84525
84526 * elf/Makefile (check-execstack): Revert last change. Depend on
84527 check-execstack.h.
84528 (check-execstack.h): New target.
84529 (generated): Add check-execstack.h.
84530 * elf/check-execstack.c: Include "check-execstack.h".
84531 (main): Revert last change.
84532 (handle_file): Return zero if GNU_STACK is absent and
84533 DEFAULT_STACK_PERMS doesn't include PF_X.
84534
84535 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84536
84537 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84538 in child fails because the descriptor is already closed.
84539 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84540 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84542
84543 [BZ #12397]
84544 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84545 syscall.
84546
84547 [BZ #10484]
84548 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84549 temporary buffer used to handle multi lookups locally.
84550 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84551
84552 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84553
84554 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84555 loader is ld.so.
84556
84557 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84558
84559 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84560 alignment for SSE2.
84561
84562 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84563
84564 [BZ #12394]
84565 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84566 characters. When rounding increased number of integer digits recompute
84567 number of groups.
84568 * stdio-common/tst-grouping.c: New file.
84569 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84570
84571 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84572
84573 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84574 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84575
84576 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84577 void.
84578 * bits/select.h: Likewise.
84579
84580 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84581
84582 * po/ja.po: Update from translation team.
84583
84584 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84585
84586 [BZ #11155]
84587 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84588 implementation just like for lxstat, fxstatat, et al.
84589
84590 2010-12-27 Jim Meyering <meyering@redhat.com>
84591
84592 [BZ #12348]
84593 * posix/regexec.c (build_trtable): Return failure indication upon
84594 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84595
84596 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84597
84598 [BZ #12201]
84599 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84600 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84603
84604 [BZ #12207]
84605 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84606
84607 [BZ #12204]
84608 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84609 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84610
84611 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84612
84613 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84614 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84615 script has SORT_BY_INIT_PRIORITY.
84616 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84617 NO_CTORS_DTORS_SECTIONS is defined.
84618 * elf/soinit.c: Likewise.
84619 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84620 NO_CTORS_DTORS_SECTIONS is defined.
84621 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84622 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84623 * sysdeps/sh/init-first.c: Likewise.
84624 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84625
84626 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84627
84628 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84629 always use the slow path.
84630
84631 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84632
84633 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84634 similar rule which adds the sysdep directories to the header search in
84635 order to pick up the correct platform stackinfo.h.
84636 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84637 perform test if it is, otherwise return successfully without testing.
84638 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84639 DEFAULT_STACK_PERMS define in stackinfo.h.
84640 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84641 defined in stackinfo.h.
84642 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84643 DEFAULT_STACK_PERMS defined in stackinfo.h.
84644 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84645 * sysdeps/ia64/stackinfo.h: Likewise.
84646 * sysdeps/s390/stackinfo.h: Likewise.
84647 * sysdeps/sh/stackinfo.h: Likewise.
84648 * sysdeps/sparc/stackinfo.h: Likewise.
84649 * sysdeps/x86_64/stackinfo.h: Likewise.
84650 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84651 PF_X for powerpc64. Retain PF_X for powerpc32.
84652
84653 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84654
84655 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84656 accurately.
84657 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84658 GETDENTS_64BIT_ALIGNED.
84659
84660 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84661
84662 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84663
84664 2010-12-10 Andreas Schwab <schwab@redhat.com>
84665
84666 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84667 _GNU_SOURCE.
84668
84669 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84670 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84671 Remove __restrict.
84672 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84673 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84674
84675 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84676
84677 [BZ #11655]
84678 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84679 are initialized.
84680
84681 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84682
84683 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84684
84685 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84686
84687 * po/it.po: Update from translation team.
84688
84689 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84690
84691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84692 unused codes.
84693
84694 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84695
84696 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84697
84698 2010-11-24 Andreas Schwab <schwab@redhat.com>
84699
84700 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84701 specially.
84702 (gaih_getanswer_slice): Likewise.
84703
84704 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84705
84706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84707
84708 2010-05-31 Petr Baudis <pasky@suse.cz>
84709
84710 [BZ #11149]
84711 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84712 silently even in the chroot mode.
84713
84714 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84715
84716 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84717 last patch a bit. Pretty printing
84718
84719 2010-05-31 Petr Baudis <pasky@suse.cz>
84720
84721 [BZ #10085]
84722 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84723 initialization of skip_initgroups_dyn.
84724
84725 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84726
84727 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84729
84730 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84731
84732 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84733
84734 2010-11-11 Andreas Schwab <schwab@redhat.com>
84735
84736 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84737 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84738 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84739 ($(objpfx)tst-fnmatch-mem): New rule.
84740 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84741 * posix/tst-fnmatch.c (main): Call mtrace.
84742
84743 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84744
84745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84746 Support Intel processor model 6 and model 0x2c.
84747
84748 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84749
84750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84751 signed comparison.
84752
84753 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84754
84755 [BZ #12205]
84756 * string/test-strncasecmp.c (check_result): New function.
84757 (do_one_test): Use it.
84758 (check1): New function.
84759 (test_main): Use it.
84760 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84761 Support strcasecmp and strncasecmp.
84762
84763 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84764
84765 [BZ #12194]
84766 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84768
84769 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84770
84771 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84772 IFUNC support.
84773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84774 memset-x86-64.
84775 * sysdeps/x86_64/multiarch/bzero.S: New file.
84776 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84777 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84778 * sysdeps/x86_64/multiarch/memset.S: New file.
84779 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84781 Set bit_Prefer_SSE_for_memop for Intel processors.
84782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84783 Define.
84784 (index_Prefer_SSE_for_memop): Define.
84785 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84786
84787 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84788
84789 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84791
84792 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84793
84794 [BZ #12191]
84795 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84796 (__x86_64_raw_data_cache_size_half): Likewise.
84797 (__x86_64_raw_shared_cache_size): Likewise.
84798 (__x86_64_raw_shared_cache_size_half): Likewise.
84799
84800 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84801 (__x86_64_raw_data_cache_size_half): Likewise.
84802 (__x86_64_raw_shared_cache_size): Likewise.
84803 (__x86_64_raw_shared_cache_size_half): Likewise.
84804 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84805 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84806 and __x86_64_raw_shared_cache_size_half. Round
84807 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84808 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84809 to multiple of 256 bytes.
84810
84811 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84812
84813 [BZ #12167]
84814 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84815 of inacessible symlinks. Verify result of symlink before returning it.
84816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84817 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84818
84819 2010-10-28 Erich Ritz <erichritz@gmail.com>
84820
84821 * math/math.h (isinf): Fix typo in comment.
84822
84823 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84824
84825 * po/da.po: Update from translation team.
84826
84827 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84828
84829 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84830 is added to the list.
84831
84832 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84833 Ulrich Drepper <drepper@gmail.com>
84834
84835 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84836 the global list here. Move code to...
84837 (_dl_add_to_namespace_list): ...here. New function.
84838 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84839 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84840 * elf/dl-load.c (lose): Don't remove the element from the list.
84841 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84842 (_dl_map_object): Likewise.
84843
84844 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84845
84846 [BZ #12159]
84847 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84848 into all bytes of SSE register.
84849 Patch by Richard Li <richardpku@gmail.com>.
84850
84851 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84852
84853 [BZ #12140]
84854 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84855 perturbing.
84856
84857 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84858
84859 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84860 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84861 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84864 submachine.
84865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84866
84867 2010-10-22 Andreas Schwab <schwab@redhat.com>
84868
84869 * include/dlfcn.h (__RTLD_SECURE): Define.
84870 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84871 mode & __RTLD_SECURE instead.
84872 (open_path): Rename preloaded parameter to secure.
84873 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84874 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84875 * elf/dl-deps.c (openaux): Likewise.
84876 * elf/rtld.c (struct map_args): Remove is_preloaded.
84877 (map_doit): Don't use it.
84878 (dl_main): Likewise.
84879 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84880 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84881
84882 2010-09-09 Andreas Schwab <schwab@redhat.com>
84883
84884 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84885 (sysd-rules-targets): Remove duplicates.
84886 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84887 rtld-%.$o dependency.
84888
84889 2010-10-18 Andreas Schwab <schwab@redhat.com>
84890
84891 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84892 _dl_map_object do it.
84893
84894 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84895
84896 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84897 fast fma builtins, define the macros in the C99 standard.
84898 (FP_FAST_FMAF): Likewise.
84899 (FP_FAST_FMAL): Likewise.
84900 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84901
84902 * bits/mathdef.h: Update copyright year.
84903 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84904
84905 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84906
84907 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84908 builtins, define the macros in the C99 standard.
84909 (FP_FAST_FMAF): Likewise.
84910 (FP_FAST_FMAL): Likewise.
84911 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84912 multiply/add.
84913 (FP_FAST_FMAF): Likewise.
84914
84915 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84916
84917 [BZ #3268]
84918 * math/libm-test.inc (fma_test): Some new testcases.
84919 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84920 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84921 y and infinite z. Do multiplication by C already in long double.
84922 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84924 y and infinite z. Do bitwise or of inexact bit into u.d.
84925 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84926 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84927 * sysdeps/i386/fpu/s_fma.S: Removed.
84928 * sysdeps/i386/fpu/s_fmal.S: Removed.
84929
84930 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84931
84932 [BZ #3268]
84933 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84935 computation is not scheduled after fetestexcept. Fix value
84936 of minimum denormal long double.
84937
84938 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84939
84940 [BZ #3268]
84941 * math/libm-test.inc (fma_test): Add some more tests.
84942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84943 correctly.
84944
84945 2010-10-15 Andreas Schwab <schwab@redhat.com>
84946
84947 * scripts/data/localplt-s390-linux-gnu.data: New file.
84948 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84949
84950 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84951
84952 [BZ #3268]
84953 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84954 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84955 instead of dbl-64.
84956 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84957 inlines.
84958 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84960 if one of x and y is very large and the other is subnormal.
84961 * sysdeps/s390/fpu/s_fmaf.c: New file.
84962 * sysdeps/s390/fpu/s_fma.c: New file.
84963 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84964 * sysdeps/powerpc/fpu/s_fma.S: New file.
84965 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84966 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84967 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84968
84969 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84970
84971 [BZ #3268]
84972 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84973 fma tests.
84974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84975 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84976 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84977 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84978 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84979 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84980 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84981
84982 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84983
84984 [BZ #12078]
84985 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84986 * posix/bug-regex31.input: Add test case.
84987
84988 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84989
84990 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84991 * posix/bug-regex31.input: New file.
84992
84993 [BZ #12078]
84994 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84995 (parse_sub_exp): Fix last change, use postorder.
84996
84997 * posix/bug-regex31.c: New file.
84998 * posix/Makefile: Add rules to build and run bug-regex31.
84999
85000 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85001
85002 [BZ #12078]
85003 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85004
85005 [BZ #12108]
85006 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85007 to have entries in sys_siglist.
85008
85009 [BZ #12093]
85010 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85011 be NULL.
85012
85013 2010-10-07 Jakub Jelinek <jakub@redhat.com>
85014
85015 [BZ #3268]
85016 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85017 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85018 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85019 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85020 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85021 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85022 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85023 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85024 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85025 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85026 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85027 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85028 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85029 * math/ftestexcept.c (fetestexcept): Likewise.
85030 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85031 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85032 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85033 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85034 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85035 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85037
85038 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85039
85040 [BZ #12107]
85041 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85042 newline.
85043
85044 2010-10-06 Ulrich Drepper <drepper@gmail.com>
85045
85046 * string/bug-strstr1.c: New file.
85047 * string/Makefile: Add rules to build and run bug-strstr1.
85048
85049 2010-10-05 Eric Blake <eblake@redhat.com>
85050
85051 [BZ #12092]
85052 * string/str-two-way.h (two_way_long_needle): Always clear memory
85053 when skipping input due to the shift table.
85054
85055 2010-10-03 Ulrich Drepper <drepper@gmail.com>
85056
85057 [BZ #12005]
85058 * malloc/mcheck.c: Handle large requests.
85059
85060 [BZ #12077]
85061 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85062 for strncmp and strncasecmp.
85063 * string/stratcliff.c: Add tests for strcmp and strncmp.
85064 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85065
85066 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85067
85068 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85069 __set_fpscr.
85070
85071 2010-09-30 Andreas Jaeger <aj@suse.de>
85072
85073 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85074 (CGROUP_SUPER_MAGIC): Define.
85075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85076 Handle btrfs and cgroup file systems.
85077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85078 Likewise.
85079
85080 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
85081
85082 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85083 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85084
85085 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85086
85087 [BZ #12067]
85088 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85089 trying to locate the ELF header.
85090
85091 2010-09-27 Andreas Schwab <schwab@redhat.com>
85092
85093 [BZ #11611]
85094 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85095 Mask out sign-bit copies when constructing f_fsid.
85096
85097 2010-09-24 Petr Baudis <pasky@suse.cz>
85098
85099 * debug/stack_chk_fail_local.c: Add missing licence exception.
85100 * debug/warning-nop.c: Likewise.
85101
85102 2010-09-15 Joseph Myers <joseph@codesourcery.com>
85103
85104 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85105 implementing getdents64 using getdents syscall, set d_type if
85106 __ASSUME_GETDENTS32_D_TYPE.
85107
85108 2010-09-16 Andreas Schwab <schwab@redhat.com>
85109
85110 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85111 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85112
85113 2010-09-21 Ulrich Drepper <drepper@redhat.com>
85114
85115 [BZ #12037]
85116 * posix/unistd.h: Undo change of feature selection for ftruncate from
85117 2010-01-11.
85118
85119 2010-09-20 Ulrich Drepper <drepper@redhat.com>
85120
85121 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85122 detection.
85123
85124 2010-09-20 Andreas Schwab <schwab@redhat.com>
85125
85126 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85127 fanotify_mark.
85128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85129
85130 2010-09-14 Andreas Schwab <schwab@redhat.com>
85131
85132 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85133 variables after CHECK_SP call.
85134 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85135
85136 2010-09-13 Andreas Schwab <schwab@redhat.com>
85137 Ulrich Drepper <drepper@redhat.com>
85138
85139 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85140 re-relocationg ld.so.
85141 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85142 _dl_init_paths call.
85143 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
85144 here anymore.
85145
85146 2010-09-14 Ulrich Drepper <drepper@redhat.com>
85147
85148 * resolv/res_init.c (__res_vinit): Count the default server we added.
85149
85150 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
85151 Ulrich Drepper <drepper@redhat.com>
85152
85153 [BZ #11968]
85154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85155 (____longjmp_chk): Use %ebx for saving value across system call.
85156 Add unwind info.
85157
85158 2010-09-06 Andreas Schwab <schwab@redhat.com>
85159
85160 * manual/Makefile: Don't mix pattern rules with normal rules.
85161
85162 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
85163
85164 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85165 operation.
85166 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85167 * libio/iofopncook.c (_IO_cookie_init): Likewise.
85168 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85169 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85171 Likewise.
85172
85173 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85174
85175 [BZ #11979]
85176 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85177 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85178
85179 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85180
85181 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85182 * sysdeps/x86_64/addmul_1.S: Likewise.
85183 * sysdeps/x86_64/lshift.S: Likewise.
85184 * sysdeps/x86_64/mul_1.S: Likewise.
85185 * sysdeps/x86_64/rshift.S: Likewise.
85186 * sysdeps/x86_64/sub_n.S: Likewise.
85187 * sysdeps/x86_64/submul_1.S: Likewise.
85188
85189 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85190
85191 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85192 Define __sched_param instead of SCHED_* and sched_param when
85193 <bits/sched.h> is included with __need_schedparam defined.
85194 * bits/sched.h [__need_schedparam]
85195 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85196 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85197 (__defined_schedparam): Define to 1.
85198 (__sched_param): New structure, identical to sched_param.
85199 (__need_schedparam): Undefine.
85200
85201 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85202
85203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85204 (epoll_create1): Declare.
85205
85206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85207
85208 2010-08-31 Andreas Schwab <schwab@redhat.com>
85209
85210 [BZ #7066]
85211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85212 shifting retval into place.
85213
85214 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85215
85216 * nis/rpcsvc/nis.h: Update copyright notice.
85217 * nis/rpcsvc/nis.x: Likewise.
85218 * nis/rpcsvc/nis_callback.h: Likewise.
85219 * nis/rpcsvc/nis_callback.x: Likewise.
85220 * nis/rpcsvc/nis_object.x: Likewise.
85221 * nis/rpcsvc/nis_tags.h: Likewise.
85222 * nis/rpcsvc/yp.h: Likewise.
85223 * nis/rpcsvc/yp.x: Likewise.
85224 * nis/rpcsvc/ypupd.h: Likewise.
85225 * nis/yp_xdr.c: Likewise.
85226 * nis/ypupdate_xdr.c: Likewise.
85227
85228 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85229 mainly the body of pmap_getport. Add parameters to specify timeouts.
85230 (pmap_getport): Use __libc_rpc_getport.
85231 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85232 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85233 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85234
85235 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85236
85237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85238 fanotify_mark.
85239
85240 2010-08-27 Roland McGrath <roland@redhat.com>
85241
85242 * sysdeps/i386/i686/multiarch/Makefile
85243 (CFLAGS-varshift.c): New variable.
85244
85245 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85246
85247 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85248 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85249
85250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85251
85252 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85253
85254 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85255
85256 * sysdeps/x86_64/strlen.S: Unroll the loop.
85257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85258 strlen-sse2 strlen-sse2-bsf.
85259 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85260 __strlen_no_bsf if bit_Slow_BSF is set.
85261 (__strlen_sse42): Removed.
85262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85263 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85264
85265 2010-08-25 Roland McGrath <roland@redhat.com>
85266
85267 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85268 * sysdeps/x86_64/multiarch/varshift.c: New file.
85269 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85270 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85271 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85272 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85273
85274 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85275
85276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85277 strlen-sse2 strlen-sse2-bsf.
85278 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85279 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85280 (__strlen_sse2): Removed.
85281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85284 bit_Slow_BSF for Atom.
85285 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85286 (index_Slow_BSF): Define.
85287 (HAS_SLOW_BSF): Define.
85288
85289 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85290
85291 [BZ #10851]
85292 * resolv/res_init.c (__res_vinit): When no server address at all
85293 is given default to loopback.
85294
85295 2010-08-24 Roland McGrath <roland@redhat.com>
85296
85297 * configure.in: Remove config-name.h generation.
85298 * configure: Regenerated.
85299 * config-name.in: File removed.
85300 * scripts/config-uname.sh: New file.
85301 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85302 ($(objdir)config-name.h): New target.
85303
85304 * sunrpc/rpc_parse.h: Avoid nested comment.
85305
85306 2010-08-24 Richard Henderson <rth@redhat.com>
85307 Ulrich Drepper <drepper@redhat.com>
85308 H.J. Lu <hongjiu.lu@intel.com>
85309
85310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85312 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85313 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85314 _mm_alignr_epi8 with _mm_loadu_si128.
85315 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85316 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85317 (__m128i_shift_right): Removed.
85318 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85319 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85320 * sysdeps/x86_64/multiarch/varshift.h: New file.
85321 * sysdeps/x86_64/multiarch/varshift.S: New file.
85322
85323 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85324
85325 * configure.in: Move assembler checks to before sysdep dir checking.
85326
85327 2010-08-20 Petr Baudis <pasky@suse.cz>
85328
85329 * LICENSES: Sync the sunrpc license.
85330
85331 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85332
85333 * sunrpc/auth_des.c: Update copyright notice once again.
85334 * sunrpc/auth_none.c: Likewise.
85335 * sunrpc/auth_unix.c: Likewise.
85336 * sunrpc/authdes_prot.c: Likewise.
85337 * sunrpc/authuxprot.c: Likewise.
85338 * sunrpc/bindrsvprt.c: Likewise.
85339 * sunrpc/clnt_gen.c: Likewise.
85340 * sunrpc/clnt_perr.c: Likewise.
85341 * sunrpc/clnt_raw.c: Likewise.
85342 * sunrpc/clnt_simp.c: Likewise.
85343 * sunrpc/clnt_tcp.c: Likewise.
85344 * sunrpc/clnt_udp.c: Likewise.
85345 * sunrpc/clnt_unix.c: Likewise.
85346 * sunrpc/des_crypt.c: Likewise.
85347 * sunrpc/des_soft.c: Likewise.
85348 * sunrpc/get_myaddr.c: Likewise.
85349 * sunrpc/getrpcport.c: Likewise.
85350 * sunrpc/key_call.c: Likewise.
85351 * sunrpc/key_prot.c: Likewise.
85352 * sunrpc/openchild.c: Likewise.
85353 * sunrpc/pm_getmaps.c: Likewise.
85354 * sunrpc/pm_getport.c: Likewise.
85355 * sunrpc/pmap_clnt.c: Likewise.
85356 * sunrpc/pmap_prot.c: Likewise.
85357 * sunrpc/pmap_prot2.c: Likewise.
85358 * sunrpc/pmap_rmt.c: Likewise.
85359 * sunrpc/rpc/auth.h: Likewise.
85360 * sunrpc/rpc/auth_unix.h: Likewise.
85361 * sunrpc/rpc/clnt.h: Likewise.
85362 * sunrpc/rpc/des_crypt.h: Likewise.
85363 * sunrpc/rpc/key_prot.h: Likewise.
85364 * sunrpc/rpc/netdb.h: Likewise.
85365 * sunrpc/rpc/pmap_clnt.h: Likewise.
85366 * sunrpc/rpc/pmap_prot.h: Likewise.
85367 * sunrpc/rpc/pmap_rmt.h: Likewise.
85368 * sunrpc/rpc/rpc.h: Likewise.
85369 * sunrpc/rpc/rpc_des.h: Likewise.
85370 * sunrpc/rpc/rpc_msg.h: Likewise.
85371 * sunrpc/rpc/svc.h: Likewise.
85372 * sunrpc/rpc/svc_auth.h: Likewise.
85373 * sunrpc/rpc/types.h: Likewise.
85374 * sunrpc/rpc/xdr.h: Likewise.
85375 * sunrpc/rpc_clntout.c: Likewise.
85376 * sunrpc/rpc_cmsg.c: Likewise.
85377 * sunrpc/rpc_common.c: Likewise.
85378 * sunrpc/rpc_cout.c: Likewise.
85379 * sunrpc/rpc_dtable.c: Likewise.
85380 * sunrpc/rpc_hout.c: Likewise.
85381 * sunrpc/rpc_main.c: Likewise.
85382 * sunrpc/rpc_parse.c: Likewise.
85383 * sunrpc/rpc_parse.h: Likewise.
85384 * sunrpc/rpc_prot.c: Likewise.
85385 * sunrpc/rpc_sample.c: Likewise.
85386 * sunrpc/rpc_scan.c: Likewise.
85387 * sunrpc/rpc_scan.h: Likewise.
85388 * sunrpc/rpc_svcout.c: Likewise.
85389 * sunrpc/rpc_tblout.c: Likewise.
85390 * sunrpc/rpc_util.c: Likewise.
85391 * sunrpc/rpc_util.h: Likewise.
85392 * sunrpc/rpcinfo.c: Likewise.
85393 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85394 * sunrpc/rpcsvc/key_prot.x: Likewise.
85395 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85396 * sunrpc/rpcsvc/mount.x: Likewise.
85397 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85398 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85399 * sunrpc/rpcsvc/rex.x: Likewise.
85400 * sunrpc/rpcsvc/rstat.x: Likewise.
85401 * sunrpc/rpcsvc/rusers.x: Likewise.
85402 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85403 * sunrpc/rpcsvc/spray.x: Likewise.
85404 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85405 * sunrpc/rtime.c: Likewise.
85406 * sunrpc/svc.c: Likewise.
85407 * sunrpc/svc_auth.c: Likewise.
85408 * sunrpc/svc_authux.c: Likewise.
85409 * sunrpc/svc_raw.c: Likewise.
85410 * sunrpc/svc_run.c: Likewise.
85411 * sunrpc/svc_simple.c: Likewise.
85412 * sunrpc/svc_tcp.c: Likewise.
85413 * sunrpc/svc_udp.c: Likewise.
85414 * sunrpc/svc_unix.c: Likewise.
85415 * sunrpc/svcauth_des.c: Likewise.
85416 * sunrpc/xcrypt.c: Likewise.
85417 * sunrpc/xdr.c: Likewise.
85418 * sunrpc/xdr_array.c: Likewise.
85419 * sunrpc/xdr_float.c: Likewise.
85420 * sunrpc/xdr_mem.c: Likewise.
85421 * sunrpc/xdr_rec.c: Likewise.
85422 * sunrpc/xdr_ref.c: Likewise.
85423 * sunrpc/xdr_sizeof.c: Likewise.
85424 * sunrpc/xdr_stdio.c: Likewise.
85425
85426 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85427 handling.
85428
85429 2010-08-19 Andreas Schwab <schwab@redhat.com>
85430
85431 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85432
85433 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85434
85435 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85438 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85439 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85440 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85442 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85445 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85447 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85448 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85449
85450 2010-07-26 Anton Blanchard <anton@samba.org>
85451
85452 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85453 * malloc/arena.c (heap_trim): Likewise.
85454
85455 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85456
85457 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85458 here. Not...
85459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85460 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85461
85462 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85463
85464 * sysdeps/i386/elf/Makefile: New file.
85465
85466 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85467
85468 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85469 from fanotify_init.
85470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85472
85473 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85474
85475 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85476 of strncasecmp_l.
85477 * sysdeps/multiarch/strcmp.S: Likewise.
85478
85479 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85480
85481 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85482 strncase_l-nonascii.
85483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85484 Add strncase_l-ssse3.
85485 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85486 * sysdeps/x86_64/strcmp.S: Likewise.
85487 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85488 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85489 * sysdeps/x86_64/strncase.S: New file.
85490 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85491 * sysdeps/x86_64/strncase_l.S: New file.
85492 * string/Makefile (strop-tests): Add strncasecmp.
85493 * string/test-strncasecmp.c: New file.
85494
85495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85496 warning.
85497
85498 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85500
85501 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85502
85503 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85504
85505 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85506
85507 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85509 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85510
85511 2010-05-01 Alan Modra <amodra@gmail.com>
85512
85513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85514 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85515 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85516 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85517 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85518 tidying. Don't tail-call __sigjmp_save for static lib.
85519 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85520 save location.
85521 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85522 (CALL_MCOUNT): Add eh info, and nop after bl.
85523 (TAIL_CALL_SYSCALL_ERROR): New macro.
85524 (PSEUDO_RET): Use it.
85525 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85526 Correct save location of integer regs and cr.
85527 (_dl_profile_resolve): Correct cr save location. Delete nops
85528 after bl when SHARED. Reduce cfi size a little by better
85529 placement of cfi directives.
85530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85531 make a stack frame. Instead use parm save area as a temp.
85532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85533 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85535 Don't make a stack frame for parent, use parm save area.
85536 Increase child stack frame to 112 bytes. Don't save unused reg,
85537 and adjust reg usage. Set up cfi on error recovery and
85538 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85540 (__makecontext): Add dummy nop after jump to exit.
85541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85542 Use correct parm save area and cr save, reduce stack frame.
85543 Correct cfi for possible PSEUDO_RET frame setup.
85544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85545 Branch to local label emitted by PSEUDO_RET rather than
85546 __syscall_error.
85547
85548 2010-08-12 Andreas Schwab <schwab@redhat.com>
85549
85550 [BZ #11904]
85551 * locale/programs/locale.c (print_assignment): New function.
85552 (show_locale_vars): Use it.
85553
85554 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85555
85556 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85557 field.
85558 (struct statfs64): Likewise.
85559 (_STATFS_F_FLAGS): Define.
85560 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85562 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85563 (ST_VALID): Define locally.
85564 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85565 __statvfs_getflags, use the provided value.
85566 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85567 __ASSUME_STATFS_F_FLAGS.
85568
85569 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85570
85571 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85572 Add sys/fanotify.h.
85573 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85574 fanotify_mask for GLIBC_2.13.
85575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85576 fanotify_init and fanotify_mark.
85577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85578 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85579
85580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85581 Add prlimit.
85582 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85583 prlimit64 for GLIBC_2.13.
85584 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85585 prlimit64.
85586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85587 syscall.
85588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85589 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85590 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85591 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85593 add prlimit alias.
85594 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85595
85596 [BZ #11903]
85597 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85598 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85599
85600 * nss/Makefile: Add rules to build and run tst-nss-test1.
85601 * shlib-versions: Add entry for libnss_test1.
85602 * nss/nss_test1.c: New file.
85603 * nss/tst-nss-test1.c: New file.
85604
85605 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85606 (__nss_configure_lookup): Set appropriate entry in
85607 __nss_configure_lookup to true.
85608 * nss/nsswitch.h: Define enum with indeces of databases in
85609 databases and __nss_database_custom arrays. Declare
85610 __nss_database_custom.
85611 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85612 to avoid using nscd when custom rules are installed.
85613 * nss/getXXbyYY_r.c: Likewise.
85614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85615
85616 * nss/nss_files/files-parse.c: Whitespace fixes.
85617
85618 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85619
85620 [BZ #11883]
85621 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85622 * posix/fnmatch_loop.c: Likewise.
85623
85624 2010-07-17 Andi Kleen <ak@linux.intel.com>
85625
85626 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85627 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85628 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85629 * Versions.def [GLIBC_2.13]: Add.
85630
85631 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85632
85633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85634 Also fail if tpwd after pwuid call is NULL.
85635
85636 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85637
85638 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85639 when converting to ms.
85640
85641 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85642
85643 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85644 EOPNOTSUPP errors with ENOTTY.
85645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85646 EOPNOTSUPP errors with ENOTTY.
85647
85648 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85649
85650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85651 Add strcasecmp_l-ssse3.
85652 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85653 strcasecmp.
85654 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85655 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85657
85658 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85659
85660 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85661
85662 * string/Makefile (strop-tests): Add strcasecmp.
85663 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85664 strcasecmp_l-nonascii.
85665 (gen-as-const-headers): Add locale-defines.sym.
85666 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85667 * sysdeps/x86_64/strcasecmp.S: New file.
85668 * sysdeps/x86_64/strcasecmp_l.S: New file.
85669 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85670 * sysdeps/x86_64/locale-defines.sym: New file.
85671 * string/test-strcasecmp.c: New file.
85672
85673 * string/test-strcasestr.c: Test both ends of the range of characters.
85674 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85675
85676 2010-07-29 Roland McGrath <roland@redhat.com>
85677
85678 [BZ #11856]
85679 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85680
85681 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85682
85683 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85684 for ld.so.
85685
85686 2010-07-27 Andreas Schwab <schwab@redhat.com>
85687
85688 * manual/memory.texi (Malloc Tunable Parameters): Document
85689 M_PERTURB.
85690
85691 2010-07-26 Roland McGrath <roland@redhat.com>
85692
85693 [BZ #11840]
85694 * configure.in (-fgnu89-inline check): Set and substitute
85695 gnu89_inline, not libc_cv_gnu89_inline.
85696 * configure: Regenerated.
85697 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85698
85699 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85700
85701 * string/test-strnlen.c: New file.
85702 * string/Makefile (strop-tests): Add strnlen.
85703 * string/tester.c (test_strnlen): Add a few more test cases.
85704 * string/tst-strlen.c: Better error reporting.
85705
85706 * sysdeps/x86_64/strnlen.S: New file.
85707
85708 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85709
85710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85711 lower-latency instructions.
85712
85713 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85714
85715 * string/test-strcasestr.c: New file.
85716 * string/test-strstr.c: New file.
85717 * string/Makefile (strop-tests): Add strstr and strcasestr.
85718 * string/str-two-way.h: Don't undefine MAX.
85719 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85720
85721 2010-07-21 Andreas Schwab <schwab@redhat.com>
85722
85723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85724 strcasestr-nonascii.
85725 (CFLAGS-strcasestr-nonascii.c): Define.
85726 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85728 Remove unused attribute.
85729
85730 2010-07-20 Roland McGrath <roland@redhat.com>
85731
85732 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85733 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85734 ld.so.cache was broken. With it, there is no way to disable dsocaps
85735 like LD_HWCAP_MASK can disable hwcaps.
85736
85737 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85738
85739 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85740
85741 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85742
85743 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85744 call in strcasestr.
85745 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85746 __strcasestr_sse42_nonascii.
85747 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85748 strcasestr-nonascii.c.
85749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85750
85751 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85752
85753 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85756 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85757
85758 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85759
85760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85761 fcntl.
85762
85763 2010-07-06 Andreas Schwab <schwab@redhat.com>
85764
85765 [BZ #11577]
85766 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85767 dl_signal_cerror.
85768
85769 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85770
85771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85772 _PC_PIPE_BUF using F_GETPIPE_SZ.
85773
85774 2010-07-05 Roland McGrath <roland@redhat.com>
85775
85776 * manual/arith.texi (Rounding Functions): Fix rint description
85777 implicit in round description.
85778
85779 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85780
85781 * elf/Makefile: Fix linking for a few tests to make recent linker
85782 happy.
85783
85784 2010-06-30 Andreas Schwab <schwab@redhat.com>
85785
85786 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85787 $(common-objpfx)libc_nonshared.a.
85788
85789 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85790
85791 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85792 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85793 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85794 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85795 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85796 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85797 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85798 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85813 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85814 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85815 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85816 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85817 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85818 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85819 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85820 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85821 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85822 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85823 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85824 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85839
85840 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85841
85842 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85843 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85844 * string/memmove.c (memmove): Renamed to ...
85845 (MEMMOVE): ...this. Default to memmove.
85846 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85847 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85848 (END_CHK): Define.
85849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85850 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85851 mempcpy-ssse3-back memmove-ssse3-back.
85852 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85855 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85856 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85857 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85858 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85859 * sysdeps/x86_64/multiarch/memmove.c: New file.
85860 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85861 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85862 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85863 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85866 Define.
85867 (index_Fast_Copy_Backward): Define.
85868 (HAS_ARCH_FEATURE): Define.
85869 (HAS_FAST_REP_STRING): Define.
85870 (HAS_FAST_COPY_BACKWARD): Define.
85871
85872 2010-06-21 Andreas Schwab <schwab@redhat.com>
85873
85874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85875 Restore proper fallback handling.
85876
85877 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85878
85879 [BZ #11701]
85880 * posix/group_member.c (__group_member): Correct checking loop.
85881
85882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85883 OOM in getpwuid_r correctly. Return error number when the caller
85884 should return, otherwise -1.
85885 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85886 call returning > 0 value.
85887 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85888
85889 2010-06-07 Andreas Schwab <schwab@redhat.com>
85890
85891 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85892 libc_nonshared.a from targets in modules-names.
85893
85894 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85895
85896 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85897 requires it.
85898
85899 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85900
85901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85905
85906 2010-06-02 Andreas Schwab <schwab@redhat.com>
85907
85908 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85909
85910 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85911
85912 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85913 and F_GETPIPE_SZ.
85914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85920
85921 2010-06-14 Roland McGrath <roland@redhat.com>
85922
85923 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85924
85925 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85926
85927 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85928 __REDIRECT followed by __THROW.
85929 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85930 * posix/getopt.h (getopt): Likewise.
85931
85932 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85933
85934 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85935 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85936 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85937 in AT_FLAGS.
85938 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85939 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85940
85941 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85942
85943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85944
85945 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85946
85947 [BZ #11640]
85948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85949 Properly check family and model.
85950
85951 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85952
85953 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85954
85955 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85956
85957 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85958
85959 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85960
85961 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85962 symbol reference.
85963
85964 2010-05-19 Andreas Schwab <schwab@redhat.com>
85965
85966 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85967 symbol reference.
85968
85969 2010-05-21 Andreas Schwab <schwab@redhat.com>
85970
85971 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85972 and internal_recvmmsg.
85973 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85974 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85976 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85977
85978 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85979 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85980 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85981
85982 2010-05-20 Andreas Schwab <schwab@redhat.com>
85983
85984 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85985
85986 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85987
85988 POWER7 optimizations.
85989 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85990 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85991
85992 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85993
85994 * version.h: Update for 2.13 development version.
85995
85996 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85997
85998 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85999 exceptions. Return 0.
86000
86001 2010-05-07 Roland McGrath <roland@redhat.com>
86002
86003 * elf/ldconfig.c (main): Add a const.
86004
86005 2010-05-06 Ulrich Drepper <drepper@redhat.com>
86006
86007 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86008 (args_options): Add no-idn option.
86009 (ahosts_keys_int): Add idn_flags to ai_flags.
86010 (parse_option): Handle 'i' option to clear idn_flags.
86011
86012 * malloc/malloc.c (_int_free): Possible race in the most recently
86013 added check. Only act on the data if no current modification
86014 happened.
86015
86016 See ChangeLog.17 for earlier changes.